get ssh to connect with out password

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have made an attempt to have ssh connect without requiring password.  I
tried on my own with out success.  I found this site which I thought had
pretty good instructions.  Unfortunately it didn't work on RH9.  I tried
both ssh2 options.

david

http://bumblebee.lcs.mit.edu/ssh2/

First, generate a public/private DSA key pair on Ooga.

  ooga% ssh-keygen -t dsa -f ~/.ssh/id_dsa

When you are asked for a passphrase, leave it empty. Now send the public
key to Booga.

  ooga% cd .ssh
  ooga% scp id_dsa.pub user@booga:~/.ssh

Next, log in to Booga and add the public key to the list of authorized
keys.

  ooga% ssh user@booga

  booga% cd .ssh
  booga% cat id_dsa.pub >> authorized_keys2
  booga% chmod 640 authorized_keys2
  booga% rm -f id_dsa.pub

Note that the filename is authorized_keys2, not authorized_keys. That's
it; you're ready to ssh from Ooga to Booga without having to enter a
password. 


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux