diff options
author | Ingela Anderton Andin <[email protected]> | 2014-10-20 11:38:41 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2014-10-22 10:47:15 +0200 |
commit | a5e436a9d8ec8a6fcaf19858749e290666a3b33c (patch) | |
tree | b56e35f7ff42a8500922eb286e0aa59839b76bda /lib/ssh/src/ssh.erl | |
parent | 488c1445622709031ec0963657a5821a36c159de (diff) | |
download | otp-a5e436a9d8ec8a6fcaf19858749e290666a3b33c.tar.gz otp-a5e436a9d8ec8a6fcaf19858749e290666a3b33c.tar.bz2 otp-a5e436a9d8ec8a6fcaf19858749e290666a3b33c.zip |
ssh: Add pty_alloc request to ssh:shell/[1,2,3]
Diffstat (limited to 'lib/ssh/src/ssh.erl')
-rw-r--r-- | lib/ssh/src/ssh.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ssh/src/ssh.erl b/lib/ssh/src/ssh.erl index de047d3c83..eae33e3683 100644 --- a/lib/ssh/src/ssh.erl +++ b/lib/ssh/src/ssh.erl @@ -194,6 +194,7 @@ shell(Host, Port, Options) -> {ok, ConnectionRef} -> case ssh_connection:session_channel(ConnectionRef, infinity) of {ok,ChannelId} -> + success = ssh_connection:ptty_alloc(ConnectionRef, ChannelId, []), Args = [{channel_cb, ssh_shell}, {init_args,[ConnectionRef, ChannelId]}, {cm, ConnectionRef}, {channel_id, ChannelId}], |