Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Development & Programming > Repositories & Backports
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Repositories & Backports
Need help with apt-get and updating Ubuntu? Post here..

 
Thread Tools Display Modes
Old December 11th, 2004   #1
tonym
Gee! These Aren't Roasted!
 
Join Date: Nov 2004
Location: Manchester
Beans: 214
Kubuntu 7.04 Feisty Fawn
PUTTY Access Denied

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.
tonym is offline   Reply With Quote
Old January 11th, 2005   #2
superTP
First Cup of Ubuntu
 
Join Date: Jan 2005
Beans: 5
Re: PUTTY Access Denied

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-secur.../msg00343.html

Hope this helps,

Thomas
superTP is offline   Reply With Quote
Old March 23rd, 2005   #3
tonym
Gee! These Aren't Roasted!
 
Join Date: Nov 2004
Location: Manchester
Beans: 214
Kubuntu 7.04 Feisty Fawn
Re: PUTTY Access Denied

Thanks - this solved my problem.
tonym is offline   Reply With Quote
Old May 15th, 2007   #4
andrei19787528
Guest
 
Beans: n/a
Re: PUTTY Access Denied

Quote:
Originally Posted by tonym View Post
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
  Reply With Quote
Old 4 Weeks Ago   #5
rocket123
First Cup of Ubuntu
 
Join Date: Oct 2009
Beans: 2
Re: PUTTY Access Denied

Quote:
Originally Posted by superTP View Post
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-secur.../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
rocket123 is offline   Reply With Quote
Old 4 Weeks Ago   #6
januzi
Just Give Me the Beans!
 
Join Date: Sep 2009
Beans: 49
Re: PUTTY Access Denied

Just put it into the console (that black window with the white text "bash"). You need root privileges.
januzi is online now   Reply With Quote
Old 2 Weeks Ago   #7
wiggie
5 Cups of Ubuntu
 
wiggie's Avatar
 
Join Date: Apr 2006
Location: Germany
Beans: 24
Kubuntu 9.10 Karmic Koala
Cool Re: PUTTY Access Denied

you need to open up a terminal, and type this into it
Code:
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
Code:
/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?
wiggie is offline   Reply With Quote
Old 2 Weeks Ago   #8
januzi
Just Give Me the Beans!
 
Join Date: Sep 2009
Beans: 49
Re: PUTTY Access Denied

Take a look at the /var/log/ (maybe messages or sshd.log)
Take a look at the /etc/hosts.deny and /etc/hosts.allow
januzi is online now   Reply With Quote
Old 2 Weeks Ago   #9
cariboo907
Caffeine Fuelled
 
cariboo907's Avatar
 
Join Date: Mar 2006
Location: Williams Lake
My beans are hidden!
Ubuntu Development Release
Re: PUTTY Access Denied

I would suggest rocket123 start this thread all over again in Networking & Wireless, as you will get better and faster answers to your question there, than you will stuck away on this sub forum.
__________________
Forum Do's & Don't's|Malicious Commands

Please use Bittorrent to download Karmic Koala
cariboo907 is online now   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:51 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry