root@bt:/etc/ssh# sshd-generateGenerating public/private rsa1 key pair./etc/ssh/ssh_host_key already exists.Overwrite (y/n)? yYour identification has been saved in /etc/ssh/ssh_host_key.Your public key has been saved in /etc/ssh/ssh_host_key.pub.The key fingerprint is:31:ce:fd:3f:a9:5e:f5:b0:c0:88:99:3c:a7:06:31:5c root@btThe key's randomart image is:+--[RSA1 2048]----+| E || . . || + o || * B o || . S + o . .|| . + . . +.|| o . o..|| . oo || .o... |+-----------------+Generating public/private rsa key pair./etc/ssh/ssh_host_rsa_key already exists.Overwrite (y/n)? yYour identification has been saved in /etc/ssh/ssh_host_rsa_key.Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.The key fingerprint is:b4:09:bd:9d:1c:20:8e:45:f1:25:32:cb:69:95:fe:2e root@btThe key's randomart image is:+--[ RSA 2048]----+| .B.+.. || = X.+ || . B.+ . || . o.* o || S.+ || . || . || E . || . |+-----------------+Generating public/private dsa key pair./etc/ssh/ssh_host_dsa_key already exists.Overwrite (y/n)? yYour identification has been saved in /etc/ssh/ssh_host_dsa_key.Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub.The key fingerprint is:c8:8e:b6:24:c3:a1:e2:65:fa:b0:c4:45:27:ba:ef:c6 root@btThe key's randomart image is:+--[ DSA 1024]----+| || || o . || o o. . || ... o S ||.oo. o ||o==o+ . ||+ BE . || +++. |+-----------------+root@bt:/etc/ssh# /etc/init.d/ssh start* Starting OpenBSD Secure Shell server sshd [ OK ]
客户端用 SSH SECURE FILE TRANSFER CLIENT
用户名:root
密码:toor