SSH connection to VMware Aria Suite Lifecycle fails to establish with Network error: Network error: Connection refused.
sshd in failed state from Aria Suite Lifecycle appliance console.sudo sshd -t command on the Aria Suite Lifecycle appliance console confirms that the Subsystem sftp parameter is defined twice within the same configuration file.VMware Aria Suite Lifecycle 8.18.x
This issue occurs because the sshd_config file contains a duplicate definition for the SFTP subsystem.
To resolve this issue, remove the duplicate subsystem entry from the SSH configuration file:
vi /etc/ssh/sshd_config#Subsystem sftp /usr/libexec/sftp-serversystemctl restart sshd