RH_Box1:

ssh-keygen -t rsa
cd ~/.ssh
cp id_rsa.pub authorized_keys
scp -r ~/.ssh RH_Box2:/home/your_username


- after the last command, two-way passwordless authentication is now
possible assuming hostkeys of RH_Box1 and RH_Box2 are in the
~/.ssh/known_hosts or the serverwide ssh_known_hosts file.

rowel

On Tue, 3 Sep 2002, juan carlo dela pena wrote:

> hi!
>   i have 2 redhat boxes and i want to transfer files
> using scp without asking for authentication? how do i
> do that?
>
> thanks.
> jC
>

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to