"w" should sort you out.
Incase you are sure they are on ssh, as root you can also use netstat as
below.
]# netstat -anp | grep ssh | grep ESTAB

You can get even the port they are connected from and pid.

Regards,
Collins
-- 
In a world without walls and fences, who needs Windows and Gates
On Wed, Jan 16, 2013 at 12:25 PM, Jeremiah Bess <[email protected]>wrote:

> Use the 'w' or 'who' command. It shows who is connected.
>
>
> Jeremiah E. Bess
> Network Ninja, Penguin Geek, Father of five.
>
>  <https://plus.google.com/u/0/103182072532361592558> 
> <http://www.linkedin.com/profile/view?id=47451026>
>
>
> On Wed, Jan 16, 2013 at 1:55 PM, loial <[email protected]> wrote:
>
>> Is there anyway to tell where a putty ssh connection has originated
>> from...i.e the machine from which putty has been used to connect to the
>> server?
>>
>> --
>> You received this message because you are subscribed to the Linux Users
>> Group.
>> To post a message, send email to [email protected]
>> To unsubscribe, send email to
>> [email protected]
>> For more options, visit our group at
>> http://groups.google.com/group/linuxusersgroup
>> References can be found at: http://goo.gl/anqri
>> Please remember to abide by our list rules (http://tinyurl.com/LUG-Rulesor
>> http://cdn.fsdev.net/List-Rules.pdf)
>>
>
>  --
> You received this message because you are subscribed to the Linux Users
> Group.
> To post a message, send email to [email protected]
> To unsubscribe, send email to [email protected]
> For more options, visit our group at
> http://groups.google.com/group/linuxusersgroup
> References can be found at: http://goo.gl/anqri
> Please remember to abide by our list rules (http://tinyurl.com/LUG-Rulesor
> http://cdn.fsdev.net/List-Rules.pdf)
>

-- 
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
References can be found at: http://goo.gl/anqri
Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules or 
http://cdn.fsdev.net/List-Rules.pdf)

Reply via email to