[Cyberduck-trac] [Cyberduck] #4232: Change SSH options for open in Terminal.app
Cyberduck
trac at trac.cyberduck.ch
Wed Aug 11 10:38:30 CEST 2010
#4232: Change SSH options for open in Terminal.app
---------------------------------------+------------------------------------
Reporter: zantoy@… | Owner: dkocher
Type: enhancement | Status: closed
Priority: normal | Milestone: 3.6
Component: sftp | Version: 3.4.1
Severity: normal | Resolution: fixed
Keywords: | Platform:
Architecture: |
---------------------------------------+------------------------------------
Changes (by dkocher):
* status: new => closed
* resolution: => fixed
* milestone: => 3.6
Comment:
You can now change the SSH command as of r6593 using the
[wiki:help/en/howto/preferences#Hiddenconfigurationoptions hidden
configuration option]
{{{
defaults write ch.sudo.cyberduck terminal.command.ssh \"ssh\ -t\ {0}\
{1}@{2}\ -p\ {3}\ \\\"cd\ {4}\ \&\&\ exec\ \\\\\$SHELL\\\"\"
}}}
where
* {0} is `-i <path to the private key>`
* {1} is the username from the login credentials
* {2} is the hostname
* {3} is the port number of the remote host
* {4} is the current working directory in the browser
Because of all the escaping of characters, it might be easier to edit the
key using ''Property List Editor'' if you have the developer tools
installed. You can then set the string for the key `terminal.command.ssh`
to `ssh -t {0} {1}@{2} -p {3} "cd {4} && exec \$SHELL"`. Test the string
in ''Terminal.app'' first if it is valid.
--
Ticket URL: <http://trac.cyberduck.ch/ticket/4232#comment:4>
Cyberduck <http://cyberduck.ch>
FTP, SFTP, WebDAV, Cloud Files, Google Docs, Azure and S3 Browser for Mac OS X.
More information about the Cyberduck-trac
mailing list