LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack Search this Thread
Old 10-06-2005, 05:43 PM   #1
lynuz
Newbie
 
Registered: Oct 2005
Posts: 3

Rep: Reputation: 0
how to find the telnet server IP address on a multihomed Linux..


I have IP aliased my Linux system. So, it can be reached using 10 different IP addresses. I want to know what IP address the telnet client has used to access my system. I can easily find that info for an SSH connection- SSH_CONNECTION env var has it. But this var is not set in case of telnet connection.
 
Old 10-06-2005, 09:03 PM   #2
Dommy
Member
 
Registered: Jul 2004
Location: Canberra
Distribution: Mint 7
Posts: 204

Rep: Reputation: 30
How about /var/log/messages or try last as I think it will tell you how you have logged on
 
Old 10-06-2005, 09:18 PM   #3
lynuz
Newbie
 
Registered: Oct 2005
Posts: 3

Original Poster
Rep: Reputation: 0
I just forgot to mention that I need to do it programmatically.
Preferably in my PAM module. But if it's too complex, I need to do it in after successful authentication in a Program.
 
Old 10-10-2005, 02:23 AM   #4
Dommy
Member
 
Registered: Jul 2004
Location: Canberra
Distribution: Mint 7
Posts: 204

Rep: Reputation: 30
Have fun
 
Old 10-27-2005, 12:13 AM   #5
hubcarter
LQ Newbie
 
Registered: Oct 2005
Distribution: Fedora Core 2.6
Posts: 1

Rep: Reputation: 0
finding ip of telnet client

who -m contains it ...............
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find an IP address from the MAC address of a remote machine ? jitz Linux - General 3 01-03-2006 07:55 AM
can't find linux ip address mariams Linux - Networking 5 12-18-2005 10:03 AM
How do I find the IP address in linux thelinuxnewbe Linux - Networking 1 09-06-2004 12:32 AM
Find out own pc's ip address in linux Elim Linux - Networking 4 02-13-2004 09:33 AM
How do I find my DHCP server address paradoxlight Linux - Networking 3 03-24-2003 11:10 PM


All times are GMT -5. The time now is 05:38 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