diff options
author | Damien Miller <djm@mindrot.org> | 2006-01-06 14:48:52 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-01-06 14:48:52 +1100 |
commit | fb8ea74116bebb5cf68b1c346604895bd16c45e5 (patch) | |
tree | 1585476450b0ee013a13aba7661e7d7c649e02b2 | |
parent | 6aa2290b0c57fb35125c03e99cfc017ee4730df9 (diff) |
- jmc@cvs.openbsd.org 2006/01/03 16:52:36
[ssh.1]
put FILES in some sort of order: sort by pathname
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ssh.1 | 234 |
2 files changed, 121 insertions, 118 deletions
@@ -9,6 +9,9 @@ | |||
9 | - jmc@cvs.openbsd.org 2006/01/03 16:35:30 | 9 | - jmc@cvs.openbsd.org 2006/01/03 16:35:30 |
10 | [ssh.1] | 10 | [ssh.1] |
11 | use a larger width for the ENVIRONMENT list; | 11 | use a larger width for the ENVIRONMENT list; |
12 | - jmc@cvs.openbsd.org 2006/01/03 16:52:36 | ||
13 | [ssh.1] | ||
14 | put FILES in some sort of order: sort by pathname | ||
12 | 15 | ||
13 | 20060103 | 16 | 20060103 |
14 | - (djm) [channels.c] clean up harmless merge error, from reyk@ | 17 | - (djm) [channels.c] clean up harmless merge error, from reyk@ |
@@ -3643,4 +3646,4 @@ | |||
3643 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM | 3646 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM |
3644 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu | 3647 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu |
3645 | 3648 | ||
3646 | $Id: ChangeLog,v 1.4075 2006/01/06 03:48:34 djm Exp $ | 3649 | $Id: ChangeLog,v 1.4076 2006/01/06 03:48:52 djm Exp $ |
@@ -34,7 +34,7 @@ | |||
34 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 34 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
35 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 35 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
36 | .\" | 36 | .\" |
37 | .\" $OpenBSD: ssh.1,v 1.237 2006/01/03 16:35:30 jmc Exp $ | 37 | .\" $OpenBSD: ssh.1,v 1.238 2006/01/03 16:52:36 jmc Exp $ |
38 | .Dd September 25, 1999 | 38 | .Dd September 25, 1999 |
39 | .Dt SSH 1 | 39 | .Dt SSH 1 |
40 | .Os | 40 | .Os |
@@ -1054,109 +1054,6 @@ option in | |||
1054 | .Xr sshd_config 5 . | 1054 | .Xr sshd_config 5 . |
1055 | .Sh FILES | 1055 | .Sh FILES |
1056 | .Bl -tag -width Ds -compact | 1056 | .Bl -tag -width Ds -compact |
1057 | .It ~/.ssh/known_hosts | ||
1058 | Records host keys for all hosts the user has logged into that are not | ||
1059 | in | ||
1060 | .Pa /etc/ssh/ssh_known_hosts . | ||
1061 | See | ||
1062 | .Xr sshd 8 . | ||
1063 | .Pp | ||
1064 | .It ~/.ssh/identity | ||
1065 | .It ~/.ssh/id_dsa | ||
1066 | .It ~/.ssh/id_rsa | ||
1067 | Contains the private key for authentication. | ||
1068 | These files | ||
1069 | contain sensitive data and should be readable by the user but not | ||
1070 | accessible by others (read/write/execute). | ||
1071 | .Nm | ||
1072 | will simply ignore a private key file if it is accessible by others. | ||
1073 | It is possible to specify a passphrase when | ||
1074 | generating the key which will be used to encrypt the | ||
1075 | sensitive part of this file using 3DES. | ||
1076 | .Pp | ||
1077 | .It ~/.ssh/identity.pub | ||
1078 | .It ~/.ssh/id_dsa.pub | ||
1079 | .It ~/.ssh/id_rsa.pub | ||
1080 | Contains the public key for authentication. | ||
1081 | These files are not | ||
1082 | sensitive and can (but need not) be readable by anyone. | ||
1083 | They are | ||
1084 | never used automatically and are not necessary: they are only provided for | ||
1085 | the convenience of the user. | ||
1086 | .Pp | ||
1087 | .It ~/.ssh/config | ||
1088 | This is the per-user configuration file. | ||
1089 | The file format and configuration options are described in | ||
1090 | .Xr ssh_config 5 . | ||
1091 | Because of the potential for abuse, this file must have strict permissions: | ||
1092 | read/write for the user, and not accessible by others. | ||
1093 | .Pp | ||
1094 | .It ~/.ssh/authorized_keys | ||
1095 | Lists the public keys (RSA/DSA) that can be used for logging in as this user. | ||
1096 | The format of this file is described in the | ||
1097 | .Xr sshd 8 | ||
1098 | manual page. | ||
1099 | In the simplest form the format is the same as the | ||
1100 | .Pa .pub | ||
1101 | identity files. | ||
1102 | This file is not highly sensitive, but the recommended | ||
1103 | permissions are read/write for the user, and not accessible by others. | ||
1104 | .Pp | ||
1105 | .It /etc/ssh/ssh_known_hosts | ||
1106 | Systemwide list of known host keys. | ||
1107 | This file should be prepared by the | ||
1108 | system administrator to contain the public host keys of all machines in the | ||
1109 | organization. | ||
1110 | This file should be world-readable. | ||
1111 | This file contains | ||
1112 | public keys, one per line, in the following format (fields separated | ||
1113 | by spaces): system name, public key and optional comment field. | ||
1114 | When different names are used | ||
1115 | for the same machine, all such names should be listed, separated by | ||
1116 | commas. | ||
1117 | The format is described in the | ||
1118 | .Xr sshd 8 | ||
1119 | manual page. | ||
1120 | .Pp | ||
1121 | The canonical system name (as returned by name servers) is used by | ||
1122 | .Xr sshd 8 | ||
1123 | to verify the client host when logging in; other names are needed because | ||
1124 | .Nm | ||
1125 | does not convert the user-supplied name to a canonical name before | ||
1126 | checking the key, because someone with access to the name servers | ||
1127 | would then be able to fool host authentication. | ||
1128 | .Pp | ||
1129 | .It Pa /etc/ssh/ssh_config | ||
1130 | Systemwide configuration file. | ||
1131 | The file format and configuration options are described in | ||
1132 | .Xr ssh_config 5 . | ||
1133 | .Pp | ||
1134 | .It /etc/ssh/ssh_host_key | ||
1135 | .It /etc/ssh/ssh_host_dsa_key | ||
1136 | .It /etc/ssh/ssh_host_rsa_key | ||
1137 | These three files contain the private parts of the host keys | ||
1138 | and are used for | ||
1139 | .Cm RhostsRSAAuthentication | ||
1140 | and | ||
1141 | .Cm HostbasedAuthentication . | ||
1142 | If the protocol version 1 | ||
1143 | .Cm RhostsRSAAuthentication | ||
1144 | method is used, | ||
1145 | .Nm | ||
1146 | must be setuid root, since the host key is readable only by root. | ||
1147 | For protocol version 2, | ||
1148 | .Nm | ||
1149 | uses | ||
1150 | .Xr ssh-keysign 8 | ||
1151 | to access the host keys for | ||
1152 | .Cm HostbasedAuthentication . | ||
1153 | This eliminates the requirement that | ||
1154 | .Nm | ||
1155 | be setuid root when that authentication method is used. | ||
1156 | By default | ||
1157 | .Nm | ||
1158 | is not setuid root. | ||
1159 | .Pp | ||
1160 | .It ~/.rhosts | 1057 | .It ~/.rhosts |
1161 | This file is used in | 1058 | This file is used in |
1162 | .Cm RhostsRSAAuthentication | 1059 | .Cm RhostsRSAAuthentication |
@@ -1206,6 +1103,68 @@ authentication without permitting login with | |||
1206 | or | 1103 | or |
1207 | .Xr rsh 1 . | 1104 | .Xr rsh 1 . |
1208 | .Pp | 1105 | .Pp |
1106 | .It ~/.ssh/authorized_keys | ||
1107 | Lists the public keys (RSA/DSA) that can be used for logging in as this user. | ||
1108 | The format of this file is described in the | ||
1109 | .Xr sshd 8 | ||
1110 | manual page. | ||
1111 | In the simplest form the format is the same as the | ||
1112 | .Pa .pub | ||
1113 | identity files. | ||
1114 | This file is not highly sensitive, but the recommended | ||
1115 | permissions are read/write for the user, and not accessible by others. | ||
1116 | .Pp | ||
1117 | .It ~/.ssh/config | ||
1118 | This is the per-user configuration file. | ||
1119 | The file format and configuration options are described in | ||
1120 | .Xr ssh_config 5 . | ||
1121 | Because of the potential for abuse, this file must have strict permissions: | ||
1122 | read/write for the user, and not accessible by others. | ||
1123 | .Pp | ||
1124 | .It ~/.ssh/environment | ||
1125 | Contains additional definitions for environment variables, see section | ||
1126 | .Sx ENVIRONMENT | ||
1127 | above. | ||
1128 | .Pp | ||
1129 | .It ~/.ssh/identity | ||
1130 | .It ~/.ssh/id_dsa | ||
1131 | .It ~/.ssh/id_rsa | ||
1132 | Contains the private key for authentication. | ||
1133 | These files | ||
1134 | contain sensitive data and should be readable by the user but not | ||
1135 | accessible by others (read/write/execute). | ||
1136 | .Nm | ||
1137 | will simply ignore a private key file if it is accessible by others. | ||
1138 | It is possible to specify a passphrase when | ||
1139 | generating the key which will be used to encrypt the | ||
1140 | sensitive part of this file using 3DES. | ||
1141 | .Pp | ||
1142 | .It ~/.ssh/identity.pub | ||
1143 | .It ~/.ssh/id_dsa.pub | ||
1144 | .It ~/.ssh/id_rsa.pub | ||
1145 | Contains the public key for authentication. | ||
1146 | These files are not | ||
1147 | sensitive and can (but need not) be readable by anyone. | ||
1148 | They are | ||
1149 | never used automatically and are not necessary: they are only provided for | ||
1150 | the convenience of the user. | ||
1151 | .Pp | ||
1152 | .It ~/.ssh/known_hosts | ||
1153 | Records host keys for all hosts the user has logged into that are not | ||
1154 | in | ||
1155 | .Pa /etc/ssh/ssh_known_hosts . | ||
1156 | See | ||
1157 | .Xr sshd 8 . | ||
1158 | .Pp | ||
1159 | .It ~/.ssh/rc | ||
1160 | Commands in this file are executed by | ||
1161 | .Nm | ||
1162 | when the user logs in just before the user's shell (or command) is | ||
1163 | started. | ||
1164 | See the | ||
1165 | .Xr sshd 8 | ||
1166 | manual page for more information. | ||
1167 | .Pp | ||
1209 | .It /etc/hosts.equiv | 1168 | .It /etc/hosts.equiv |
1210 | This file is used during | 1169 | This file is used during |
1211 | .Cm RhostsRSAAuthentication | 1170 | .Cm RhostsRSAAuthentication |
@@ -1229,27 +1188,68 @@ This file may be useful to permit logins using | |||
1229 | .Nm | 1188 | .Nm |
1230 | but not using rsh/rlogin. | 1189 | but not using rsh/rlogin. |
1231 | .Pp | 1190 | .Pp |
1232 | .It /etc/ssh/sshrc | 1191 | .It Pa /etc/ssh/ssh_config |
1233 | Commands in this file are executed by | 1192 | Systemwide configuration file. |
1193 | The file format and configuration options are described in | ||
1194 | .Xr ssh_config 5 . | ||
1195 | .Pp | ||
1196 | .It /etc/ssh/ssh_host_key | ||
1197 | .It /etc/ssh/ssh_host_dsa_key | ||
1198 | .It /etc/ssh/ssh_host_rsa_key | ||
1199 | These three files contain the private parts of the host keys | ||
1200 | and are used for | ||
1201 | .Cm RhostsRSAAuthentication | ||
1202 | and | ||
1203 | .Cm HostbasedAuthentication . | ||
1204 | If the protocol version 1 | ||
1205 | .Cm RhostsRSAAuthentication | ||
1206 | method is used, | ||
1234 | .Nm | 1207 | .Nm |
1235 | when the user logs in just before the user's shell (or command) is started. | 1208 | must be setuid root, since the host key is readable only by root. |
1236 | See the | 1209 | For protocol version 2, |
1210 | .Nm | ||
1211 | uses | ||
1212 | .Xr ssh-keysign 8 | ||
1213 | to access the host keys for | ||
1214 | .Cm HostbasedAuthentication . | ||
1215 | This eliminates the requirement that | ||
1216 | .Nm | ||
1217 | be setuid root when that authentication method is used. | ||
1218 | By default | ||
1219 | .Nm | ||
1220 | is not setuid root. | ||
1221 | .Pp | ||
1222 | .It /etc/ssh/ssh_known_hosts | ||
1223 | Systemwide list of known host keys. | ||
1224 | This file should be prepared by the | ||
1225 | system administrator to contain the public host keys of all machines in the | ||
1226 | organization. | ||
1227 | This file should be world-readable. | ||
1228 | This file contains | ||
1229 | public keys, one per line, in the following format (fields separated | ||
1230 | by spaces): system name, public key and optional comment field. | ||
1231 | When different names are used | ||
1232 | for the same machine, all such names should be listed, separated by | ||
1233 | commas. | ||
1234 | The format is described in the | ||
1237 | .Xr sshd 8 | 1235 | .Xr sshd 8 |
1238 | manual page for more information. | 1236 | manual page. |
1239 | .Pp | 1237 | .Pp |
1240 | .It ~/.ssh/rc | 1238 | The canonical system name (as returned by name servers) is used by |
1239 | .Xr sshd 8 | ||
1240 | to verify the client host when logging in; other names are needed because | ||
1241 | .Nm | ||
1242 | does not convert the user-supplied name to a canonical name before | ||
1243 | checking the key, because someone with access to the name servers | ||
1244 | would then be able to fool host authentication. | ||
1245 | .Pp | ||
1246 | .It /etc/ssh/sshrc | ||
1241 | Commands in this file are executed by | 1247 | Commands in this file are executed by |
1242 | .Nm | 1248 | .Nm |
1243 | when the user logs in just before the user's shell (or command) is | 1249 | when the user logs in just before the user's shell (or command) is started. |
1244 | started. | ||
1245 | See the | 1250 | See the |
1246 | .Xr sshd 8 | 1251 | .Xr sshd 8 |
1247 | manual page for more information. | 1252 | manual page for more information. |
1248 | .Pp | ||
1249 | .It ~/.ssh/environment | ||
1250 | Contains additional definitions for environment variables, see section | ||
1251 | .Sx ENVIRONMENT | ||
1252 | above. | ||
1253 | .El | 1253 | .El |
1254 | .Sh SEE ALSO | 1254 | .Sh SEE ALSO |
1255 | .Xr gzip 1 , | 1255 | .Xr gzip 1 , |