Results 1 to 6 of 6
Hi there,
I have been about it the IT world for many years, mainly as a VB and data developer. Have just started to get into Linux.
Hitting problems at ...
- 02-10-2011 #1Just Joined!
- Join Date
- Feb 2011
- Posts
- 3
Remote logon to Linux
Hi there,
I have been about it the IT world for many years, mainly as a VB and data developer. Have just started to get into Linux.
Hitting problems at the first fence .. lol
I am trying to Remote into my new linux server from a windows pc. I have installed Putty on my pc. I can connect to the server via it, it asks for login as and password. Problem is everytime I put in my user "www" and password I get access denied .. !!
I have tried login in on the server itself using SSH (ipaddess) -l www
and it does not let me login either..
So clever people, before I go back to Microsoft crying and screaming .. lol can anyone help?
Andy
- 02-10-2011 #2
Which distro are you running?
First guess, open the file /etc/ssh/sshd_config on your server. Find where it says PasswordAuthentication and make sure that is set to yes.
You might also want to check the files /etc/hosts.allow and /etc/hosts.deny to make sure sshd is allowed in.
You may also want to try setting up key authentication instead.
- 02-10-2011 #3Just Joined!
- Join Date
- Feb 2011
- Posts
- 3
Hi,
Thank you for your reply. In answer to you questions
Version is ... Debian 2.6.26-25 lennyl
PasswordAuthentication is yes
/etc/hosts.allow and /etc/host.deny are both blank (apart from normal readme stuff at the top)
- 02-10-2011 #4Just Joined!
- Join Date
- Mar 2007
- Location
- Bogotá, Colombia
- Posts
- 39
Make sure that your user has a shell to log in to in /etc/passwd
if you can't log in it's probably because it has /bin/nologin or /bin/false
you should have /bin/sh or /bin/bash to be able to login with the user
- 02-10-2011 #5Just Joined!
- Join Date
- Feb 2011
- Posts
- 3
Hi,
thanks for the reply
have checked that file and has a line in it like
www
:1000:1000 with /bin/bash at the end of it
- 02-13-2011 #6Just Joined!
- Join Date
- Feb 2011
- Posts
- 18
If i'm reading this correctly you are trying to login as user: www
sshd seems to be running it it's prompting you. Make sure that user www exists on the machine and that the password is set for user, www, accordingly.
Are you able to ssh as user root?


Reply With Quote