Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem getting SSH running properly
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
KraGorn
n00b
n00b


Joined: 17 Apr 2002
Posts: 40
Location: Warrington, England

PostPosted: Wed Apr 17, 2002 8:31 pm    Post subject: Problem getting SSH running properly Reply with quote

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
View user's profile Send private message
Nitro
Bodhisattva
Bodhisattva


Joined: 08 Apr 2002
Posts: 661
Location: San Francisco

PostPosted: Wed Apr 17, 2002 8:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
KraGorn
n00b
n00b


Joined: 17 Apr 2002
Posts: 40
Location: Warrington, England

PostPosted: Wed Apr 17, 2002 9:09 pm    Post subject: Reply with quote

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 ... :wink:
_________________
You'll never catch ME using a sig.!
Back to top
View user's profile Send private message
Nitro
Bodhisattva
Bodhisattva


Joined: 08 Apr 2002
Posts: 661
Location: San Francisco

PostPosted: Wed Apr 17, 2002 9:11 pm    Post subject: Reply with quote

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 ... :wink:


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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum