One of my accounts was comprimised, where do I find a log with SSH/FTP logins?

rhysmcmurdo

Member
Apr 12, 2006
13
0
151
last

will show you a list of users and when they last logged on (Via ssh).

To view an older file, you can run last -f /var/log/wtmp.(Whatever you want to lookup)
 

FrankyKnife

Member
Mar 27, 2004
16
0
151
Zurich (CH)
OMG... thx sooooo much!

i looked for that for months now... everyone says something differerent like ftp..., xferlog..., pureftp..., aaaaaaaaaaaah! :mad:

also inside cpanel the ftp logs are not there, only http logs.


...now the ftp logs are called: 'messages' :eek: :D lol
(who should this know.. crazy world!?!)