Skip to main content

How to check which user with public key has logged in server via ssh?

Comments

3 comments

  • quizknows
    I would advise you create unprivileged (normal) user accounts for each admin. Use one key per user account, and then give those account sudo privileges where needed.
    0
  • penguinbliss
    [quote="quizknows, post: 1685511">I would advise you create unprivileged (normal) user accounts for each admin. Use one key per user account, and then give those account sudo privileges where needed.
    Thanks for the help brother
    0
  • cPanelMichael
    I am happy to see the advice you received was helpful. I am marking this thread as [Resolved]. Thank you.
    0

Please sign in to leave a comment.