in reply to Help in running ssh command on a remote machine
what he said. It's as simple as
then copy the key to the appropriate file on remote serverssh-keygen -t dsa
man ssh-keygen is your friend. the above command generates:
though the man page says authorized_keys my experience says authorized_keys2. Use protocol 2, as you will be when you use dsa. preferable$HOME/.ssh/id_dsa.pub Contains the protocol version 2 DSA public key for authentication. Th +e contents of this file should be added to $HOME/.ssh/authorized_keys + on all machines where the user wishes to log in using public key aut +hentication. There is no need to keep the contents of this file secr +et.
|
---|
In Section
Seekers of Perl Wisdom