by KnapsackExponent » Mon Jun 13, 2022 7:44 pm
$this->bbcode_second_pass_quote('ufo6000', 'H')ello, please post the command + output of your ping test, and then the same with ssh. Also an "ssh -vvv ..." with more debug infos would be helpful.
$this->bbcode_second_pass_code('', 'root@hostname:~# ping 10.50.0.200
PING 10.50.0.200 (10.50.0.200) 56(84) bytes of data.
64 bytes from 10.50.0.200: icmp_seq=1 ttl=64 time=1.15 ms
64 bytes from 10.50.0.200: icmp_seq=2 ttl=64 time=0.551 ms
64 bytes from 10.50.0.200: icmp_seq=3 ttl=64 time=0.519 ms
^C
--- 10.50.0.200 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 17ms
rtt min/avg/max/mdev = 0.519/0.739/1.148/0.290 ms
root@hostname:~# ssh alarm@10.50.0.200
ssh: connect to host 10.50.0.200 port 22: Connection refused
root@hostname:~# ssh root@10.50.0.200
ssh: connect to host 10.50.0.200 port 22: Connection refused')
$this->bbcode_second_pass_code('', '
ssh -vvv 10.50.0.200
OpenSSH_9.0p1, OpenSSL 1.1.1o 3 May 2022
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: resolve_canonicalize: hostname 10.50.0.200 is address
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/me/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/home/me/.ssh/known_hosts2'
debug3: ssh_connect_direct: entering
debug1: Connecting to 10.50.0.200 [10.50.0.200] port 22.
debug3: set_sock_tos: set socket 3 IP_TOS 0x48
debug1: connect to address 10.50.0.200 port 22: Connection refused
ssh: connect to host 10.50.0.200 port 22: Connection refused
')
$this->bbcode_second_pass_code('', '
nmap -Pn -sT -p 22 10.50.0.200
Starting Nmap 7.92 ( https://nmap.org ) at 2022-06-13 15:43 EDT
Nmap scan report for 10.50.0.200
Host is up (0.00086s latency).
PORT STATE SERVICE
22/tcp closed ssh
')