首页 > Linux操作系统 > Linux操作系统 > SSH PuttyGen
PuttyGen : generate public and private keys used to login Linux after configuration without password,convinent.
private key - keeped in localhost, and located into putty Authen.
public key - transmit to linux server,under /root/.ssh folder.
Then:
------------------------------------------------
vi /etc/ssh/sshd_config:
protocal 2
PubKeyAuthentiction yes
AuthorizedKeysFile .ssh/pubkey_filename
StrictModes no
:wq!
/etc/init.d/sshd reload
--------------------------------------------------
after above all,Linux can easilly logged in without passwd.
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/24123206/viewspace-702975/,如需转载,请注明出处,否则将追究法律责任。