This is an old revision of the document!

Session URL

On command-line and in parameters of scripting command open, you can, in addition to using stored-session name, specify an ad-hoc session using URL.

The syntax is:

[ sftp|ftp|scp:// ][ <user> [ :password ] @ ] <host> [ :<port> ]

Advertisement

The host can either be a host name (such as example.com) or an IP address (such as 127.0.0.1).

Special characters (like @ in username) can be encoded using %XX syntax, where XX is hexadecimal ASCII code.

Some common examples:

  • space: %20 or +
  • %: %25 (percent sign)
  • +: %2B (plus sign)
  • /: %2F (slash)
  • @: %40 (at sign)

Last modified: by martin