docs: clarify shell_type = none and ssh = behaviour

Discussed on the forum:

https://forum.rclone.org/t/can-rclone-be-made-to-work-with-an-sftp-server-confining-users-to-an-sftp-jail-and-no-login/44931
This commit is contained in:
kapitainsky 2024-03-21 11:55:20 +00:00 committed by albertony
parent 7803b4ed6c
commit 2591703494

View File

@ -279,6 +279,8 @@ option before first run, the auto-detection will be skipped, and if
you set a different value later this will override any existing. you set a different value later this will override any existing.
Value `none` can be set to avoid any attempts at executing shell Value `none` can be set to avoid any attempts at executing shell
commands, e.g. if this is not allowed on the server. commands, e.g. if this is not allowed on the server.
If you have `shell_type = none` in the configuration then
the [ssh](#sftp-ssh) must not be set.
When the server is [rclone serve sftp](/commands/rclone_serve_sftp/), When the server is [rclone serve sftp](/commands/rclone_serve_sftp/),
the rclone SFTP remote will detect this as a Unix type shell - even the rclone SFTP remote will detect this as a Unix type shell - even