LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   No password prompt on Debian 9.3 (https://www.linuxquestions.org/questions/debian-26/no-password-prompt-on-debian-9-3-a-4175663356/)

credev 10-29-2019 11:10 AM

No password prompt on Debian 9.3
 
Hello,

I am stuck with sshd_config settings on Debian 9.3

Systemctl status ssh
It´s ok
Port 22 is open no firewall yet.

sshd_config have:
MaxSessions 5
PermitRootLogin yes
PasswordAuthentication yes
PubkeyAuthentication no

Using
ssh -vv root@xxx.xx.xxx.xx -p 22

I still get immediately “Permission denied” without get the password prompt.
Permission denied (publickey,password,keyboard-interactive).
Or
Permission denied (password).

ssh -vv root@xxx.xx.xxx.xx -p 22
So what ´s missing to enable remote ssh with root password ?

Thanks

uteck 11-02-2019 05:47 PM

Since you are using -vv, please post what it is reporting.

LBM 11-06-2019 06:06 AM

Also check /var/log/auth.log on the server you are trying to connect to (if possible)

andre@home 11-07-2019 07:48 PM

And.... pls mention that you're active on another horse too....
https://forum.linuxconfig.org/t/enab...ig-org/1875/19

Not very encouraging for helpers to find it themselves....:redface:

A basic guide line to check your setup:
https://linuxhint.com/enable-ssh-server-debian/

credev 11-15-2019 05:48 AM

Hi,

The issue was solved updating local ssh.

Thank you all


All times are GMT -5. The time now is 04:25 PM.