# ssh-keygen -b 1024 -t dsashell Generating public/private dsa key pair.安全 Enter file in which to save the key (/root/.ssh/id_dsa): 服务器 Enter passphrase (empty for no passphrase): dom Enter same passphrase again: ssh Your identification has been saved in /root/.ssh/id_dsa.ide Your public key has been saved in /root/.ssh/id_dsa.pub.spa The key fingerprint is:code ...............................orm The key's randomart image is:ci ............................. |
The authenticity of host '192.168.1.202 (192.168.1.202)' can't be established. RSA key fingerprint is 46:8f:d3:43:db:52:b1:c2:16:99:cd:03:9b:3f:0c:e8. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.1.202' (RSA) to the list of known hosts. <user>@<host>'s password: <服务器口令> Now try logging into the machine, with "ssh '<user>@<host>'", and check in: .ssh/authorized_keys to make sure we haven't added extra keys that you weren't expecting. |
|