http://www.perlmonks.org?node_id=676863


in reply to Help in running ssh command on a remote machine

You can't supply a password as an argument to ssh. For passwordless ssh you need to set up keys. This look like a reasonably good guide to doing this (but there may be better ones).
  • Comment on Re: Help in running ssh command on a remote machine