![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Repositories & Backports Need help with apt-get and updating Ubuntu? Post here.. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
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. |
|
|
|
|
|
#2 |
|
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 |
|
|
|
|
|
#3 |
|
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.
|
|
|
|
|
|
#4 | |
|
Guest
Beans: n/a
|
Re: PUTTY Access Denied
Quote:
Paris Hilton insects blood pressure Debt Consolidation Cash Advance |
|
|
|
|
#5 | |
|
First Cup of Ubuntu
![]() Join Date: Oct 2009
Beans: 2
|
Re: PUTTY Access Denied
Quote:
however, how and where do you run '/etc/init.d/ssh restart'. i don't know where to run commands. thanks |
|
|
|
|
|
|
#6 |
|
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.
|
|
|
|
|
|
#7 |
|
5 Cups of Ubuntu
![]() Join Date: Apr 2006
Location: Germany
Beans: 24
Kubuntu 9.10 Karmic Koala
|
you need to open up a terminal, and type this into it
Code:
sudo /etc/init.d/ssh restart Ok, apart from that I am having the same problem. I changed the Code:
/etc/ssh/sshd_config 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? |
|
|
|
|
|
#8 |
|
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 |
|
|
|
|
|
#9 |
|
Caffeine Fuelled
![]() 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
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|