[K12OSN] ssh key generation

Immanuel Derks I.Derks at translucent.nl
Tue May 25 12:38:50 UTC 2004


Hi all,

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
with this.

It's easy to produce the keys without user intervention during login
like:

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.


Kind regards,
Immanuel Derks





More information about the K12OSN mailing list