[erlang-questions] ssh eow

Ingela Andin <>
Tue Apr 2 12:32:40 CEST 2013


Hi!

It looks like Openssh has extended the possible channel request and
ssh_connection.erl needs to be extended to also handle that extension.

Regards Ingela Erlang/OTP team - Ericsson AB

2013/4/2, Stefan Jahn <>:
> hello,
>
> when I try
>
> ssh_connection_manager:request(State#state.cm, State#state.channel,
>                                "", false,
> [?boolean(false)], 0),
>
> after all data delivered, I get a data integrity error from scp.
> This is not the correct way to introduce new messages, isn't it?
>
> Thank you in advance,
>   Stefan.
>
> On Wed, March 27, 2013 2:13 am, Stefan Jahn wrote:
>> hello,
>>
>> while implementing a scp daemon i wonder how to send the eow event
>> to the client in order to tell the scp command to finish expecting
>> data from my scp daemon...
>>
>> see in PROTOCOL (from openssh):
>> 2.1. connection: Channel write close extension ""
>>
>> is there a function in ssh api of erlang how i can send this protocol
>> item??
>>
>> thank you in advance,
>>   stefan.
>>
>> _______________________________________________
>> erlang-questions mailing list
>> 
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>



More information about the erlang-questions mailing list