> Andrew, while you're in your code, can you let me know how I can > achieve this : > > ssh::auth::server { "us...@lan": user => "user1" } > ssh::auth::server { "us...@lan": user => "root" } > > I would like my big admin user to get access to several accounts. Is > there any trick that would do or does auth.pp needs more > functionnality ?
At present this isn't possible for a single key. The key title has to be unique, and the user parameter doesn't accept an array argument. I see the usefulness and will add it to my to-do list. For now, the workaround is to giver user2 multiple keys-- one for each user that you want him to authenticate as. Which the examples say there's no good reason to do :( If you're running ssh-agent, you can add all of the keys to your running agent. Then ssh will try them all and so eventually find the right one, provided that the number of keys is less than MaxAuthTries on the server :( -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.