LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   ssh...log files that store the login attempts (https://www.linuxquestions.org/questions/linux-networking-3/ssh-log-files-that-store-the-login-attempts-313623/)

Bgrad 04-15-2005 02:50 PM

ssh...log files that store the login attempts
 
I'm using RH version of Linux. Which is the file where all the login attempts (successful and rejected) are stored to access the server via an ssh client. I am running openssh server.
I am trying to debug an ssh client (mindterm). The problem is that I cannot connect to the ssh server via mindterm but i can connect through other clients such as cygwin. I am trying to see if mindterm actually is making the connection to the server.

Thanks!

Linux.tar.gz 04-15-2005 11:23 PM

Log are usually stored in /var/log/

Bgrad 04-16-2005 12:36 AM

Thanks! Linux.tar.gz

alecz20 03-28-2010 02:01 PM

More precisely,

/var/log/auth

nonamenobody 03-29-2010 09:40 AM

Quote:

Originally Posted by alecz20 (Post 3915678)
More precisely,

/var/log/auth

There is no such file on my CentOS 5 server.

My advice would be to grep about in /var/log to see what you can find, e.g.:
Code:

grep -lri sshd /var/log
or
Code:

grep -lri someusername /var/log
This should give you an idea of where to look. On my CentOS system the files of interest would be /var/log/secure* and /var/log/audit/audit.log*


All times are GMT -5. The time now is 01:15 AM.