Cyberduck Mountain Duck CLI

Changes between Version 17 and Version 18 of help/en/howto/sftp


Ignore:
Timestamp:
Aug 24, 2010 4:15:22 PM (10 years ago)
Author:
dkocher
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • help/en/howto/sftp

    v17 v18  
    6262Use ''View → Customize Toolbar...'' to add the ''Terminal.app'' toolbar icon to your browser. It allows you to open a SSH shell for the current working directoy with a single click.
    6363
     64You can change the SSH command using the [wiki:help/en/howto/preferences#Hiddenconfigurationoptions hidden configuration option]
     65
     66{{{
     67defaults write ch.sudo.cyberduck terminal.command.ssh \"ssh\ -t\ {0}\ {1}@{2}\ -p\ {3}\ \\\"cd\ {4}\ \&\&\ exec\ \\\\\$SHELL\\\"\"
     68}}}
     69
     70where
     71 * {0} is `-i <path to the private key>`
     72 * {1} is the username from the login credentials
     73 * {2} is the hostname
     74 * {3} is the port number of the remote host
     75 * {4} is the current working directory in the browser
     76
     77Because 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.
     78
    6479== Remote Commands ==
    6580
swiss made software