Yang Feng's Blog

A blog about R, Latex and many other stuff.

Using SSH without password

Posted by yangfeng on September 21, 2010

Take the SSH Secure Shell Software as an example

To be more clear, three steps

1. First connect to the desired SSH server
2. Edit->Settings->Global Settings->User Authentication->Keys->Generate New->Next->RSA->Enter filename without entering comments and passphrase (Suppose the name is my_pub_key.pub)

->Click Upload Public Key->Select Destination Folder: .ssh

3. In linux server run the command
ssh-keygen -X -f ~/.ssh/my_pub_key.pub > ~/.ssh/authorized_keys

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.