Home | Mirror | Search |
homepage: http://sshwindows.sourceforge.net/
config /etc/ssh/sshd_config
$ sudo vim /etc/ssh/sshd_config AuthorizedKeysFile %h/.ssh/authorized_keys $ sudo /etc/init.d/ssh reload
ssh-keygen
neo@master:~$ ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/home/neo/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/neo/.ssh/id_rsa. Your public key has been saved in /home/neo/.ssh/id_rsa.pub. The key fingerprint is: 98:35:81:56:fd:b5:87:e4:94:e4:54:b8:b9:0a:4e:80 neo@master
authorized_keys
$ mv .ssh/id_rsa.pub .ssh/authorized_keys
or
$ cat .ssh/id_rsa.pub > .ssh/authorized_keys
PuTTYgen
Load an existing private key file
to click 'Load' button and then open 'id_rsa'
'Save public key' and 'Save private key'
closing PuTTYgen
Pageant
opening Pageant
to click mouse right key and then select 'Add Key', opening above private key.
Putty
Host Name: your ip address
Connection -> Data -> Auto-login username: your username
Connection -> SSH -> Auth -> Allow agent forwarding, you must checked it
Now, You may click 'Open' to login linux system