You are not logged in.

#1 2017-12-04 20:53:52

agent114
Member
Registered: 2017-10-26
Posts: 27

[SOLVED] sshuttle proxy failing due to ssh broken pipe

the connection fails during setup.
error code:
packet_write_wait: Connection to <my_ip> port 22: Broken pipe
command I used:
sshuttle -r <me>@<my_ip> 0/0 --dns -vv
I have tried changing the ClientAliveInterval and ClientActiveCountMax and TCPKeepAlive which has not helped and when I add ServerAliveInterval to sshd_config ssh refuses any connections, including from localhost.

Last edited by agent114 (2017-12-05 08:54:09)

Offline

#2 2017-12-04 21:07:40

agent114
Member
Registered: 2017-10-26
Posts: 27

Re: [SOLVED] sshuttle proxy failing due to ssh broken pipe

I did some googling and realised ServerAliveInterval is meant to go in ssh_config not sshd_config. but pipe still breaks!!!

Last edited by agent114 (2017-12-04 21:12:15)

Offline

#3 2017-12-05 00:22:29

GenkiSky
Member
From: This account is henceforth dis
Registered: 2017-04-04
Posts: 82

Re: [SOLVED] sshuttle proxy failing due to ssh broken pipe

I think you need to exclude (-x) the ip of your server (see the man page).

Offline

#4 2017-12-05 08:52:43

agent114
Member
Registered: 2017-10-26
Posts: 27

Re: [SOLVED] sshuttle proxy failing due to ssh broken pipe

that worked!! thanks

Offline

Board footer

Powered by FluxBB