pterodactyl
Technical User
I would like to know if someone can tell me how to obtain
the TCP/IP address of a telnet process??
For example, if I establish a telnet session with getty,
I am assigned a psuedo tty of say ttyp11.
If I do a process status I can see who is using what tty
terminal. But if that terminal is really a telnet session,
is there a way of determining the tcp/ip address of the
connection?
netstat -a will show me the tcp/ip connections open, but
not the processid or the user that connection belongs to.
I want to be able to open a ftp connection to a remote
client from a process in the UNIX server, but I need to
be able to find the tcp/ip address of the remote connection
so I know which one to open.
is there some option of who or ps that might tell me this
information??
Thanks in advance.
G. Kirk Roser
the TCP/IP address of a telnet process??
For example, if I establish a telnet session with getty,
I am assigned a psuedo tty of say ttyp11.
If I do a process status I can see who is using what tty
terminal. But if that terminal is really a telnet session,
is there a way of determining the tcp/ip address of the
connection?
netstat -a will show me the tcp/ip connections open, but
not the processid or the user that connection belongs to.
I want to be able to open a ftp connection to a remote
client from a process in the UNIX server, but I need to
be able to find the tcp/ip address of the remote connection
so I know which one to open.
is there some option of who or ps that might tell me this
information??
Thanks in advance.
G. Kirk Roser