Hi, logged into a FreeBSD 13.3-RELEASE-p1 server, trying to restart sshd ....
The above cmd hangs until ctl + c
In /etc/ssh/sshd_config have:
Logged out of the ssh session and now cannot get back in. The only way is to pay someone to go there and reboot.
Tried to ssh to same server from another server and it's refusing ssh connection:
Code:
# /etc/rc.d/sshd restart
Performing sanity check on sshd configuration.
Stopping sshd.
Waiting for PIDS: 2613
The above cmd hangs until ctl + c
Code:
# ps auxw |grep sshd
root 2613 0.0 0.0 21048 5540 - Is 11:28 0:00.02 sshd: /usr/sbin/sshd [listener] 1 of 10-100 startups (sshd)
root 6708 0.0 0.1 21492 7288 - Ss 23:00 0:00.11 sshd: root@pts/0 (sshd)
In /etc/ssh/sshd_config have:
Code:
PermitRootLogin yes
#StrictModes yes
MaxAuthTries 8
MaxSessions 10
MaxStartups 6
Logged out of the ssh session and now cannot get back in. The only way is to pay someone to go there and reboot.
Code:
ssh: connect to host host.domain.tld port xxxxx: Network is unreachable
Tried to ssh to same server from another server and it's refusing ssh connection:
Code:
ssh: connect to host hostname.domain.tld port xxxxx: Connection refused
Any idea what is causing this?
Thanks in advance for your assistance.