OCI: ssh to instance fail with error "packet_write_wait: Connection to IP port 22: Broken pipe"
Applies To:
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64
Symptoms:
When trying to ssh
into an instance, it fails with the error below:
$ ssh <ip_address> packet_write_wait: Connection to 100.xx.xx port 22: Broken pipe
The console history shows error below:
... [FAILED] Failed to start User Manager for UID 0. See 'systemctl status user@0.service' for details. Starting SETroubleshoot daemon for ��� cessing new SELinux denial logs... ...
Cause:
There is an SELinux denial.
Solution:
- Launch a Cloud Shell connection: https://docs.oracle.com/en-us/iaas/Content/Compute/References/serialconsole.htm#cloud-shell .
- Boot the instance into maintenance mode:
Tagged:
0