1

I have secured my SSH logins with certificate authorisation and I want to change my username, so I did. When I did this, I was denied access. Is there a way to change username without affecting the SSH login process?

3
  • The question is a general unix question and has nothing to do with Raspberry Pi.
    – Ingo
    May 17, 2019 at 8:25
  • @Ingo Sorry, I thought it was raspberry pi related as I am using it as a server.
    – LtMuffin
    May 17, 2019 at 19:39
  • Hi Leon185, it is not that you would not get an answer, at least in a comment. But it is possible that you get votes to close (you have already 3 of 5 as you can see) due to our policies. In your case it doesn't make a difference if you use a RasPi or any other computer. It is only that you may get quicker better answers at e.g. unix.stackexchange.com
    – Ingo
    May 17, 2019 at 20:22

1 Answer 1

1
  1. check if ssh public key remained in authorized file on new user ~/.ssh directory on target machine
  2. put new username in connection string on client side too
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.