From VMware and Fedora 29 ssh to remote machine cause Broken pipe

6

3

I install Fedora 29 on VMware player just now, and found ssh to remote machine fails with "Broken pipe". Fedora 29 is just available few days, did you meet this problem?

$ ssh cranuser22@10.39.158.52
cranuser22@10.39.158.52's password:
packet_write_wait: Connection to 10.39.158.52 port 22: Broken pipe

And in the same VMware player, I have installed Fedora 28, it works fine.

$ ssh cranuser22@10.39.158.52
cranuser22@10.39.158.52's password:
Last login: Wed Oct 31 08:07:41 2018 from 10.140.176.37

Lane Ouyang

Posted 2018-10-31T06:17:16.253

Reputation: 340

Answers

11

$ cat ~/.ssh/config
Host *
    IPQoS=throughput

After add such ssh configuration file, the problem disappears.

Update: scp command have to use this way:

$ scp -o 'IPQoS=throughput' ...

Lane Ouyang

Posted 2018-10-31T06:17:16.253

Reputation: 340

See also this OpenSSH 7.8 causes VMware Workstation and Player networking SSH bug on Linux VMs on github

– robsch – 2019-01-10T13:27:55.777

Never thought that it could be a problem of VMWare. In my case VMWare Fusion. – robsch – 2019-01-10T13:33:53.447

0

just for additional, i also got that log in my VM, my case appear because there are 2 VM that have same networking configuration (IP Adress), i think we are in the same case, please make sure to change your netowrk configuration with different ip address, and start to ssh again to your VM.

Cheers,

Alfin Syuqra

Posted 2018-10-31T06:17:16.253

Reputation: 1