开发者

sftp vs ssh public/private key (beginner)

开发者 https://www.devze.com 2023-02-07 21:59 出处:网络
I\'m given my public key开发者_开发知识库 to a server and now I have the ability to connect to it via sftp in nautilus. Is there a way for me to use those same credentials to ssh to the server through

I'm given my public key开发者_开发知识库 to a server and now I have the ability to connect to it via sftp in nautilus. Is there a way for me to use those same credentials to ssh to the server through terminal?


Yes. Add your public key to ~/.ssh/authorized_keys and that should do it (most of the times, depends on server settings).


Here is a tutorial for setting up the password-less ssh authentication:

http://manjeetdahiya.com/2011/03/03/passwordless-ssh-login/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号