Cyberduck Mountain Duck CLI

Opened 8 years ago

Closed 8 years ago

#4232 closed enhancement (fixed)

Change SSH options for open in

Reported by: zantoy@… Owned by: dkocher
Priority: normal Milestone: 3.6
Component: sftp Version: 3.4.1
Severity: normal Keywords:
Cc: Architecture:

Description (last modified by dkocher)


When I launch, my terminal connects with this command:

ssh -t guest@txot -p 22 “cd /home/guest/ && exec \$SHELL”

Is it possible to change SSH options?


Change History (4)

comment:1 Changed 8 years ago by dkocher

  • Component changed from core to sftp
  • Description modified (diff)
  • Priority changed from highest to normal
  • Summary changed from to Change SSH options for open in
  • Type changed from defect to enhancement

comment:2 Changed 8 years ago by zantoy@…


comment:3 Changed 8 years ago by dkocher

Which options in particular you want to be able to customize?

comment:4 Changed 8 years ago by dkocher

  • Milestone set to 3.6
  • Resolution set to fixed
  • Status changed from new to closed

You can now change the SSH command as of r6593 using the hidden configuration option

defaults write ch.sudo.cyberduck terminal.command.ssh \"ssh\ -t\ {0}\ {1}@{2}\ -p\ {3}\ \\\"cd\ {4}\ \&\&\ exec\ \\\\\$SHELL\\\"\"


  • {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 first if it is valid.

Note: See TracTickets for help on using tickets.
swiss made software