1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12:48 -05:00

Add Norman Brandinger's suggested `-m' option in plink, to read the

remote command from a local file. Advantage: you can have more than
one line in it, so you can remotely run what's effectively a small
script.

[originally from svn r1010]
This commit is contained in:
Simon Tatham
2001-03-19 10:24:55 +00:00
parent c152034706
commit 4b5cda8aaa
4 changed files with 39 additions and 8 deletions

View File

@ -168,6 +168,8 @@ typedef struct {
int ping_interval; /* in seconds */
/* SSH options */
char remote_cmd[512];
char *remote_cmd_ptr; /* might point to a larger command
* but never for loading/saving */
int nopty;
int compression;
int agentfwd;