![]() To solve this issue, it depends on the authentication method you are using. Sometimes, you may be denied the access to your SSH server with this error message “SSH access denied” on Debian. ![]() $ sudo iptables -I INPUT -p tcp -m tcp -dport 22 -j ACCEPT Debian : SSH access denied If the rule is not set for SSH, you can set by running the iptables command again. $ sudo iptables -L -nĪCCEPT tcp - anywhere anywhere tcp dpt:ssh If you are using iptables, you can also have a check at your current IP rules with the iptables command. ![]() To solve “SSH connection refused” you have to double check your UFW firewall settings.īy default, Debian uses UFW as a default firewall, so you might want to check your firewall rules and see if SSH is correctly allowed. Usually, you are getting this error because your firewall is not properly configured on Debian. Here is the list of the common errors you might get during the setup. In some cases, you may run into many error messages when trying to setup a SSH server on Debian 10.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |