On 07/12/2017 04:42 PM, Samuel Sieb wrote:
> On 07/12/2017 04:39 PM, Doug wrote:
>> On 07/12/2017 09:55 AM, Frank Pikelner wrote:
>>> It is not complicated finding SSH running on a different port using
>>> Nmap:
>>>
>>>       i.e. nmap -p- -sV <hostname/IP>
>>>
>> running PCLOS. Command fails:
>>
>> [doug@linux1 ~]$ su
>> Password:
>> [root@linux1 doug]# nmap -p -sV linux1 1.192.168.1/24
> 
> It's the difference between "-p" and "-p-".

Yes, "-p-" means scan ports 1 to 65535, "-p" (no trailing dash) would
try to scan ports "-sV", which is nonsensical.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ri...@alldigital.com -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-             To iterate is human, to recurse, divine.               -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to