version 1.97, 2001/03/02 06:21:01 |
version 1.98, 2001/03/02 09:42:49 |
|
|
.Nm sshd . |
.Nm sshd . |
This file should be writable by root only, but it is recommended |
This file should be writable by root only, but it is recommended |
(though not necessary) that it be world-readable. |
(though not necessary) that it be world-readable. |
.It Pa /etc/ssh_host_key |
.It Pa /etc/ssh_host_key, /etc/ssh_host_dsa_key, /etc/ssh_host_rsa_key |
Contains the private part of the host key. |
These three files contain the private parts of the |
This file should only be owned by root, readable only by root, and not |
(SSH1, SSH2 DSA, and SSH2 RSA) host keys. |
|
These files should only be owned by root, readable only by root, and not |
accessible to others. |
accessible to others. |
Note that |
Note that |
.Nm |
.Nm |
does not start if this file is group/world-accessible. |
does not start if this file is group/world-accessible. |
.It Pa /etc/ssh_host_key.pub |
.It Pa /etc/ssh_host_key.pub, /etc/ssh_host_dsa_key.pub, /etc/ssh_host_rsa_key.pub |
Contains the public part of the host key. |
There three files contain the public parts of the |
This file should be world-readable but writable only by |
(SSH1, SSH2 DSA, and SSH2 RSA) host keys. |
|
These files should be world-readable but writable only by |
root. |
root. |
Its contents should match the private part. |
Their contents should match the respective private parts. |
This file is not |
These files are not |
really used for anything; it is only provided for the convenience of |
really used for anything; they are provided for the convenience of |
the user so its contents can be copied to known hosts files. |
the user so their contents can be copied to known hosts files. |
These two files are created using |
These files are created using |
.Xr ssh-keygen 1 . |
.Xr ssh-keygen 1 . |
.It Pa /etc/primes |
.It Pa /etc/primes |
Contains Diffie-Hellman groups used for the "Diffie-Hellman Group Exchange". |
Contains Diffie-Hellman groups used for the "Diffie-Hellman Group Exchange". |