OpenBSDLab - new user

How to give a new user access to the test machines?

Add SSH-Key to /home/test/sshkeys/NewUser

Add Name of NewUser to machines

$ echo NewUser >> /home/ot1/users
$ echo NewUser >> /home/ot2/users
$ echo NewUser >> /home/ot3/users
...

recreate authorized_keys files

$ doas /home/test/bin/keyrollout.sh
renew /home/ot1/.ssh/authorized_keys user1 user2 NewUser
renew /home/ot2/.ssh/authorized_keys user1 user2 NewUser
renew /home/ot3/.ssh/authorized_keys user1 user2 NewUser
renew /home/ot4/.ssh/authorized_keys user1 user2
...