Enjoy Slackware 15.0!

Welcome to the Slackware Documentation Project

This is an old revision of the document!


Two remarks:

  1. I think that “noryungi@mypc$ scp TEST.rsa.pub nr@test.example.com:/home/nr/.ssh/authorized_keys” is a potentially destructive command. What if the user already has a ~/.ssh/authorized_keys file? You need to elaborate.
  2. Remove the “template” tag from the page. What did the comments at the bottom of the page source tell you?

Eric Hameleers 2012/09/03 15:51


Eric: you are absolutely right - I'll correct both your points ASAP.

- N.


Corrected!

- N.


Can we add ssh-copy-id as a command to copy the public key? It seems easier to use than scp for me, and probably less potentially destructive.

Ellendhel (French translator for this page)


Ellendhel: very good idea. I'll add ssh-copy-id soon.

- N.


Noryungi, I just used your excellent tutorial here to set up my pub/private keys on my three Slackware systems on my home network! Works very well. Thanks! :) — V. T. Eric Layton 2013/03/16 21:11

By the way, for this to work, the comment # needs to be removed from this entry in sshd_config. I will edit for you now. :)

nr@test.example.com$ grep -i pubkeyauth /etc/ssh/sshd_config

#PubkeyAuthentication yes

V. T. Eric Layton 2013/03/18 19:31


In Other Languages
Translations of this page?:
QR Code
QR Code talk:howtos:security:sshkeys (generated for current page)