[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2. Invoking Yafc

yafc [options] [proto://][user[:password]@]hostname[:port][/directory]

The 'proto' keyword can be either 'ftp' for ordinary FTP protocol, or 'ssh' for SSH2 protocol (sftp).


Try an anonymous login, ie login as "anonymous" with your email address as password. Your email address is first looked for in the config file (4.1 Keywords), then in the $EMAIL environment variable. If it's not found, a guess is made from your user- and hostname.

Print all messages sent to/from server.

Prints the default configuration file to standard output.

Try security mechanism MECH when logging in to the host specified on the command line. 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.

Do not read the users configuration file. This will cause yafc to use its default settings.

Do not connect via the proxy. This should be used if connecting to a host on the local network.

Do not print the welcome message with copyright information when starting Yafc.

`-r FILE'
Read another configuration file.

`-t FILE'
Enable creation of trace file. Trace files are mainly for debugging and includes every response and command Yafc receives/sends. If FILE is specified, use that file instead of the default trace file (`~/.yafc/trace/trace.pid', where pid is the process id number of Yafc.) Trace files can grow quite large and can safely be deleted.

Do not login automagically to the host specified on the command line. You can still use bookmark aliases, though.

As --noauto, but bookmark aliases is disabled.

Print all responses received (without response code.)

Use a different time to wait between connection attempts, in seconds. This overrides the value set by connect_wait_time in the configuration file.

Use a different working directory for configuration files and temporary files. Default is `~/.yafc'.

Print version information on stdout and exit successfully.

Print a short help description on stdout and exit successfully.

[ << ] [ >> ]           [Top] [Contents] [Index] [ ? ]

This document was generated by Martin Hedenfalk on July, 27 2001 using texi2html