Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jul 2005
    Posts
    609

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

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

  2. #2
    Member serversphere's Avatar
    Join Date
    Jan 2004
    Posts
    658

    Default

    Try /var/log/secure or /var/log/messages?
    Darren Benfer | SS-Darren | AIM: serversphere
    www.serversphere.com
    Dedicated Server Solutions Have Come Full Circle

  3. #3
    Member
    Join Date
    Apr 2006
    Posts
    13

    Default

    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)

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jul 2005
    Posts
    609

    Default

    Thanks! I found the SSH logins, where do I find the FTP logins?

  5. #5
    Member
    Join Date
    Apr 2006
    Posts
    13

    Default

    Quote Originally Posted by BianchiDude View Post
    Thanks! I found the SSH logins, where do I find the FTP logins?
    /var/log/messages

  6. #6
    Member FrankyKnife's Avatar
    Join Date
    Mar 2004
    Location
    Zurich (CH)
    Posts
    16

    Default

    OMG... thx sooooo much!

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

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


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

Similar Threads & Tags
Similar threads

  1. SSH logins fail
    By LasseTK in forum Security
    Replies: 2
    Last Post: 08-20-2010, 03:18 AM
  2. Child accounts unable to log in to FTP or Mail
    By destam in forum New User Questions
    Replies: 2
    Last Post: 03-03-2010, 05:58 AM
  3. Where i find a scrip o something like that to manager FTP accounts?
    By greenfrognet in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-22-2008, 09:56 PM
  4. Where i can find ssh access log
    By xphost in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-02-2003, 05:32 PM
  5. User cannot log in with FTP accounts...
    By brianteeter in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 05-09-2002, 03:52 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube