[mdlug] Remote SSH commands

Dan Pritts danno at umich.edu
Fri Jan 14 00:52:28 EST 2011


On Wed, Jan 12, 2011 at 01:20:56AM -0500, Mark Montague wrote:
> rcp is horribly insecure [*] (rsh - and its siblings rlogin and rcp -- 
> are much worse than ftp, which isn't really good to use either).  Since 
> you have ssh on the system, and have already set up a public/private 
> keypair for ${USER}, use scp to distribute the files instead:
> 
>      scp /location/of/script ${USER}@${CLIENT}:${SCRIPT}
> 
> [*] See http://www.google.com/search?q=rsh+security+issues

Oh, I'm sorry sir.  I didn't realize you were root.

danno
--
dan pritts
danno at umich.edu
734-929-9770



More information about the mdlug mailing list