aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh.hrl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2018-01-17 12:22:02 +0100
committerHans Nilsson <[email protected]>2018-02-27 14:50:33 +0100
commit2c525a02f087fff609cc6c7736c5c582f91e00dc (patch)
tree98c92a23f013d9ff0de020857b6d46bd33e85550 /lib/ssh/src/ssh.hrl
parent08d195064063e470d9414586bb43ed3e09fa1624 (diff)
downloadotp-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.hrl2
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").