Subject: Re: Cygwin Login Question
From: "hongxun lee" <[email-masked]>
To: "cygwin mailing list" <[email-masked]>
Cc: "Dockeen" <[email-masked]>
Date: Fri, 12 Jul 2002 21:46:09 -0400

Thanks for reply..sorry for my un-clear Q.

i mentioned Cygwin in my Q just to show UNIX commands are available for me
to login a remote UNIX sys, e.g., ftp, telnet, ssh...

My Q is: Which one can help me to login, automatically, a remote sys with a
script?
The remote sys requires acc/passwd.

e. g., this script does work but as i know ftp has fewer sub-commands, so i
prefer a better one instaed, but i dont know which one allows me to do so.

#!/bin/bash
ftp -inv unix_sys << EOF
user acc passwd

do-sth-here

bye
EOF

----- Original Message -----
From: "Dockeen" <[email-masked]>
To: <[email-masked]>
Sent: Friday, July 12, 2002 8:33 PM
Subject: Cygwin Login Question

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/