Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Ubuntu/Debian:

No Format
sudo apt-get install -y openssh-server

CentOS/RHEL:

No Format
sudo yum install -y openssh-server

Create Keys:

Note: This does NOT matter what server you make them on, and the end of the public key, which has your username & computer name, is JUST A COMMENT. You can delete it.

No Format
ssh-keygen -t rsa

Copy your keys to a safe location.!

No Format
id_rsa = Private Key
id_rsa.pub = Public Key (Store in ~/.ssh/authorized_keys)

...