[erlang-bugs] ssh2_msg_channel_failure

Ingela Anderton Andin ingela@REDACTED
Wed May 2 14:01:07 CEST 2012


Hi!


Fyodor Ustinov wrote:
> On 02.05.2012 13:30, Ingela Anderton Andin wrote:
>> I ran your code and I think the problem is that your application is 
>> not running as root and you do not specify a system_dir. The default 
>> system_dir usually requiers root
>> privilages. I also think we need to have some better handling of this 
>> error in ssh, we probably need to move the check so that it will be 
>> noticed earlier and give an errormessage when starting the server 
>> rather than getting an internal error when someone tries to connect. 
> Ingela, my app running as root.
>
> This test code also running as root and perfectly work with unix ssh 
> and not work with putty. After logon putty receive some lines (number 
> depends on the length of the string) before crash.
>
> Windows and linux putty not working the same.
>
>
Ah, I see well have to do some more testing then,  but I did find 
another place for improvement that is always something.

Regards Ingela Erlang/OTP team - Ericsson AB



More information about the erlang-bugs mailing list