[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: scp issues
- From: Bret Hughes <bhughes elevating com>
- To: redhat-list redhat com
- Subject: Re: scp issues
- Date: Fri May 30 23:38:06 2003
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 myuser remote machine org: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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]