Answer the question
In order to leave comments, you need to log in
Inappropriate SSH behavior?
When connecting users via SSH, it writes Access Denied, although the username and password are correct. Moreover, if you connect to the same user via su
or ftp, then everything connects perfectly. Please tell me what is the matter, what to do and how to solve the problem ?!
Answer the question
In order to leave comments, you need to log in
In the /etc/ssh/sshd_config file add " AllowUsers username ".
Run sshd without background and debugging and see what it says about why it's denied.
Possible reasons:
- cipher suites did not agree (rare, but possible - either a very old client or a very old server)
- users are allowed by name, that is, if I have in the config:
AllowUsers rmbackup testonlytt
then at least crack, but no one except these two will connect
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question