diff options
author | Sebastien Estienne <sebastien.estienne@gmail.com> | 2006-08-26 01:59:32 +0000 |
---|---|---|
committer | Sebastien Estienne <sebastien.estienne@gmail.com> | 2006-08-26 01:59:32 +0000 |
commit | 996bbaefd2d922f193a15f865f8250bc60768044 (patch) | |
tree | 6fdc8e5794d987d7df4dec21cb68f24a6746d1ac | |
parent | 7649e44c3182d05e0c7a47d6a1687837461a8c06 (diff) |
fixed sftp with gconfterminal
git-svn-id: file:///home/lennart/svn/public/service-discovery-applet/trunk@123 3be567f1-68ff-0310-b24a-ad7cc433fd2f
-rw-r--r-- | plugins/gconfterminal.py.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/gconfterminal.py.in b/plugins/gconfterminal.py.in index 4330ac1..2b9938e 100644 --- a/plugins/gconfterminal.py.in +++ b/plugins/gconfterminal.py.in @@ -113,15 +113,15 @@ class plugin_gnometerminal: if stype == "_ssh._tcp": - scheme = "@toolsdir@/exec_wrapper ssh -X" + scheme = "@toolsdir@/exec_wrapper ssh -X -p %d" % (port) else: - scheme = "@toolsdir@/exec_wrapper sftp" + scheme = "@toolsdir@/exec_wrapper sftp -oPort=%d" % (port) if username == None: return elif username != "": - sshline = "%s -p %i %s@%s" % (scheme, port, username, address) + sshline = "%s %s@%s" % (scheme, username, address) else: - sshline = "%s -p %i %s " % (scheme, port, address) + sshline = "%s %s " % (scheme, address) cmdline = terminal.split(" ") cmdline.extend(sshline.split(" ")) |