Remote ssh access denied.

Mysticalsam

Distinguished
Jul 5, 2013
16
0
18,520
I am trying to ssh into ubuntu server via putty but unable to login. I can ssh locally via same and different subnet but when I go WAN, "Access Denied". Previously I was unable to get login page, I was getting connection time out. Then I reconfigured NAT rule in router firewall for port 22, this time I got login as: but can't login. Can't figure out where is the problem.

putty%20error.PNG

microtek-1.PNG

microtek-2.PNG

microtek-3.PNG
 
Change LogLevel to VERBOSE in your sshd.conf file. Then have a look at the /var/log/auth.log file to see what is happening. You might also want to check the AllowUsers and DenyUsers entries in the conf file.

PS - Just another thought. You are doing your testing from a computer that is located outside of your network?
 

TRENDING THREADS