New install Debian I can login with a monitor plugin got my IP , from that I tried from my PC same credentials but not accepted in SSH?
Debian 11 cannot login SSH
-
-
Nefertiti
Hat den Titel des Themas von „Debian 11 cnnot login SSH“ zu „Debian 11 cannot login SSH“ geändert. -
Did you add the user to SSH group?
-
Not sure how to do it in debian CLI anyway I want login SSH root.
-
-
Plain, I just want to install OMV6 gedit shh_config does not work?
Ok I did nano
-
I enabled passwordauthentication but same no login?
-
Working
Code
Alles anzeigenroot@192.168.1.100's password: Linux debianopenmediavault 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Fri Nov 5 12:58:07 2021 root@debianopenmediavault:~#
-
Not sure how to do it in debian CLI anyway I want login SSH root.
From a security standpoint... I would strongly reconsider this (especially if you intend to use remote access). Create a user, give user SSH access, log in as user and drop to root with the su - command. This accomplishes 2 things (again, I am sure folks are very opinionated on this)... then disable root SSH access altogether.
1. From a security aspect, if you disable sudo (which I also do).. then if your system or a client was compromised, someone will have to crack two passwords.
2. Notice all the permission issues that frequently come up on this forum? I'm fairly convinced most of those users are basically doing everything as root and not even paying attention to the issues it can cause... then on top of that, when they can't fix the permission issue.. they go completely the other direction and change their permissions for "everyone can do everything"... Maybe I'm just anal, but that is maybe even more reckless.
To sum my feelings on this up.. If you don't need to be root (ie, you get a permission denied when you try to do something as a user)... then don't be root.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!