SSH - Configuration

Host Key Not Cached Putty

About

There are two different sets of configuration files:

  • those for client programs (that is, ssh, scp, and sftp),
  • and those for the server (the sshd daemon).

Configuration Type

User / Client

For the open ssh client: ssh_config

  • on a user scope
$HOME/.ssh/config
  • for the system
/etc/ssh/ssh_config
# options may be specified in files in the .d directory 
# and override the central ssh_config file
/etc/ssh/ssh_config.d/*.conf

Example:

# Restricts the declarations (up to the next Host or Match keyword)
Host github*
    Hostname github.com
    # Specifies a file from which the user's identity key is read when using public key authentication. 
    IdentityFile ~/.ssh/id_rsa.github
    IdentitiesOnly yes
    AddKeysToAgent yes

System / Daemon (Sshd)

See What is sshd, the OpenSSH Server?





Discover More
Azure Firewall Public Ip Restriction
Azure - Oracle Database Manually Installation on Linux

The installation of the Oracle database on bare-bone Linux. For a quick an dirty installation, see Creation of a VM with Oracle Linux 7 Update 4 and a Standard_DS1_v2...
Host Key Not Cached Putty
What is SSH (Secure Shell)?

Secure Shell or SSH is a application protocol that allows data to be exchanged using a secure channel between two networked devices. Used primarily on GNU/Linux and Unix based systems to access shell...
Host Key Not Cached Putty
X Windows System (commonly X or X11)

X11 means that the display of a remotely running program is authorized to: be sent to your machine (localhost) via an X11 connection between a client (located on the remote server) and a server...
Host Key Not Cached Putty
X11 - Configuration

X11 configuration on the remote server. List: The /etc/X11/ directory is for X11 configuration files such as XF86Config.



Share this page:
Follow us:
Task Runner