Changeset 24228


Ignore:
Timestamp:
10/15/19 00:04:18 (5 years ago)
Author:
bdef
Message:

Fixing some more extraneous spaces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/os/issmssh.py

    r24213 r24228  
    3232            key = eval(input('Key: (quoted string) '))
    3333
    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)
    3535
    3636        else:
    3737            #just use standard unix ssh
    3838            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)
    4040            else:
    41                 subprocess.call('ssh - l %s %s "%s"' % (login, host, command), shell=True)
     41                subprocess.call('ssh -l %s %s "%s"' % (login, host, command), shell=True)
    4242
    4343    # The following code was added to fix:
Note: See TracChangeset for help on using the changeset viewer.