Configuring the SSH Client
The secure shell client ( ssh ), is a more secure alternative to rsh and is also used widely. Depending on the specific protocol and the version deployed, configuration involves a few steps. SSH1 and SSH2 are two current protocols. OpenSSH is an open implementation of the SSH2 protocol and is backwards compatible with the SSH1 protocol. To add a client machine, with respect to user configuration, the following steps are involved: 1.Generate a public-private key pair using ssh-keygen (or using a graphical user interface client). For example: ssh-keygen -t dsa where it creates a Digital Signature Authority (DSA) type key pair. 2.Place your public key on the remote host. 3.For SSH1 , insert the contents of the client ( ~/.ssh/identity.pub ) into the server ( ~/.ssh/authorized_keys ). 4.For SSH2 , insert the contents of the client ( ~/.ssh/id_dsa.pub ) into the server ( ~/.ssh/authorized_keys2 ). The client machine is now added to the access list and the user is no longer required to type in a password each time. For additional information, consult your system administrator or refer to your system documentation. Also please check the permissions on authorized_keys file and on the .ssh directory. It should be set to 700 when logged on as the user. chmod 700 .ssh chmod 700 authorized_keys |
||
|