I am no longer successfully able to connect to my AIX LPAR.
ssh -v user@<ip>
OpenSSH_6.2p2, OpenSSL 1.0.1c 10 May 2012
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to <ip> [<ip>] port 22.
debug1: connect to address <ip> port 22: Connection refused
ssh: connect to host <ip> port 22: Connection refused
This was after attempting to make an sshd_config
update take effect (potentially incorrectly) by running
stopsrc -s sshd
startsrc -s sshd
Prior to running the stop and start, I was able to connect, now it refuses as above. I still currently have one connection open, is there anything I can do to resolve/troubleshoot this?
I've already looked at ssh Connection refused: how to troubleshoot? thread, but I am unable to figure out basic things like whether or not the SSH daemon is running (I don't think it is) or how to start it if it is not... ps -ax
did not recognize x
as a flag... (edited based on comments)
user1@<host>:/usr/sbin > ps -ef | grep ssh
root 5046410 1 0 09:37:38 - 0:00 sshd: user1 [priv]
root 5374164 1 0 13:28:03 - 0:00 sshd: user1 [priv]
user2 5832758 11141204 0 16:25:39 - 0:00 sshd: user2@pts/0
user1 7340048 9175212 0 09:37:40 - 0:00 sshd: user1@notty
root 9175212 1 0 09:37:40 - 0:00 sshd: user1 [priv]
user1 11075776 5046410 2 09:37:40 - 0:01 sshd: user1@pts/1
root 11141204 1 0 16:25:33 - 0:00 sshd: user2 [priv]
How can I connect to this LPAR again? Any help is very much appreciated!
ps -ef
to list app processes instead.ps -ef | grep ssh
in this case?