存档
一个偶然的机会,发现我从一台电脑的虚拟机中的ssh可以直接连到我的另一台服务器。 而我并没有在这个虚拟机中配置ssh key。另一台电脑就不行。 它是如何连上去的? ssh-v查到一段: debug1: Authentications that can continue: publickey,password debug1: Next authentication method: publickey debug1: Offering public key: debug1: Server accepts key: pkalg ssh-rsa blen 279debug1: Authentication succeeded (publickey). 而不行的电脑,信息是这样的: debug1: Authentications that can continue: publickey,password debug1: Next authentication method: publickey debug1: Trying private key: /home/swigger/.ssh/id_rsa debug1: Trying private key: /home/swigger/.ssh/id_dsa debug1: Trying [...]
五 20th, 2011 | Filed under 软件