Changeset 9369


Ignore:
Timestamp:
08/22/11 10:26:32 (14 years ago)
Author:
Eric.Larour
Message:

got rid of the password word

Location:
issm/trunk/src/m/utils/OS
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/utils/OS/issmscpin.m

    r6088 r9369  
    4040
    4141                username=input('Username: (quoted string) ');
    42                 password=input('Password: (quoted string) ');
     42                key=input('Key: (quoted string) ');
    4343
    4444                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} ' ./']);
    4646                        if status,
    4747                                error('scpin error message: could not call putty pscp');
  • issm/trunk/src/m/utils/OS/issmscpout.m

    r6088 r9369  
    3131
    3232                username=input('Username: (quoted string) ');
    33                 password=input('Password: (quoted string) ');
     33                key=input('Key: (quoted string) ');
    3434
    3535                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]);
    3737                        if status,
    3838                                error('scpout error message: could not call putty pscp');
  • issm/trunk/src/m/utils/OS/issmssh.m

    r6088 r9369  
    2323
    2424                username=input('Username: (quoted string) ');
    25                 password=input('Password: (quoted string) ');
     25                key=input('Key: (quoted string) ');
    2626
    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 '"']);
    2828
    2929        else
Note: See TracChangeset for help on using the changeset viewer.