[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Channel opening failure: channel 53 error (1) open failed


Moreover, after

ssh_packet_channel_failure: SSH_CHANNEL_FAILURE received in incorrect state
0

libssh didn't return control and totaly freezed.

2018-04-17 16:43 GMT+03:00 Yanis Kurganov <yanis.kurganov@xxxxxxxxx>:

> Hi!
>
> I tried to push a couple of files through SCP. First file pushed
> successfully, but the second failed. Do you have any ideas about what
> happened?
>
> ssh_connect: libssh 0.7.5
> ssh_analyze_banner: Analyzing banner: SSH-2.0-OpenSSH_4.3p2-hpn
>
> *OK* (16 Apr 2018 20:51:57.255)
>
> ssh_scp_init: Initializing scp session write on location '/tmp'
> channel_open: Creating a channel 52 with 64000 window and 32768 max packet
> ssh_socket_unbuffered_write: Enabling POLLOUT for socket
> packet_send2: packet: wrote [len=44,padding=19,comp=24,payload=24]
> channel_open: Sent a SSH_MSG_CHANNEL_OPEN type session for channel 52
> ssh_packet_socket_callback: packet: read type 91
> [len=28,padding=10,comp=17,payload=17]
> ssh_packet_process: Dispatching handler for packet type 91
> ssh_packet_channel_open_conf: Received SSH2_MSG_CHANNEL_OPEN_CONFIRMATION
> ssh_packet_channel_open_conf: Received a CHANNEL_OPEN_CONFIRMATION for
> channel 52:9
> ...
> ssh_scp_push_file64: SCP pushing file 5727-c17d-2454-8f8f, size 101 with
> permissions '0755'
> packet_send2: packet: wrote [len=44,padding=4,comp=39,payload=39]
> ...
> channel_rcv_eof: Received eof on channel (52:9)
> ssh_socket_unbuffered_write: Enabling POLLOUT for socket
> packet_send2: packet: wrote [len=12,padding=6,comp=5,payload=5]
> ssh_channel_close: Sent a close on client channel (52:9)
>
> *FAILED* (16 Apr 2018 20:51:58.552)
>
> ssh_scp_init: Initializing scp session write on location '/tmp'
> channel_open: Creating a channel 53 with 64000 window and 32768 max packet
> ssh_socket_unbuffered_write: Enabling POLLOUT for socket
> packet_send2: packet: wrote [len=44,padding=19,comp=24,payload=24]
> channel_open: Sent a SSH_MSG_CHANNEL_OPEN type session for channel 53
> ssh_packet_socket_callback: packet: read type 92
> [len=44,padding=15,comp=28,payload=28]
> ssh_packet_process: Dispatching handler for packet type 92
> ssh_packet_channel_open_fail: Channel opening failure: channel 53 error
> (1) open failed
> ssh_socket_unbuffered_write: Enabling POLLOUT for socket
> packet_send2: packet: wrote [len=44,padding=13,comp=30,payload=30]
> channel_request: Sent a SSH_MSG_CHANNEL_REQUEST exec
> ssh_packet_socket_callback: packet: read type 100 [len=12,padding=6,comp=5,
> payload=5]
> ssh_packet_process: Dispatching handler for packet type 100
> ssh_packet_channel_failure: Received SSH_CHANNEL_FAILURE on channel (43:0)
> ssh_packet_channel_failure: SSH_CHANNEL_FAILURE received in incorrect
> state 0
>

Follow-Ups:
Re: Channel opening failure: channel 53 error (1) open failedAndreas Schneider <asn@xxxxxxxxxxxxxx>
References:
Channel opening failure: channel 53 error (1) open failedYanis Kurganov <yanis.kurganov@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org