SSH 서버가 실행 중이지만 네트워크에 표시되지 않습니다.

SSH 서버가 실행 중이지만 네트워크에 표시되지 않습니다.

내 SSH 서버는 포트 2224에서 실행 중입니다. 두 개의 SSH 서버(22에서는 sshd, 2224에서는 sshd2)를 실행 중입니다.

bash-3.2# /etc/init.d/sshd2 status
openssh-daemon (pid  19737) is running...


bash-3.2# nmap localhost

Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2012-09-07 05:14 IST
mass_dns: warning: Unable to determine any DNS servers. Reverse DNS is  disabled.     
Interesting ports on telnets.nith.ac.in (127.0.0.1):
Not shown: 1671 closed ports
PORT     STATE SERVICE
22/tcp   open  ssh
25/tcp   open  smtp
80/tcp   open  http
111/tcp  open  rpcbind
443/tcp  open  https
631/tcp  open  ipp
646/tcp  open  unknown
3306/tcp open  mysql
8443/tcp open  https-alt

bash-3.2# netstat -nap |grep 2224
tcp    0   0 0.0.0.0:2224   0.0.0.0:*      LISTEN           19737/sshd2 

답변1

nmap실제로는 기본적으로 "가장 일반적인" 포트 중 몇 천 개만 검색합니다. 분명히 포트 2224는 해당되지 않습니다. -p특정 범위의 포트를 스캔하려면 옵션을 살펴보십시오 .

관련 정보