I have multiple hidden services which are SSH servers. They do give unstable connections, and drop out all the time (after a couple seconds). Sometimes with a SOCKS error 1 or with packet_write_wait: Connection to UNKNOWN port 65535: Broken pipe A couple specifics - I use openssh as the server - HidServAuth is properly configured on all client - I use netcat-openbsd to connect to the socks 5 proxy (configured through ProxyCommand) - Compression Yes in the client .ssh/config file Anybody any suggestions to overcome this kind of behavior? EDIT: I tried every ProxyCommand, but I feel like it is the Socks proxy of tor (or tor itself) that drops the packet or stops working. I'm running in a chroot, can this make a difference?