Veritas Storage Foundation 5.1 SP1 Cluster File System Installation Guide (5900-1510, April 2011)
Configuring and enabling ssh
The ssh program enables you to log into and execute commands on a remote
system. ssh enables encrypted communications and an authentication process
between two untrusted hosts over an insecure network.
In this procedure, you first create a DSA key pair. From the key pair, you append
the public key from the source system to the authorized_keys file on the target
systems.
Read the ssh documentation and online manual pages before enabling ssh. Contact
your operating system support provider for issues regarding ssh configuration.
Visit the OpenSSH website that is located at: http://openssh.org to access online
manuals and other resources.
To create the DSA key pair
1
On the source system (system1), log in as root, and navigate to the root
directory.
system1 # cd /
2
To generate a DSA key pair on the source system, type the following command:
system1 # ssh-keygen -t dsa
System output similar to the following is displayed:
Generating public/private dsa key pair.
Enter file in which to save the key (//.ssh/id_dsa):
3
Press Enter to accept the default location of /.ssh/id_dsa.
Configuring the secure shell or the remote shell for communications
Configuring and enabling ssh
406