LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 04-05-2006, 06:13 AM   #1
dsids
Member
 
Registered: Mar 2006
Distribution: FC4
Posts: 184

Rep: Reputation: 31
ssh logs?


hi everyone,
if I ssh from A to B, a log is generated in /var/log/messages of machine B...but is a log also generated in machine A when A tries to ssh to machine B. if so then where is it generated

thanks
danish
 
Old 04-05-2006, 07:06 AM   #2
shawnbishop
Member
 
Registered: Dec 2005
Location: South Africa
Distribution: CentOS,Ubuntu,Fedora
Posts: 249

Rep: Reputation: 30
Hi

There is a log generated in /var/log/secure, this should show all instances of ssh sessions or attempted sessions (on a RH system that is)
 
Old 04-05-2006, 07:21 AM   #3
lucktsm
Member
 
Registered: May 2004
Location: Atlanta, GA USA
Distribution: Redhat ES4, FC4, FC5, slax, ubuntu, knoppix
Posts: 155

Rep: Reputation: 30
There is not a log generated for an ssh connection from the client. On the ssh server you connect to there will be entries in messages and secure or auth.log.
 
Old 04-05-2006, 01:15 PM   #4
dsids
Member
 
Registered: Mar 2006
Distribution: FC4
Posts: 184

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by lucktsm
There is not a log generated for an ssh connection from the client. On the ssh server you connect to there will be entries in messages and secure or auth.log.
I will write down what I understood. Please correct me if Im wrong...

Suppose the ssh-client machine is in a LAN. If I ssh to a computer outside the LAN there is no way a log can be generated on the client side which mentions that an ssh connection has been made to a .....ip

thanks
Danish
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH logs in suse10 onjoo SUSE / openSUSE 6 11-08-2005 01:34 PM
Howto know each ssh users logs in at least every 24hrs gian2oo1 Slackware 5 04-20-2005 12:36 PM
Firewall logs in logs and terminal... robbow52 Debian 7 11-20-2004 07:13 PM
Firefox logs user out? Where are error logs? case1984 Linux - General 0 10-09-2004 02:22 PM
Separate firewall logs and general logs dominant Linux - General 3 04-20-2004 01:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 06:50 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration