SFTP

raidrivecli add sftp sftp://[username@]<host>[:port][/path][?query]

If you add storage without any options, you will be prompted to enter a username and password.

raidrivecli add sftp <address>
Username: <username>
Password: ********

Alternatively, a username or password can be specified as options.

raidrivecli add sftp <address> -u <username>
raidrivecli add sftp <address> -u <username> -p [password]

If you use a private key instead of username and password, just specify the full file path with --private-key-file. If the key has a password, additionally specify --private-key-password.

raidrivecli add sftp <address> --private-key-file /path/file.key
raidrivecli add sftp <address> --private-key-file /path/file.key \
                               --private-key-password [password]

Warning

Shell commands are logged in history. If possible, we recommend not specifying the -p, --password or --private-key-password options with a value.

If a mount directory is not specified, it will be mounted to a directory such as /mnt/sftp under /mnt. To specify the mount directory, use the --mount-path option.

raidrivecli add sftp sftp://192.168.200.80/path --mount-path /myservices/sftp

ADDITIONAL OPTIONS

--alt-address <url>                     alternative url
--charset <charset>                     character set [default: utf-8]
--private-key-file <file>               private key filename
--private-key-password <password>       private key password

SEE ALSO