I am successfully connecting without passwords or passphrases, by copying
the public keys
between servers, bit I would like to use the ssh-agent instead. 
I can get it to work ... I start the ssh-agent in the server by issuing the
"ssh-agent $SHELL"
command. Then I load the keys by issuing the ssh-add, and I can see them
when I list them
with ssh-add -l.   
The problem is, next time I try to connect, it ask me for the passphrase. It
does not seem to 
find the key store in the agent. 

Do I need to change the ssh_config on the client to ForwardAgent yes ?
What else am I doing wrong ?

-----Original Message-----
From: Rajarshi Guha [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 06, 2001 2:05 PM
To: Hampton, Paul
Cc: [EMAIL PROTECTED]
Subject: RE: passwd less ssh


On Thu, 6 Sep 2001, Hampton, Paul wrote:

> You need to run ssh-keygen from the server you are connecting from, copy
the
> public key to the file authorized_hosts or authorized_hosts2 on the server
> you are connecting to...


Hi,
  thanks for the info - I got it working. However it seems theres another
problem. I have a set  of machines which are on a 192.168.*.* network and
I need to be able to do ssh between them without passwd's. So I followed
the advice above, but it does'nt work!

Some facts regarding the network: the id_rsa.pub contains just the
hostname (*not* a FQDN) at the end, where as the HOSTNAME gives a
FQDN. Does this matter? Is gethostbyname() involved at any point? And if
so does it get the answer from $HOSTNAME or DNS? Because if the latter it
would not be able to get a reply from inside the internal net.

TIA, 
-------------------------------------------------------------------
Rajarshi Guha                  | email: [EMAIL PROTECTED]
Box 19                         | web  : www.rajarshi.outputto.com 
152 Davey Laboratory           | ph   : (814) 863 1222
Department of Chemistry        | ICQ  : 123242928
Pensylvania State University   | AIM  : LoverOfPanda
-------------------------------------------------------------------
GPG Fingerprint: E8F3 281F 93A9 C90C 853E  5136 8455 201B C92F F3E7
-------------------------------------------------------------------
Heisenberg may have slept here...

Confidentiality Notice: This e-mail message, including any attachments, is for the 
sole use of the intended recipient(s) and may contain confidential and privileged 
information. Any unauthorized review, use, disclosure or distribution is prohibited. 
If you are not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message.



Reply via email to