This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Question about "rexec"

On Wed, 21 May 2003, David HALE wrote:

> Hi,
> I am writing a shell script that needs to execute commands on a remote
> system using "rexec".  I want to do this without typing in a password every
> time the "rexec" command executes. The way I see it the "rexec" command in
> CYGWIN does not allow a password to be passed. I have tried to use a
> ".netrc" file (to supply the password) with the format:
>      machine remote_machine_name login remote_username password string
> I have not been able to get this to work. I cannot find a man page or other
> CYGWIN documentation for "rexec" or ".netrc".
> Is it possible to do this with CYGWIN?
> David Hale

Umm, why not use "ssh"?
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]