View Single Post
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#999
Originally Posted by Garp View Post
......
root@garp-Lenovo-B590:/home/garp# ssh -i my_n9_identity root@192.168.2.15
Warning: Identity file my_n9_identity not accessible: No such file or directory.
The authenticity of host '192.168.2.15 (192.168.2.15)' can't be established.
......
Could be this reason above ^^

Where do you have the private key "my_n9_identity" ?
when linux says "No such file or directory" it usually means you have not specified where to look for the file in question...

Now I am going to take a really wild guess and say it is in your .ssh/ directory, as that is the customary place to put keys into

So, the reason it works with Nautilus is that it goes and looks for the keys in the default ssh directory, and finds it there.

On command line, you should maybe try something like:
"ssh -i ~/.ssh/my_n9_identity root@192.168.2.15"
 

The Following User Says Thank You to juiceme For This Useful Post: