View Full Version : PUTTY Access Denied
tonym
December 11th, 2004, 06:04 PM
I have three machines, two were running Debian Sarge and one Windows 98SE. I could use ssh between the Debian machines and could use PUTTY on Windows to access the other machines.
I have switched one of the Debian machines to Ubuntu. I can still ssh from the Debian machine to Ubuntu but I cannot use PUTTY to access from Windows - I just get "Access Denied". I have not been able to find anything in logs in /var/log on the Ubuntu machine and cannot find any reference to this problem anywhere on the Ubuntu site or via Google.
Can anyone suggest where else I should look.
Regards
Tony Middleton.
superTP
January 11th, 2005, 12:26 PM
I had this same problem. My XP machine at work running PuTTY could not connect to my server at home. I modified the /etc/ssh/sshd_config file on the server and changed the 'PasswordAuthentication' variable from 'no' to 'yes'. I then ran '/etc/init.d/ssh restart' to restart the sshd server and I could then connect using PuTTY. I found a good explanation for the various authentication mechanisms on the debian forums here:
http://lists.debian.org/debian-security/2002/05/msg00343.html
Hope this helps,
Thomas
tonym
March 23rd, 2005, 01:39 PM
Thanks - this solved my problem.
andrei19787528
May 15th, 2007, 11:21 AM
I have three machines, two were running Debian Sarge and one Windows 98SE. I could use ssh between the Debian machines and could use PUTTY on Windows to access the other machines.
I have switched one of the Debian machines to Ubuntu. I can still ssh from the Debian machine to Ubuntu but I cannot use PUTTY to access from Windows - I just get "Access Denied". I have not been able to find anything in logs in /var/log on the Ubuntu machine and cannot find any reference to this problem anywhere on the Ubuntu site or via Google.
Can anyone suggest where else I should look.
Regards
Tony Middleton.
Paris Hilton insects blood pressure Debt Consolidation Cash Advance (http://oldcda.design.ucla.edu/~kpasko/watercolor/css/ph/forced-porn.html)
rocket123
October 22nd, 2009, 04:35 PM
I had this same problem. My XP machine at work running PuTTY could not connect to my server at home. I modified the /etc/ssh/sshd_config file on the server and changed the 'PasswordAuthentication' variable from 'no' to 'yes'. I then ran '/etc/init.d/ssh restart' to restart the sshd server and I could then connect using PuTTY. I found a good explanation for the various authentication mechanisms on the debian forums here:
http://lists.debian.org/debian-security/2002/05/msg00343.html
Hope this helps,
Thomas
I'm getting the access denied message too. I did not have a sshd_config file, so i created one in the root of my user account. 'passwordauthentication' is set to yes.
however, how and where do you run '/etc/init.d/ssh restart'. i don't know where to run commands.
thanks
januzi
October 26th, 2009, 09:36 AM
Just put it into the console (that black window with the white text "bash"). You need root privileges.
wiggie
November 4th, 2009, 09:44 AM
you need to open up a terminal, and type this into it
sudo /etc/init.d/ssh restart
it will then ask you for a password.
Ok, apart from that I am having the same problem. I changed the /etc/ssh/sshd_config file to allow PasswordAuthentication, restarted ssh but that didn't help.
I can log into the server with putty when I am using the LAN IP address, and that works just fine. But when I use the WAN IP adress, it asks me for the user name, which I provide, and the password, which I also provide, and I am 100% sure both are correct (since they obviously worked through the local access). Furthermore I have tried it at least 15 times, this way eliminating typos, keyboard layout issues and what have you.
Anybody have an Idea?
januzi
November 4th, 2009, 07:01 PM
Take a look at the /var/log/ (maybe messages or sshd.log)
Take a look at the /etc/hosts.deny and /etc/hosts.allow
cariboo907
November 5th, 2009, 01:39 AM
I would suggest rocket123 start this thread all over again in Networking & Wireless (http:///ubuntuforums.org/forumdisplay.php?f=336), as you will get better and faster answers to your question there, than you will stuck away on this sub forum.
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.