[K12OSN] ssh key generation
I.Derks at translucent.nl
Tue May 25 12:38:50 UTC 2004
I would like to know if other people who run separate application
servers over ssh have figured out an elegante solution for public key
production and distribution through a network without bothering students
It's easy to produce the keys without user intervention during login
ssh-keygen -t rsa -q -f $HOME/.ssh/id_rsa -C '' -N ''
But then the public key has to copied to the appserver like
scp -l $USER $HOME/.ssh/id_rsa.pub appserver:$HOME/.ssh/id_rsa.pub
and this would need a passwd from the user, so does one need to agree
with the production of the known_hosts file on the client side.
More information about the K12OSN