csshsetup.1 (2012 03)

c
csshsetup(1) csshsetup(1)
RSA key fingerprint is 65:22:fb:fa:fa:03:3d:14:16:4d:ff:39:65:3d:68:47.
Are you sure you want to continue connecting (yes/no)? no
Host key verification failed.
Failure: Unable to exchange keys with host10.company.com
Testing...
Success: host04.company.com -> host04.company.com
Success: host04.company.com -> host06.company.com
Success: host04.company.com -> host07.company.com
Success: host06.company.com -> host04.company.com
Success: host06.company.com -> host06.company.com
Success: host06.company.com -> host07.company.com
Success: host07.company.com -> host04.company.com
Success: host07.company.com -> host06.company.com
Success: host07.company.com -> host07.company.com
#
RESULT: The were two failures; the first was caused by failure to reach a specific host, and the second
was caused by a host-key verification failure (answered "no" when asked to add fingerprint).
Failure: host21.company.com is unreachable
Failure: Unable to exchange keys with host10.company.com We were successful in setting up user
authentication between the local host and two other remote hosts.
A test is performed when choosing the
-r option, and the following question is always asked: If asked,
enter password and/or add fingerprint for user@host.
In this example, we pass the remote hostname as an argument to the command. The example setup
exchanges ssh public keys between the local host and the remote host specified on the command line. We
perform a quick test to see if we can use ssh in non-interactive mode. The test was successful.
# csshsetup host09
If asked, enter password and/or add fingerprint for root@host09.company.com
The authenticity of host ’host09.company.com (01.234.5.66)’ can’t be established.
RSA key fingerprint is 54:96:5e:a9:e1:de:3c:46:e9:ba:9b:08:e3:c9:e9:88.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ’host09.company.com,01.234.5.66’ (RSA) to the list
of known hosts.
Password: enter password for the user here
#
# ssh host09 hostname
host09
#
FILES
The following files are modified or created when you use the RSA key-type option:
$HOME/.ssh/authorized_keys2
Contains the names of the host RSA public keys that can authenticate to this account.
$HOME/.ssh2/id_rsa
Contains the default RSA private key for the user.
$HOME/.ssh2/id_rsa.pub
Contains the default RSA public key for the user.
The following files are modified or created when you use the DSA
key-type option:
$HOME/.ssh/authorized_keys
Contains the names of the host DSA public keys that can authenticate to this account.
HP-UX 11i Version 3: March 2012 3 Hewlett-Packard Company 3