Software Inventory

Table 4-1 provides a reference to the many files and programs installed with SSH.

Table 4-1. Software inventory

Component

OpenSSH

Tectia

Server config

/etc/ssh/sshd_config

/etc/ssh2/sshd2_config

Global client config

/etc/ssh/ssh_config

/etc/ssh2/ssh2_config

Host private key

/etc/ssh/ssh_host_dsa_key

/etc/ssh2/hostkey

Host public key

/etc/ssh/ssh_host_dsa_key.pub

/etc/ssh2/hostkey.pub

Client host keys

/etc/ssh/ssh_known_hosts

~/.ssh/known_hosts

/etc/ssh2/hostkeys

~/.ssh2/hostkeys/*

Remote host keys

~/.ssh/known_hosts

~/.ssh2/knownhosts/*

libwrap control files

/etc/hosts.allow

/etc/hosts.deny

/etc/hosts.allow

/etc/hosts.deny

Authorization for login via public key

~/.ssh/authorized_keys

 

~/.ssh2/authorization

Authorization for login via trusted host

/etc/hosts.equiv

/etc/shosts.equiv

~/.shosts

~/.rhosts

/etc/hosts.equiv

/etc/shosts.equiv

~/.shosts

~/.rhosts

Default key pair for public-key authentication

SSH-2/RSA:

~/.ssh/id_rsa{.pub}

SSH-2/DSA:

~/.ssh/id_dsa{.pub}

(No default)

Random seed

~/.ssh/prng_seed [a]

~/.ssh2/random_seed

/etc/ssh2/random_seed

Commands for generating randomness

/etc/ssh/ssh_prng_cmds

-

Terminal client

ssh

slogin link to ssh

ssh2 [b]

Secure file copy client

scp

scp2 b

Signer program

ssh-keysign

ssh-signer2 b

sftp2/scp2 server

sftp-server

sftp-server2 b

Authentication agent

ssh-agent

ssh-agent2 b

Key generator

ssh-keygen

ssh-keygen2 b

Key add/remove

ssh-add

ssh-add2 b

Find SSH servers

ssh-keyscan

ssh-probe2 b

Get passphrase via terminal or X

ssh-askpass

x11-ssh-askpass

ssh-askpass2 b

Server program

sshd

sshd2 b

[a] Present only if using OpenSSH’s internal entropy-gathering mechanism (i.e., no /dev/random or equivalent on system).

[b] A symbolic link without the “2” suffix is also installed.

Get SSH, The Secure Shell: The Definitive Guide, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.