public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  Copying a file via ssh with no password, keeping the system safe
@ 2010-10-07 16:45 Momesso Andrea
  2010-10-07 17:36 ` Stroller
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Momesso Andrea @ 2010-10-07 16:45 UTC (permalink / raw
  To: gentoo-user


Hi list,

I need to set up a cron job to transfer a file every day from server A  
to server B.

I'd like to do that via ssh and with no user assistance, completely automated.

Setting up a public key, would do the job, but then, all the  
connections between the servers would be passwordless, so if server A  
gets compromised, also server B is screwed.

Is there a way to allow only one single command from a single cronjob  
to operate passwordless, while keeping all the other connections  
secured by a password?

Thank you in advance for your help.

TopperH
http://topperh.ath.cx

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.





^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2010-10-08 10:19 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-07 16:45 [gentoo-user] Copying a file via ssh with no password, keeping the system safe Momesso Andrea
2010-10-07 17:36 ` Stroller
2010-10-07 18:14 ` Willie Wong
2010-10-07 18:26   ` Willie Wong
2010-10-07 18:40 ` Andrea Conti
2010-10-07 21:59   ` Momesso Andrea
2010-10-07 22:21     ` covici
2010-10-07 22:38       ` BRM
2010-10-08  8:53         ` Neil Bothwick
2010-10-07 22:28   ` Willie Wong
2010-10-08  8:05     ` Andrea Conti
2010-10-08 10:18       ` Willie Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox