SSH

Introduction

This is just a reminder for myself about how to push SSH public keys to the server.

user public key

Login to to your Ubuntu workstation as yourself and run the following.

ssh-copy-id -i ~/.ssh/id_rsa.pub user@server1.example.org

root public key

Log in to your core server as ‘root’ and run the following.

ssh-copy-id -i /root/.ssh/id_rsa.pub root@server1.example.org

Leave a Reply