appinteractive
04/19/2023, 11:03 AMssh 192.168.178.81 -v which I configures and is also showing up in the network (host name is not showing correctly in frizbox) and I only getting Permission denied (publickey,password)
I also tried to use the ssh keys and configured those in the pi imager but with no luck, they are there in the user_data file but login is not possible.
Any ideas or suggestions?kathy.auteberry
04/19/2023, 11:13 AMssh dietpi@192.168.178.81, since your local user likely isn’t called dietpi? 🤔appinteractive
04/19/2023, 11:14 AMsudo never had to do that beforekathy.auteberry
04/19/2023, 11:15 AMroot on the DietPi, so that also works but only makes me think that my version would also workkathy.auteberry
04/19/2023, 11:15 AMroot login via SSH is always recommended)appinteractive
04/19/2023, 11:17 AMappinteractive
04/19/2023, 11:17 AMkathy.auteberry
04/19/2023, 11:22 AMdietpi and `root`; by doing sudo ssh …, you’re changing your local user to root, thus attempting to log in as root, which will work
If you do just ssh <ip-address>, it will try to log in as the same username that you use on your local machine – a username that in all likelihood, doesn’t exist on your DietPi installation.
To override the user, you need to call ssh <username>@<ip-address>, in your case ssh dietpi@192.168.178.81
*simplification, shush 🤭appinteractive
04/19/2023, 11:41 AMappinteractive
04/19/2023, 11:41 AM