ssh connection using kerberos server asks for password

General support questions
Post Reply
joshroden
Posts: 9
Joined: 2011/03/29 14:58:30

ssh connection using kerberos server asks for password

Post by joshroden » 2018/09/20 08:26:32

Hi
I followed the Urban Penguin tutorial on their sight at

https://www.theurbanpenguin.com/configu ... beros-kdc/

and also their course on pluralsight and I did this twice using a new Linux VM
but each time when I try to login using ssh (after kerberizing ssh) I am asked
for a password.
Help!
Josh

hunter86_bg
Posts: 2019
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: ssh connection using kerberos server asks for password

Post by hunter86_bg » 2018/09/21 09:02:01

In order kerberos to kick in, you need to obtain a kerberos ticket.
Login as the user and run 'klist' to identify if you have a valid ticket.
If there is no ticket, run 'kinit' after that try to ssh to the other machine.

joshroden
Posts: 9
Joined: 2011/03/29 14:58:30

Re: ssh connection using kerberos server asks for password

Post by joshroden » 2018/09/22 08:28:23

The kinit and klist was performed by me along with all the instructions
according to the Urban Penguin tutorial but still I am asked for a password.
Have a look at their tutorial.
https://www.theurbanpenguin.com/configu ... beros-kdc/
thx

joshroden
Posts: 9
Joined: 2011/03/29 14:58:30

Re: ssh connection using kerberos server asks for password

Post by joshroden » 2018/09/22 09:18:41

Problem solved!!!!!
I got the answer from this site https://www.certdepot.net/rhel7-configure-kerberos-kdc/

Solution:
Kerberos won't work if you put an alias between the IP and the FQDN.

CERTDEPOT.NET really rocks!

Post Reply