--- libssh2-1.9.0/tests/test_ssh2.c 2019-03-26 08:08:54.000000000 -0500 +++ libssh2-1.9.0/tests/test_ssh2.c 2019-09-11 19:38:03.782403778 -0500 @@ -225,21 +225,6 @@ int main(int argc, char *argv[]) */ libssh2_channel_setenv(channel, "FOO", "bar"); - /* Request a terminal with 'vanilla' terminal emulation - * See /etc/termcap for more options. This is useful when opening - * an interactive shell. - */ - if(libssh2_channel_request_pty(channel, "vanilla")) { - fprintf(stderr, "Failed requesting pty\n"); - goto skip_shell; - } - - /* Open a SHELL on that pty */ - if(libssh2_channel_shell(channel)) { - fprintf(stderr, "Unable to request shell on allocated pty\n"); - goto shutdown; - } - rc = 0; skip_shell: