chisel icon indicating copy to clipboard operation
chisel copied to clipboard

Stream error: ssh: unexpected packet in response to channel open: <nil>

Open ghissari opened this issue 4 years ago • 5 comments

Ver 1.4.0 After a day of continuous running, I see this error, that needs service to be restarted,

Error: Stream error: ssh: unexpected packet in response to channel open: <nil>

Server chisel server -p 12000 --reverse --authfile /etc/chisel/users.json

This issue not happened in 1.3.1 version

I test the binary file and building from the source both have the same issue Screenshot from 2020-04-25 23-43-11

ghissari avatar Apr 26 '20 03:04 ghissari

Interesting, what os/arch?

On Sun, 26 Apr 2020 at 1:47 pm ghissari [email protected] wrote:

Ver 1.4.0 After a day of continuous running, I see this error, that needs service to be restarted,

Error: Stream error: ssh: unexpected packet in response to channel open:

Server chisel server -p 12000 --reverse --authfile /etc/chisel/users.json

This issue not happened in 1.3.1 version

I test the binary file and building from the source both have the same issue [image: Screenshot from 2020-04-25 23-43-11] https://user-images.githubusercontent.com/16862123/80297164-c2958880-874e-11ea-92c4-e9a864af412f.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jpillora/chisel/issues/155, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE2X45PFPTZNKGAGJM5TU3ROOVEPANCNFSM4MRBHHOQ .

jpillora avatar Apr 26 '20 03:04 jpillora

ubuntu 18.04 kernel release: 4.15.0-96-generic x86_64

ghissari avatar Apr 27 '20 09:04 ghissari

Possibly related: https://github.com/hashicorp/packer/issues/4373#issuecomment-290412019 ?

ironiridis avatar Jul 22 '20 20:07 ironiridis

Please try with latest release candidate and report back

jpillora avatar Jul 22 '20 23:07 jpillora

maybe not related, I got a similar error message when using Litestream to sftp server,

"ssh: unexpected packet in response to channel open:"

The fix for me is to remove the "ChrootDirectory /var/sftp" config in /etc/ssh/sshd_config

Match User sammyfiles
ForceCommand internal-sftp
PasswordAuthentication yes
ChrootDirectory /var/sftp

artisdom avatar Apr 15 '23 04:04 artisdom