Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Help in running ssh command on a remote machine

by doc_faustroll (Scribe)
on Mar 27, 2008 at 23:34 UTC ( #676878=note: print w/replies, xml ) Need Help??


in reply to Help in running ssh command on a remote machine

what he said. It's as simple as

ssh-keygen -t dsa
then copy the key to the appropriate file on remote server

man ssh-keygen is your friend. the above command generates:

$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.
though the man page says authorized_keys my experience says authorized_keys2. Use protocol 2, as you will be when you use dsa. preferable

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://676878]
help
Chatterbox?
[Discipulus]: i think his vacuus, trombon like, absence of meaning, joined with a ostentatious style, after many years irritates the most
[erix]: easy to get wrong -- I guess that was sund's point, too :P
[Discipulus]: planetscape welcome back! (or is well comeback?)
[Discipulus]: fore every 2 good old monks that come back, we will accept 1 clinical
[planetscape]: Might be "well, come back!" Discipulus ;-)
[stonecolddevin]: that's a 2.0 k/d ratio, i'll take it

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (10)
As of 2017-06-22 21:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (530 votes). Check out past polls.