[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: scp guide
- From: michael crane <crane_(_at_)_ukonline_(_dot_)_co_(_dot_)_uk>
- Date: Sat, 28 Aug 2004 14:28:07 +0100
Could somebody be so kind to explain to me an idiot's guide to copying
files via scp without the need for a password so the scp instruction can
be put into a cron job ?
So far I have tried.
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.