Operating System - HP-UX
1835846 Members
2578 Online
110085 Solutions
New Discussion

SSH2 public keys in NIS+ table

 
Kieran Lismore
New Member

SSH2 public keys in NIS+ table

I was told that is possible to have a SSH public key in a NIS+ table, and having the SSH authentication done through the table entry rather then id_dsa_1024_a.pub file.

Thanks.
3 REPLIES 3
Barry O Flanagan
Respected Contributor

Re: SSH2 public keys in NIS+ table

I'm pretty sure you can store any data in a NIS+ table if you create it yourself. Don't see any reason why you can't create one with a column for a SSH public key.

Have a look at the man page on 'nistbladm' and 'nisaddent'.

don't know about the other part of the Q though...
Calvin Bebermeyer
Occasional Advisor

Re: SSH2 public keys in NIS+ table

Though I have not done this, but it seems to me that all you would need to do is put the complete path to the key into the authorization file.
Kieran Lismore
New Member

Re: SSH2 public keys in NIS+ table

First of all thanks for your replies.

In the http://fy.chalmers.se/~appro/ssh_beyond.html the author refers to the following option on the ssh conf file:

PermittedKeysSource nis[:mapname] nisplus[:mapname] /var/ssh/userkeys ~/.ssh/authorized_keys

But I'm unable to find this option on the Openssh release...

did you ever heard about it?