When I want to connect on my raspberry with the terminal via SSH, I have to do :

ssh pi@raspberry

I know the raspberry is the hostname, but what is pi@?


1 Answer 1


The format for the SSH command is:

ssh user@hostname

In this case, you're saying:

"Create an SSH session to hostname raspberry as user pi.

  • Ohh ok thanks ! So it's just the username ! So, I suppose that I can delete the "pi" username and create my own one with root privildge ?
    – user676767
    Commented Mar 18, 2020 at 10:01
  • 1
    Yes, you can create new users and name them whatever you want. You can also rename the "pi" account if you want, or delete it. Be sure you create and test the new one before deleting the pi account to avoid locking yourself out.
    – jwh20
    Commented Mar 18, 2020 at 10:26
  • @user676767 Please accept the answer with a click on the tick on its left side. Only this will finish the question and it will not pop up again year for year.
    – Ingo
    Commented Mar 19, 2020 at 14:18

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.