Networking Forums

Networking Forums > Computer Networking > Linux Networking > SSH logging

Reply
 
 
cranium.2003@gmail.com
Guest
Posts: n/a

 
      03-10-2006, 03:56 AM
Hi,
Can it be possible to display some messages whenever any user ssh to my
computer?? i mean like in redhat linux there is issue.net. so is there
any thing for ssh connections also?

Other problem is how can i record time spent by users by sshing on my
machine in any log file? I mean can i get when user ssh to me and when
he leaves my computer?

 
Reply With Quote
 
 
 
 
Michael Heiming
Guest
Posts: n/a

 
      03-10-2006, 06:14 AM
In comp.os.linux.networking (E-Mail Removed):
> Hi,
> Can it be possible to display some messages whenever any user ssh to my
> computer?? i mean like in redhat linux there is issue.net. so is there
> any thing for ssh connections also?


You can configure what file to show in sshd_config, see 'man
sshd_config' for details.

> Other problem is how can i record time spent by users by sshing on my
> machine in any log file? I mean can i get when user ssh to me and when
> he leaves my computer?


Your system does this already, 'man last' + 'man lastlog' for
details.

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 121: halon system went off and killed the
operators.
 
Reply With Quote
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
DMZ for logging Harry Putnam Linux Networking 10 01-31-2012 06:26 PM
Logging in Quinnteach Wireless Networks 1 11-19-2006 01:26 AM
IAS logging to SQL Please help Mike Adams Windows Networking 0 09-28-2006 06:23 PM
smb logging Andrew Zirkel Windows Networking 0 03-09-2006 05:53 PM
logging on allad Windows Networking 1 07-22-2003 11:32 AM



1 2 3 4 5 6 7 8 9 10 11