[erlang-questions] ssh session_channel failure on recent versions of erlang

Nicolas Niclausse <>
Fri Nov 16 11:05:52 CET 2018


Hello

I'm having some troubles to start a session_channel to a ssh server after a
migration from erlang 17.3 to 19.2 (debian stretch)

the connect is working :
> {ok, CM} = ssh:connect("gw",22, [{user, "xxxx"},{password, "yyyy"}]),

{ok,<0.100.0>}

but the session_channel fails:

7>  {ok, Channel} =  ssh_connection:session_channel(CM, 10000).
** exception error: no match of right hand side value
{open_error,4,"Channel open failed",<<"en">>}

i tried on erlang 21.1, same problem. everything works with 17.3

the ssh server is an old ExtremeNetwork router (
identified by "SSH-2.0-4.1.2 SSH Secure Shell Toolkit" )


any idea ?

-- 
Nicolas Niclausse


More information about the erlang-questions mailing list