Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • HI Archemar.. do you mean trying "ssh -i .ssh/id_rsa [email protected]" at client 192.168.12.10 with -i option is for server side file?? i have tried this option as well but no luck, and got same permission denied error. Commented Jun 30, 2020 at 10:01
  • id_rsa should be present on your client; as a default key name, you don't need to specify it with the -i option, although it will do no harm to do so. Commented Jun 30, 2020 at 10:32
  • -i will look for key at client side or server side?? Commented Jun 30, 2020 at 10:41
  • -i will look for a key on the client side. Your private key should be on the client; your public key concatenated onto the authorized_keys file on the server. Commented Jun 30, 2020 at 10:43
  • thanks.. could you please provide answer with server side steps & client side steps.. my ultimate goal is to access server(192.168.12.2) from client (192.168.12.10).. really appreciate your patience, please help. Commented Jun 30, 2020 at 10:51