[Ilugc] LAM/MPI Setup
- From: karthik@xxxxxxxxxxxxx (Karthik)
- Date: Tue, 27 Jan 2004 18:37:53 +0530
On Wednesday 21 January 2004 16:48, 70uf33q Hu5541n wrote:
Also when I ssh <node> it asks the password but when I
enter teh password it says Login Incorrect
Try this, I got it from a site:
2) on each host create a ssh key
ssh-keygen -t rsa
3) copy the public key
eval `ssh-agent`
ssh-add # your passphrase
scp -p $HOME/.ssh/id_rsa.pub hostB:$HOME/.ssh/authorized_keys
scp -p hostB:$HOME/.ssh/id_rsa.pub $HOME/.ssh/authorized_keys # now no
password is required
4) test if ssh is work (without password)
from hostA ssh hostB (no password is required)
from hostB eval `ssh-agent`
ssh-add # your passphrase
ssh hostA (no password is required)
Hope that helps.
--
Karthik M
System Administrator - Infrastructure Team
SIP Technologies & Exports Limited,
G4, Elnet Software City, CPT Road,
Taramani, Chennai 600 113,
INDIA.
Phone: +91-44-22541401
+91-44-22541031
Fax: +91-44-22541475
Website:
http://www.siptech.com
.
Other related posts: