Changeset 24228
- Timestamp:
- 10/15/19 00:04:18 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/os/issmssh.py
r24213 r24228 32 32 key = eval(input('Key: (quoted string) ')) 33 33 34 subprocess.call('%s/externalpackages/ssh/plink.exe-ssh - l "%s" -pw "%s" %s "%s"' % (ISSM_DIR, username, key, host, command), shell=True)34 subprocess.call('%s/externalpackages/ssh/plink.exe-ssh -l "%s" -pw "%s" %s "%s"' % (ISSM_DIR, username, key, host, command), shell=True) 35 35 36 36 else: 37 37 #just use standard unix ssh 38 38 if port: 39 subprocess.call('ssh - l %s -p %d localhost "%s"' % (login, port, command), shell=True)39 subprocess.call('ssh -l %s -p %d localhost "%s"' % (login, port, command), shell=True) 40 40 else: 41 subprocess.call('ssh - 41 subprocess.call('ssh -l %s %s "%s"' % (login, host, command), shell=True) 42 42 43 43 # The following code was added to fix:
Note:
See TracChangeset
for help on using the changeset viewer.