4. As a manager-level user on the client, run the following commands to establish a
trusted-host relationship (manager1 is used in the example in this step):
a. Copy the client key to /tmp on the SP.
# scp /etc/ssh_host_dsa_key.pub manager1@sp.test.com:/tmp
b. Authenticate yourself for the scp command by entering the password for your
manager-level user.
c. Add the client key to the set of trusted hosts for this SP.
# ssh manager1@sp.test.com access add trust -c
client.test.com\ -k /tmp/ssh_host_dsa_key.pub
d. Authenticate yourself for the SSH command.
From this point, any user with the same login on both sp.test.com and
client.test.com has access without requiring a password to the like-named
account on sp.test.com.
Generating a Hot-Key Pair on Windows
To set up your host-key pair:
1. Launch an SSH client.
On Windows, launch a Cygwin Bash shell. Scripting from a Windows client requires
you to install a Unix/Linux-on-Windows toolset that supports SSH. Refer to
"Configuring a Windows Client for Scripting" on page
2. Execute ssh-host-config to create both DSA and RSA keypairs:
/etc/ssh_host_dsa_key
/etc/ssh_host_dsa_key.pub
/etc/ssh_host_rsa_key
/etc/ssh_host_rsa_key.pub
The host-key pairs are created in /etc for Windows machines and in /etc/ssh on
Unix/Linux machines.
106
Sun Fire V20z and Sun Fire V40z Servers—Server Management Guide • July 2005
104.
Need help?
Do you have a question about the Fire V20z and is the answer not in the manual?