View previous topic :: View next topic |
Author |
Message |
KraGorn n00b
Joined: 17 Apr 2002 Posts: 40 Location: Warrington, England
|
Posted: Wed Apr 17, 2002 8:31 pm Post subject: Problem getting SSH running properly |
|
|
I tried to "emerge openssh" but found it was already installed, presumably by the bootstrap process, so I went ahead and generated the necessary host keys and started the daemon. I can log in using root from a client but using my normal user login fails and from syslog I see:
sshd[1786]: Failed password for xxx from nn.nn.nn.nn port nnnn
Okay, seems obvious, I entered the wrong password ... but turning on logging in PUTTY, the ssh client I'm using, shows the password IS correct. I've only ever run ssh once in the past using a SuSE distro where it all sort of just worked, so I don't know where to look to discover what this problem is.
Help, someone, please _________________ You'll never catch ME using a sig.! |
|
Back to top |
|
|
Nitro Bodhisattva
Joined: 08 Apr 2002 Posts: 661 Location: San Francisco
|
Posted: Wed Apr 17, 2002 8:32 pm Post subject: |
|
|
Make sure that you have a valid shell for you user. Example: Code: | usermod -s /bin/bash <username> |
_________________ - Kyle Manna
Please, please SEARCH before posting.
There are three kinds of people in the world: those who can count, and those who can't. |
|
Back to top |
|
|
KraGorn n00b
Joined: 17 Apr 2002 Posts: 40 Location: Warrington, England
|
Posted: Wed Apr 17, 2002 9:09 pm Post subject: |
|
|
Hey Nitro, many thanks for that, yes indeed that was the problem ... now if I just understood why lack of that setting didn't affect root or why I was able to login locally ... _________________ You'll never catch ME using a sig.! |
|
Back to top |
|
|
Nitro Bodhisattva
Joined: 08 Apr 2002 Posts: 661 Location: San Francisco
|
Posted: Wed Apr 17, 2002 9:11 pm Post subject: |
|
|
KraGorn wrote: | Hey Nitro, many thanks for that, yes indeed that was the problem ... now if I just understood why lack of that setting didn't affect root or why I was able to login locally ... |
Root had its default shell set to /bin/bash already. _________________ - Kyle Manna
Please, please SEARCH before posting.
There are three kinds of people in the world: those who can count, and those who can't. |
|
Back to top |
|
|
|