![]() That being said, it's really not a very good idea to allow *root* to log in using *ssh*. ![]() I believe the key you added in the dashboard is for *root* only. The public key for your Windoze machine needs to live here as well.Äescription > powershell still asking my limited user's password instead of passphrase. Obviously, ownership would be the user/group of the user that's trying to login. rw-r-r- 1 stevewi stevewi 1232 authorized_keys You need to add the public key to $HOME/.ssh/authorized_keys (where $HOME is the home directory for the user that's trying to login). You can do this from Windoze if you want, just specify the correct login & domain name at the appropriate prompts…but it's probably easier to do it in an ssh session on Linux and put it in the right place. Since, ssh keys are user-specific, you need to create a new key for the user that's trying to login. You'd best be sure that sudo works the way you want before you do this: After that, root logins will only be allowed at the ( lish/glish) console. ![]() In /etc/ssh/sshd_config and restarting sshd using sudo systemctl restart sshd. You can disallow this by changing: #PermitRootLogin no That being said, it's really not a very good idea to allow root to log in using ssh. ![]() I believe the key you added in the dashboard is for root only. Powershell still asking my limited user's password instead of passphrase. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |