sh Script to telnet

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: George Toft
日付:  
題目: sh Script to telnet
Anoop Gururaj wrote:
> =


> Dear Gurus,
> =


>                Can anyone give me the shell script where in i can telne=

t
> to different unix host with username and passwd and execute another s=

hell
> script in the remote host..??
> i need to write a cron ..the cron must execute a sh script which telne=

ts to
> another host with username/pass and execute another shell script in th=

e
> remote server.
> Kindly help me in this.
> Thanks a lot in advance.
> =


> Regards,
> =


> Anoop



Expect was created to perform this type of stuff. Linux Journal had an
excellent tutorial on it about 4 years ago - go to their site and
search.

George
-- =

Discover . . .         | Free Computer Security Information
        <=B7=B7=B7> Secure   | http://www.georgetoft.com/security
         Networking    | =


@http://georgetoft.com | Lock your box - keep your affairs private!