LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   ssh logs? (https://www.linuxquestions.org/questions/linux-security-4/ssh-logs-431927/)

dsids 04-05-2006 06:13 AM

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

shawnbishop 04-05-2006 07:06 AM

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)

lucktsm 04-05-2006 07:21 AM

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.

dsids 04-05-2006 01:15 PM

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


All times are GMT -5. The time now is 08:23 AM.