LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-29-2013, 12:56 PM   #1
sachingoel0409
LQ Newbie
 
Registered: Aug 2013
Posts: 2

Rep: Reputation: Disabled
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.
 
Old 09-29-2013, 01:37 PM   #2
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian Jessie / sid
Posts: 1,471

Rep: Reputation: 444Reputation: 444Reputation: 444Reputation: 444Reputation: 444
as root

Code:
nmap -O <target IP>
 
1 members found this post helpful.
Old 09-30-2013, 08:42 AM   #3
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,696

Rep: Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261
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.
 
Old 09-30-2013, 10:46 AM   #4
sachingoel0409
LQ Newbie
 
Registered: Aug 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jpollard View Post
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?
 
Old 09-30-2013, 04:33 PM   #5
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,696

Rep: Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting a Linux machine to a Windows machine fayspook Linux - Newbie 7 09-29-2011 11:00 AM
Connecting to MySQL as <IP address> instead of <machine name> narc Linux - Software 2 07-29-2008 10:04 AM
Restarting Windows machine stops Linux machine mounting/connecting jamespetts Linux - Networking 3 05-29-2008 03:12 AM
How to find an IP address from the MAC address of a remote machine ? jitz Linux - General 3 01-03-2006 07:55 AM
how to get ip address, broadcast address, mac address of a machine sumeshstar Programming 2 03-12-2005 04:33 AM


All times are GMT -5. The time now is 02:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration