Unable to connect via SSH to other hosts in VMware running AlmaLinux 8 VM

If you SSH to other hosts in VM running under VMware workstation, you may get the following error:

packet_write_wait: Connection to x.x.x.x port 22: Broken pipe

  • To resolve this issue use bridged networking instead of NAT in VMware workstation. If you still want to keep NAT networking, add the following to your ~/.ssh/config file:

Host *

The above issue is caused by a change in openSSH 7.8.

Leave a Reply