srinigs has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I'm trying to write a script which involves logging into another machine before doing stuff. Basically what
I'm trying to do is this:
log into another machine
cmd 1
cmd 2
.
.
.
cmd n
logout
First of all, is it possible to do this inside a script? If yes, then please advice on the best way to do it.
Thanks much,
Srinivas
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Executing after logging into a remote machine
by blindluke (Hermit) on Oct 08, 2014 at 06:45 UTC | |
|
Re: Executing after logging into a remote machine
by QM (Parson) on Oct 08, 2014 at 08:07 UTC | |
|
Re: Executing after logging into a remote machine
by thanos1983 (Parson) on Oct 08, 2014 at 10:18 UTC | |
|
Re: Executing after logging into a remote machine
by srinigs (Novice) on Oct 08, 2014 at 10:47 UTC | |
by thanos1983 (Parson) on Oct 08, 2014 at 11:28 UTC |