Lines 744-749
Link Here
|
744 |
The file |
744 |
The file |
745 |
.Pa ~/.ssh/authorized_keys |
745 |
.Pa ~/.ssh/authorized_keys |
746 |
lists the public keys that are permitted for logging in. |
746 |
lists the public keys that are permitted for logging in. |
|
|
747 |
Also public keys list can be stored in |
748 |
.Pa /etc/openssh/authorized_keys/%u |
749 |
(where %u is username). If last file is present |
750 |
.Pa ~/.ssh/authorized_keys |
751 |
is not taken in account. |
747 |
When the user logs in, the |
752 |
When the user logs in, the |
748 |
.Nm |
753 |
.Nm |
749 |
program tells the server which key pair it would like to use for |
754 |
program tells the server which key pair it would like to use for |
Lines 774-780
Link Here
|
774 |
The user should then copy the public key |
779 |
The user should then copy the public key |
775 |
to |
780 |
to |
776 |
.Pa ~/.ssh/authorized_keys |
781 |
.Pa ~/.ssh/authorized_keys |
777 |
in his/her home directory on the remote machine. |
782 |
in his/her home directory on the remote machine |
|
|
783 |
or |
784 |
.Pa /etc/openssh/authorized_keys/username |
785 |
on remote machine. |
778 |
The |
786 |
The |
779 |
.Pa authorized_keys |
787 |
.Pa authorized_keys |
780 |
file corresponds to the conventional |
788 |
file corresponds to the conventional |
Lines 1253-1258
Link Here
|
1253 |
This file is not highly sensitive, but the recommended |
1261 |
This file is not highly sensitive, but the recommended |
1254 |
permissions are read/write for the user, and not accessible by others. |
1262 |
permissions are read/write for the user, and not accessible by others. |
1255 |
.Pp |
1263 |
.Pp |
|
|
1264 |
.It /etc/openssh/authorized_keys/ |
1265 |
Can contain files, named with usernames, containing users' public keys |
1266 |
(RSA/DSA) that can be used for logging in. It has greater priority, than |
1267 |
~/.ssh/authorized_keys |
1268 |
.Pp |
1256 |
.It ~/.ssh/config |
1269 |
.It ~/.ssh/config |
1257 |
This is the per-user configuration file. |
1270 |
This is the per-user configuration file. |
1258 |
The file format and configuration options are described in |
1271 |
The file format and configuration options are described in |
Lines 1354-1359
Link Here
|
1354 |
.Xr sshd 8 |
1367 |
.Xr sshd 8 |
1355 |
manual page for more information. |
1368 |
manual page for more information. |
1356 |
.El |
1369 |
.El |
|
|
1370 |
.Sh ALTLINUX SPECIFIC |
1371 |
.Pp |
1372 |
AuthorizedKeysSystemFile option to sshd_config |
1373 |
was added to improve security. |
1357 |
.Sh SEE ALSO |
1374 |
.Sh SEE ALSO |
1358 |
.Xr scp 1 , |
1375 |
.Xr scp 1 , |
1359 |
.Xr sftp 1 , |
1376 |
.Xr sftp 1 , |