Sharad Chandra wrote:
> Hi all, I was reading man page of ttyname(3). I thought if i have
> ttyname then using that can i have IP address of connected host?.
> like in sshd logs on log file like.
You can read login informations from utmp(8). /var/run/utmp is a array
of utmp(8).
please check man pag
Hi all,
I was reading man page of ttyname(3). I thought if i have ttyname then using
that can i have IP address of connected host?. like in sshd logs on log file
like.
... sshd[]: Accepted keyboard-interactive/pam for
from port ssh2
This IP here is connected hosts ip..
is there any api
2 matches
Mail list logo