Hi guys,

I am trying to add a restriction to an SSH public key in the 
authorized_keys file. The restriction is to only allow ssh access from 
certain IP addresses using that particular SSH key. 

SSH has something called pattern-list where you can add from=<pattern-list> 
ahead of the public key in the authorized_keys. 

something like this:

from="10.0.0.?,*.example.com" ssh-rsa AB3Nz...EN8w== u...@example.com 

I couldn't find the ssh_authorized_key attribute that can help achieve 
that. 

Can someone please help me find a way to do it using puppet 
ssh_authorized_key  resource?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/6af03fb5-e720-488e-89ec-a7bf48b41dean%40googlegroups.com.

Reply via email to