LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to Know from given IP Address to which machine we are connecting (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-know-from-given-ip-address-to-which-machine-we-are-connecting-4175478973/)

sachingoel0409 09-29-2013 12:56 PM

How to Know from given IP Address to which machine we are connecting
 
I have an IP Address of a remote server which may be (linux,solaris,windows etc).
How to know from my machine that Remote IP has which operating system (linux,solaris,windows etc) to which i am going to connect.

Firerat 09-29-2013 01:37 PM

as root

Code:

nmap -O <target IP>

jpollard 09-30-2013 08:42 AM

One small note: Some sites consider running a nmap scan of a system to be an attack, and may be illegal depending on where (and who) you are.

A nmap scan looks at open ports on the remote host, and may not be able to identify what the system is as it depends entirely on the services that may be running there.

sachingoel0409 09-30-2013 10:46 AM

Quote:

Originally Posted by jpollard (Post 5037285)
One small note: Some sites consider running a nmap scan of a system to be an attack, and may be illegal depending on where (and who) you are.

A nmap scan looks at open ports on the remote host, and may not be able to identify what the system is as it depends entirely on the services that may be running there.

Thanks for above info.
Do we have any other command?

jpollard 09-30-2013 04:33 PM

Nope.

There is no guaranteed test that can - all depend on the information provided by the services that are running, either through error responses, the style of errors, and/or the initial connection prompts by the services.

And this is the same type of scan used by a virus attempting to find vulnerable services.


All times are GMT -5. The time now is 04:13 AM.