lfmunoz / devOps

GNU Affero General Public License v3.0
0 stars 0 forks source link

[alpine] copy pub key to authorized_keys? #7

Open lfmunoz opened 4 years ago

lfmunoz commented 4 years ago

cp ssh_host_rsa_key.pub /root/.ssh/authorized_keys

seems pointless to generate the keys, a user will either have to copy his public key into the server or will have to copy the private key out of the server . Probably best to copy public key into the server.