RHEL 8 Running in VMWare Workstation Unable to Connect via SSH to Other Hosts
Environment
- Red Hat Enterprise Linux 8
- VMWare Workstation / VMware Fusion
- NAT Guest Networking
Issue
- A Red Hat Enterprise Linux 8 Beta VM running under VMWare Workstation is unable to connect via SSH to other systems even after successful authentication, resulting in this error:
packet_write_wait: Connection to x.x.x.x port 22: Broken pipe.
Resolution
- Use Bridged networking
- Switching the guest from NAT to Bridged networking eliminates this issue.
- If you'd like to keep NAT networking, add the following to your
~/.ssh/config:
Host *
IPQoS=throughput
Root Cause
This is caused by a change made in OpenSSH 7.8, documented in the Content from www.openssh.com is not included.OpenSSH 7.8 Release Notes:
* ssh(1)/sshd(8): the default IPQoS used by ssh/sshd has changed.
They will now use DSCP AF21 for interactive traffic and CS1 for
bulk. For a detailed rationale, please see the commit message: https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/readconf.c#rev1.284
SBR
Product(s)
Components
Category
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.