diff options
author | Hans Nilsson <[email protected]> | 2018-01-17 12:22:02 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2018-02-27 14:50:33 +0100 |
commit | 2c525a02f087fff609cc6c7736c5c582f91e00dc (patch) | |
tree | 98c92a23f013d9ff0de020857b6d46bd33e85550 /lib/ssh/src/ssh.hrl | |
parent | 08d195064063e470d9414586bb43ed3e09fa1624 (diff) | |
download | otp-2c525a02f087fff609cc6c7736c5c582f91e00dc.tar.gz otp-2c525a02f087fff609cc6c7736c5c582f91e00dc.tar.bz2 otp-2c525a02f087fff609cc6c7736c5c582f91e00dc.zip |
ssh: Disable exec for non-default shell
Diffstat (limited to 'lib/ssh/src/ssh.hrl')
-rw-r--r-- | lib/ssh/src/ssh.hrl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ssh/src/ssh.hrl b/lib/ssh/src/ssh.hrl index 3dee1c5521..4711f54fb5 100644 --- a/lib/ssh/src/ssh.hrl +++ b/lib/ssh/src/ssh.hrl @@ -35,6 +35,8 @@ -define(DEFAULT_TRANSPORT, {tcp, gen_tcp, tcp_closed} ). +-define(DEFAULT_SHELL, {shell, start, []} ). + -define(MAX_RND_PADDING_LEN, 15). -define(SUPPORTED_AUTH_METHODS, "publickey,keyboard-interactive,password"). |