Scientific Linux Forum.org



  Reply to this topicStart new topicStart Poll

> Openssh preauth, how to bypass openssh preauth
vicchi
 Posted: Jan 24 2017, 05:37 AM
Quote Post


SLF Newbie


Group: Members
Posts: 1
Member No.: 3821
Joined: 24-January 17









I got one requirement from our clients regarding remote authentication. In which all users info present in remote user database.

Currently using openssh for SSH connections.
To open a new remote session via SSH, the openssh will look into the /etc/passwd file. If user present then it will allow to login using password or key authentication.

But in my case all user info is present in remote database and authentication is form remote using tacacs+ server.

Due to this I am facing error message as below
2017 Jan 13 10:45:51 : switch : sshd : Invalid user test from 10.12.16.16
2017 Jan 13 10:45:51 : switch : input_userauth_request: invalid user test [preauth]

Please give some inputs on how to handle this scenario.

Regards,
vicchi.
PMEmail Poster
^
helikaon
 Posted: Feb 2 2017, 11:19 AM
Quote Post


SLF Administrator
*******

Group: Admins
Posts: 835
Member No.: 4
Joined: 8-April 11










Hi,
which SL are you trying to log onto? 6 or 7?
What kind of external database you talk about? LDAP?
Also if you log on the server as a 'root' can you then "su -" to normal user? Will you get the normal user prompt?
What is your "nsswitch.conf" file saying about credential preferences?


--------------------
PMEmail Poster
^
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll