diff options
author | Darren Tucker <dtucker@zip.com.au> | 2006-07-10 23:04:19 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2006-07-10 23:04:19 +1000 |
commit | da3455356100dbcb5d1ff9f0556386ca5f788795 (patch) | |
tree | 013d0f5e5bca486e4e72387d94980fc81d402a50 /sshd.8 | |
parent | 0f07707267fd3911bcf95b48125b522f9e222c64 (diff) |
- dtucker@cvs.openbsd.org 2006/07/10 12:46:51
[misc.c misc.h sshd.8 sshconnect.c]
Add port identifier to known_hosts for non-default ports, based originally
on a patch from Devin Nate in bz#910.
For any connection using the default port or using a HostKeyAlias the
format is unchanged, otherwise the host name or address is enclosed
within square brackets in the same format as sshd's ListenAddress.
Tested by many, ok markus@.
Diffstat (limited to 'sshd.8')
-rw-r--r-- | sshd.8 | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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: sshd.8,v 1.230 2006/02/24 20:31:31 jmc Exp $ | 37 | .\" $OpenBSD: sshd.8,v 1.231 2006/07/10 12:46:52 dtucker Exp $ |
38 | .Dd September 25, 1999 | 38 | .Dd September 25, 1999 |
39 | .Dt SSHD 8 | 39 | .Dt SSHD 8 |
40 | .Os | 40 | .Os |
@@ -588,6 +588,13 @@ A pattern may also be preceded by | |||
588 | to indicate negation: if the host name matches a negated | 588 | to indicate negation: if the host name matches a negated |
589 | pattern, it is not accepted (by that line) even if it matched another | 589 | pattern, it is not accepted (by that line) even if it matched another |
590 | pattern on the line. | 590 | pattern on the line. |
591 | A hostname or address may optionally be enclosed within | ||
592 | .Ql \&[ | ||
593 | and | ||
594 | .Ql \&] | ||
595 | brackets then followed by | ||
596 | .Ql \&: | ||
597 | and and a non-standard port number. | ||
591 | .Pp | 598 | .Pp |
592 | Alternately, hostnames may be stored in a hashed form which hides host names | 599 | Alternately, hostnames may be stored in a hashed form which hides host names |
593 | and addresses should the file's contents be disclosed. | 600 | and addresses should the file's contents be disclosed. |