Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sshd fail to approve password
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
ranran
n00b
n00b


Joined: 11 Jul 2018
Posts: 69

PostPosted: Tue Jul 17, 2018 3:09 pm    Post subject: sshd fail to approve password Reply with quote

Hello,

I recently install gentoo.
I try to ssh connect
but it keep asking for passowrd.
trying to start is with debug I see
"
debug1: Unable to open the btmp file /var/log/btmp: No such file or directory
debug1: userauth-request for user mat service ssh-connection method password
debug1: attempt 2 failures 1
"
I "fixed" it by creating empty file with 0600 privilege.
But now I get
"Failed keyboard-interactive/pam for invalid user"

Any idea what's wrong ?

Regards,
ranran
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7071

PostPosted: Tue Jul 17, 2018 3:42 pm    Post subject: Reply with quote

per default sshd is configure to refuse root login.
so the question is : are you trying to log as root?
Back to top
View user's profile Send private message
saderror256
n00b
n00b


Joined: 26 Jul 2018
Posts: 13
Location: Current Directory

PostPosted: Fri Jul 27, 2018 10:25 pm    Post subject: Reply with quote

On login of the system it should tell you, simply set a root password and you are good to go.

Code:
passwd

_________________
FreeBSD user, but still uses and loves himself some Gentoo!

I wont judge you based on what you use, newbie or inexperienced, you are still amazing for being here B)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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