kryptco / kr

DEPRECATED A dev tool for SSH auth + Git commit/tag signing using a key stored in Krypton.
https://krypt.co/developers/
Other
1.59k stars 109 forks source link

Connection to UNKNOWN port 65535: Broken pipe & SSH_EVENT_RESPOVERFLOW #272

Open halostatue opened 5 years ago

halostatue commented 5 years ago

Similar to #251, I’m getting Connection to UNKNOWN port 65535: Broken pipe on some, but not all, git operations.

Krypton ▶ Requesting SSH authentication from phone
Krypton ▶ Success. Request Allowed ✔
Enumerating objects: 33, done.
Counting objects: 100% (33/33), done.
Delta compression using up to 4 threads
Compressing objects: 100% (21/21), done.
Writing objects: 100% (21/21), 22.64 KiB | 2.26 MiB/s, done.
Total 21 (delta 11), reused 0 (delta 0)
packet_write_wait: Connection to UNKNOWN port 65535: Broken pipe
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly

These events correspond to our IDS system (Meraki) detecting an SSH_EVENT_RESPOVERFLOW event.

I am not getting any errors on ssh -vv git@bitbucket.org or ssh -vv me.krypt.co, only on (mostly) code pushes to bitbucket.

halostatue commented 5 years ago

Using Krypton 2.4.2.

pkleinert commented 4 years ago

Try the auto keep alive: https://askubuntu.com/questions/127369/how-to-prevent-write-failed-broken-pipe-on-ssh-connection