ssh between 2 machine without password

Rushan Sobar Rushan at mec.com.jo
Sat Mar 5 12:34:57 UTC 2005


Hi,
on the following steps

to 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 at booga:~/.ssh 

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

  ooga% ssh user at booga 

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

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

what if i want to be able to ssh from Booga to Oooga without having to enter a password?

i mean the steps up enable to connect from Ooga to Booga without pass but from Booga to Ooga it ask for pass, i want 2 way without pass!!

Anyhelp?

-- 
This message has been scanned for viruses and
dangerous content by MEC E-Mail Scanner, and is
believed to be clean.
--
www.mec.com.jo




More information about the redhat-list mailing list