I’m unable to ‘ssh’ from one of my client systems due to the following error below. The other client system can ‘ssh’ fine without issues. All of these Linux systems are on the same network and can be ping each other. All systems have the same user/password combination.
ssh: connect to host ansible-server port 22: Connection refused
Here is what I’m getting:
root@ansible-server:/etc/ssh# ssh ansible-server -vvv
OpenSSH_9.2p1 Debian-2+deb12u2, OpenSSL 3.0.11 19 Sep 2023
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/root/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/root/.ssh/known_hosts2'
debug2: resolving "ansible-server" port 22
debug3: resolve_host: lookup ansible-server:22
debug3: ssh_connect_direct: entering
debug1: Connecting to ansible-server [172.27.0.2] port 22.
debug3: set_sock_tos: set socket 3 IP_TOS 0x10
debug1: connect to address 172.27.0.2 port 22: Connection refused
ssh: connect to host ansible-server port 22: Connection refused
2