I've got the server's adress and I don't know how to get its ip adress. I have an access via ssh and I need it so bad, please help. (As for your information I've been looking for this for some time, seriously :/ )
Asked
Active
Viewed 1.0k times
3
-
http://askubuntu.com/questions/145012/how-can-i-find-my-public-ip-using-the-terminal/145169 – yprez Dec 18 '13 at 13:58
-
How do you connect to it with ssh if you don't know it's ip? If you use a domain name, then you can run `nslookup` on the domain, or even `ping`. – yprez Dec 18 '13 at 14:01
2 Answers
0
If you know Remote system IP range then we can find it easily with nmap.
nmap -p 22 --open -sV 10.0.0.0/24 > sshservers
So Here I am assuming my Remote host IP range ( 0 - 24) is 10.0.0.0/24 & as all of we know that SSH access will be done on Port 22 always.
hope that helps.
Raja G
- 100,643
- 105
- 254
- 328