LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 10-23-2008, 01:49 AM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Rep: Reputation: 50
How to know always know the IP of a distant PC ? sthg in repos.?


Hello
I have a pc that I can log in through secured ssh.
How to know always know the IP of a distant PC ? sthg in repos.?
it has any dns thing, just IP.

thanks
 
Old 10-23-2008, 02:16 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
You really need to say what you are trying to acheive - the question is really a little open. There are too many ways to discover the IP of another host on the internet, an intranet, a big lan etc which depend on what is happening. For eg. If the remote PC accesses a web page, you can pull it's IP off the web server ... though the user may be hiding or spoofing another's IP.

Considering the ssh context - perhaps you just want to be able to login via ssh to your own PC over the internet - thus creating a mini VLAN. To do this means you need to know the external IP of your computer.

http://www.linuxquestions.org/questi...-a-nat-333878/

As well as that, you need to set up port forwarding on your machine, so people scanning port 22 won't pick up that there is an ssh shell login there which they could brute force.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Family: How distant is too distant. Or... RHLinuxGUY General 10 08-21-2008 10:03 PM
Is there sthg like gsetroot + browser_preview possibility ? patrick295767 Linux - General 1 01-27-2007 06:15 AM
Local X server for distant desktop niamor Linux - Networking 3 02-09-2006 02:06 AM
is there sthg like liloconfig in Free.bsd ? Dominik *BSD 2 01-12-2004 10:24 PM
Remote config/setup a distant PC satimis Linux - Networking 2 10-29-2003 05:44 AM


All times are GMT -5. The time now is 09:52 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration