Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 671 Bytes

ssh_linux.md

File metadata and controls

22 lines (19 loc) · 671 Bytes

Red Hat OpenShift Container Platform on Azure

SSH Key Generation - Linux/CentOS/Fedora

  1. Go to bash/command line/terminal on your client device.
  2. Enter the commands:
mkdir ~/.ssh
chmod 700 ~/.ssh
ssh-keygen -t rsa
  1. At this point you will be prompted:
Generating public/private RSA key pair.
Enter file in which to save the key (/home/b/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/b/.ssh/id_rsa.
Your public key has been saved in /home/b/.ssh/id_rsa.pub.

Your public and private keys are now available in your home folder under the .ssh directory.