On Fri, 12 Jan 2001, Chuck Carson wrote:
>
> 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?
>
I am having the same problem. Please see my post on "Using ssh-agent."
The only way I have found to get it to work is to redirect the output
to a file and to cut and paste each one of the statements to the command
line. Not exactly automatic.
I am running openssh-2.3.0p1.4 on a rh7.0 system.
Carey
--
======================================================================
<> Carey F. Cox, PhD | PHONE: (318) 257-3770 <>
<> Assistant Professor | FAX: (318) 257-2306 <>
<> Dept. of Mech. Eng. | EMAIL: [EMAIL PROTECTED] <>
<> Louisiana Tech University | WEB: http://www.latech.edu/~cfcox <>
======================================================================
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list