Ssh

由 风中追风 在 02-27-2003 16:01 发表:

Ssh

用puttygen(SSH1(RSA))生成public key和private key,将public key拷贝到服务器/home/user/.ssh目录下并改名为authorized_keys,在/etc/ssh/ssh_config中PasswordAuthentication no和/etc/ssh/sshd_config中PasswordAuthentication no, 在客户端用putty就不能登录服务器,如果把PasswordAuthentication no改为PasswordAuthentication yes,在客户端就可以登录了,但是只需要输入用户密码就够了,并没有验证private key和passphrase。这是为什

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus