[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: scp guide
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: scp guide
- From: Erik Norgaard <norgaard_(_at_)_locolomo_(_dot_)_org>
- Date: Sat, 28 Aug 2004 15:50:04 +0200
- Organization: Loco Lomography
michael crane wrote:
Added same users on each machine
typed "ssh_keygen -t rsa" as that user on each machine.
connected from each machine to other via ssh ( typing password ) which
copied from machineA ~/.ssh/id_rsa.pub to machineB ~/.ssh/authorised_keys
copied from machineB ~/.ssh/id_rsa.pub to machineA ~/.ssh/authorised_keys
added "machineA_ipaddress username" to machineB/etc/hosts.equiv
added "machineB_ipaddress username" to machineA/etc/hosts.equiv
and still using scp other machine asks for a password.
What command do you try to execute? Try specifying the username
explicitly (this may be a good idea anyway if you are going to run it as
$ scp [options] <fileglob> <user>@<remotehost>:<destination_path>
Works for me without the hosts.equiv part.
If you are going to run this as a cron job, consider using rsync to
speed up the transfer.
If you really want to know everything you don't need to know, O'Reilly
has (yet another) book on SSH.
Visit your host, monkey.org