[Cyberduck-trac] [Cyberduck] #5593: Open in terminal (SSH) :: make available to Windows port
Cyberduck
trac at trac.cyberduck.ch
Sun Dec 26 21:27:41 CET 2010
#5593: Open in terminal (SSH) :: make available to Windows port
----------------------------+-----------------------------------------------
Reporter: marclaporte | Owner: dkocher
Type: enhancement | Status: new
Priority: normal | Milestone: 4.0b9
Component: sftp | Version: 4.0b8
Severity: normal | Resolution:
Keywords: | Platform: Windows 7
Architecture: Intel |
----------------------------+-----------------------------------------------
Comment (by dkocher):
The `terminal.command.ssh` property in user defaults should be set to
{{{
putty.exe -ssh {0} {1}@{2} -t -P {3} -m "cd {4} && exec \$SHELL"
}}}
which is then formatted at runtime with
{{{
String ssh =
MessageFormat.format(Preferences.instance().getProperty("terminal.command.ssh"),
identity ? "-i " +
host.getCredentials().getIdentity().getAbsolute() : "",
host.getCredentials().getUsername(),
host.getHostname(),
String.valueOf(host.getPort()), workdir);
}}}
The `-m` must point to a file according to the PuTTY documentation.
--
Ticket URL: <http://trac.cyberduck.ch/ticket/5593#comment:2>
Cyberduck <http://cyberduck.ch>
Open source FTP, SFTP, WebDAV, Cloud Files, Google Docs & Amazon S3 Browser for Mac & Windows.
More information about the Cyberduck-trac
mailing list