Hey brains trust. im setting up a new pi5 wanting to use as a nas. its all set up except it wont let me ssh in from my macbook. the password and user are correct but when i enter the details i just get sorry, try again.
i have managed to get in when i wore the pi direct to the mac but once i reboot after connecting to my router it wont let me in again.
it has also failed at making the IP static. i do not know where im going wrong.
Hi there, @Peter299741, and welcome to the forum, glad to have you here.
Two things off the top of my head:
Making the Pi’s address static can be a bit confusing using BASH or even the GUI. I find the best way is to connect to your router, find the list of connected devices, find your Pi and then set a static address for it in the router. Then flush the dhcp information on the Pi and it should get the static address when using DHCP. I find it to be a cleaner more newb friendly setup.
If you’ve arrived at the authorisation stage and are not being let through there are three possibilities: the username is wrong, the password is wrong, the keyboard settings on a computer are whack. Usually a fresh SD flash and triple checking username and password solves that for me. I misremember or mistype passwords all the time…
Jane thank you so much. i have added the static ip to the router. i have reset my password several times and it doesn’t change the ‘sorry, try again’ error
No, rather than having root privileges for all accounts by default, users with ‘sudo’ privileges can temporarily become root when they use the ‘sudo’ keyword at the start of a command.
The best way I can think to explain it is that rather than you working on the Command Centre all the time, you work on your PC and only remote shell a single command into the Command Centre when you need to.
It’s just more secure to keep the administrative account separate even when you are technically the Administrator.