Changeset 9369
- Timestamp:
- 08/22/11 10:26:32 (14 years ago)
- Location:
- issm/trunk/src/m/utils/OS
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/utils/OS/issmscpin.m
r6088 r9369 40 40 41 41 username=input('Username: (quoted string) '); 42 password=input('Password: (quoted string) ');42 key=input('Key: (quoted string) '); 43 43 44 44 for i=1:numel(packages), 45 [status,result]=system([ISSM_TIER '/externalpackages/ssh/pscp.exe -l "' username '" -pw "' password'" ' host ':' path '/' packages{i} ' ./']);45 [status,result]=system([ISSM_TIER '/externalpackages/ssh/pscp.exe -l "' username '" -pw "' key '" ' host ':' path '/' packages{i} ' ./']); 46 46 if status, 47 47 error('scpin error message: could not call putty pscp'); -
issm/trunk/src/m/utils/OS/issmscpout.m
r6088 r9369 31 31 32 32 username=input('Username: (quoted string) '); 33 password=input('Password: (quoted string) ');33 key=input('Key: (quoted string) '); 34 34 35 35 for i=1:numel(packages), 36 [status,result]=system([ISSM_TIER '/externalpackages/ssh/pscp.exe -l "' username '" -pw "' password'" ' packages{i} ' ' host ':' path]);36 [status,result]=system([ISSM_TIER '/externalpackages/ssh/pscp.exe -l "' username '" -pw "' key '" ' packages{i} ' ' host ':' path]); 37 37 if status, 38 38 error('scpout error message: could not call putty pscp'); -
issm/trunk/src/m/utils/OS/issmssh.m
r6088 r9369 23 23 24 24 username=input('Username: (quoted string) '); 25 password=input('Password: (quoted string) ');25 key=input('Key: (quoted string) '); 26 26 27 system([ISSM_TIER '/externalpackages/ssh/plink.exe -ssh -l "' username '" -pw "' password'" ' host ' "' command '"']);27 system([ISSM_TIER '/externalpackages/ssh/plink.exe -ssh -l "' username '" -pw "' key '" ' host ' "' command '"']); 28 28 29 29 else
Note:
See TracChangeset
for help on using the changeset viewer.