On Fri, 2003-05-30 at 19:39, Kalin Mintchev wrote:
> 
> hi all,
> 
> i'm trying to do an automated process of scp between 2 linux machines.
> i can't make it to work. here is what i've done so far:
> used ssh-keygen to make a new key with -t rsa (or rsa1)...
> when asked for passphrase - i leave it blank
> after that i scp the identity.pub to the .ssh dir of the user on the
> remote machine....
> 
> after that i try:
> scp -i identity moo.txt [EMAIL PROTECTED]:moo.txt
> 
> and i get promped for password....
> 
> i thought that the key is all one needs to automate the scp...
> how else can i avoid the password prompt?

the identity.pub contents need to be in a file named
~/.ssh/authorized_keys on later versions of openssh and
~/.ssh/authorized_keys2 on some of the earlier version that supported
protocol 2 keys.

Also the perms on the file has to be pretty tight with no group write
IIRC.

Try that and get back to us.

Bret 


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to