https://bugzilla.mindrot.org/show_bug.cgi?id=4043
Bug ID: 4043
Summary: Documentation for sshd_config token %C has client and
server params flipped
Product: Portable OpenSSH
Version: 10.6p1
Hardware: amd64
OS: Linux
Status: NEW
Severity: trivial
Priority: P5
Component: sshd
Assignee: [email protected]
Reporter: [email protected]
in ssh/auth2-pubkey.c in user_key_allowed, we see this:
xasprintf(&conn_id, "%s %d %s %d",
ssh_local_ipaddr(ssh), ssh_local_port(ssh),
remote_ip, ssh_remote_port(ssh));
but in ssh/sshd_config.5, it says:
Identifies the connection endpoints, containing
four space-separated values: client address, client port number,
server address, and server port number.
so the man page (https://man.openbsd.org/sshd_config#TOKENS) has the
client and server params flipped, it should be:
server address, server port number, client address, client port number
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs