I use OpenSSH and never was able to get ssh-agent to work.  I resorted to
using passwordless keys.  On my own network this is a tenable solution, but
if I were to access from the outside world, I'd definitely have a passworded
key.

Drew
[EMAIL PROTECTED]

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Chuck Carson
Sent: Friday, January 12, 2001 9:26 AM
To: '[EMAIL PROTECTED]'
Subject: ssh-agent woes



I am trying to utilize the ssh-agent, ssh-add, ssh-keygen features of sshv2.
I am not sure if I am even doing this correctly, and the man pages are kind
of confusing.

I want to be able to ssh/scp to several machines and not be prompted for a
password. I have ran ssh-keygen, which created private and public key files.
I placed the contents of the public key into ${HOME}/.ssh/authorized_keys
for each host that I want to connect to. However, I am still prompted for a
password.

I then started looking at the ssh-agent and ssh-add commands, thinking this
was needed as well. I noticed that when I ran ssh-agent, it created a
process and tried to set some environment variables. However, these
variables were no present in my shells environment. So, I tried 'ssh-agent
-s' explicitly, which generates bourne shell output, and still nothing.

I am thinking bash is broken, this is a RH 6.2 machine.

Here are my versions:
[chuckc@logs .ssh]$ rpm --query -a | egrep "ssh|bash"
bash-1.14.7-22
bash2-2.03-8
openssh-2.1.1p1-1
openssh-clients-2.1.1p1-1
openssh-server-2.1.1p1-1

Am I doing something wrong?

Thanks,
CC



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to