sshShell
SSH shell behavior configuration. Most of these settings can be overridden per user.
# example
sshShell:
allowSystemAccount: false
defaultShellType: terminal
defaultShellPath: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
defaultHomeDirectory: C:\
sshShell.allowSystemAccount
boolean = false
Allow system account to spawn terminal and other processes.
sshShell.defaultShellType
string: "none" | "terminal" | "legacy" = "none"
Shell type | Description |
---|---|
none |
No shell (except for minimal shell when SCP is enabled) will be available. |
terminal |
Virtual terminal will be presented. Only available on Windows 10 version 1809 and newer, Windows Server 2019 and newer |
legacy |
Minimal shell will be available, with SSH aliases support. |
sshShell.defaultShellPath
Enclose strings containing backslashes (
\
) or whitespace (
), such as Windows paths, in single quotes to avoid YAML parsing errors, for example: 'C:\Program Files\Rebex Buru SFTP Server'
.
string = "cmd.exe"
Path to default shell executable. Only applicable for terminal
shell.
sshShell.defaultHomeDirectory
Enclose strings containing backslashes (
\
) or whitespace (
), such as Windows paths, in single quotes to avoid YAML parsing errors, for example: 'C:\Program Files\Rebex Buru SFTP Server'
.
string = <Buru SFTP Server installation directory>
Path to default home directory. Only applicable for terminal
shell.