Skip to content

Instantly share code, notes, and snippets.

@AaronPhalen
Last active December 15, 2016 07:36
Show Gist options
  • Save AaronPhalen/3b10590328b11e33c992 to your computer and use it in GitHub Desktop.
Save AaronPhalen/3b10590328b11e33c992 to your computer and use it in GitHub Desktop.
Basic commands for configuring ssh in linux
Author: Aaron Phalen | Twitter: @aaromn_phalen | Email: [email protected]
Basic SSH Configuration Commands
================================
1. Installation
a) sudo apt-get install openssh-server
b) sudo apt-get install openssh-client
2. Configuration
a)
Public-Private keys
The private key is unique to an individual computer (host), and is used to sign a certificate whereas the public key is used to confirm the signature of the signed key. The public key is put into the authorized_keys file to which the host is looking for ssh access over port 22.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment