Node:open, Next:, Previous:nop, Up:Yafc commands



open

Opens a new connection to an FTP/SSH server.

Usage: open [options] [proto://][user[:password]@]hostname[:port][/directory] ...

proto can be either 'ftp' or 'ssh' ('sftp' is an alias for 'ssh')

Options:


-a
--anon
Try to login anonymously.
-u
--noauto
Disable autologin.
-U
--noalias
Disable bookmark alias lookup and abbreviation.
-m MECH
--mechanism=MECH
Try security mechanism MECH when logging in. This will override any 'mech' options in yafcrc or bookmarks. MECH is a colon-separated string, supported values are "krb4", "krb5" and "none". The mechanisms are tried in the order specified.
-s PATH
--sftp=PATH
Specify path to the remote sftp-server program. SSH starts this program on the remote side when initiating an sftp connection. This option is only necessary if the remote ssh server doesn't understand the sftp subsystem.

Specify --sftp="" to disable the sftp-server path, and use sftp subsystem instead.

If you don't know the remote path to the sftp-server program, the default for OpenSSH is /usr/libexec/sftp-server. Another common path is /usr/bin/sftp-server.

--help
Show a short syntax description.