Raspberry Pi – configuring SSH to use Certificate Authentication

configuring SSH to use Certificate Authentication

$ sudo service ssh status
$ mkdir ~/.ssh
$ chmod 700 ~/.ssh
$ ssh-keygen -t rsa
$ ssh-copy-id <userid>@<destination hostname or ip address>
$ sudo service ssh restart

and remove with

$ ssh-keygen -f „/home/<userid>/.ssh/known_hosts“ -R „<destination hostname or ip address>“

Leave a Reply

You must be logged in to post a comment.