Bug 3150 - DNS names are not case sensitive
Summary: DNS names are not case sensitive
Status: NEW
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: 8.2p1
Hardware: Other Other
: P5 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-18 06:56 AEST by Jeffrey Walton
Modified: 2020-04-18 07:09 AEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeffrey Walton 2020-04-18 06:56:15 AEST
This is a pretty boring report. I hope you don't mind me leaving it as an enhancement. I stumbled across this when caps-lock was accidentally engaged.

$ ssh CRYPTOPP.COM
jwalton@cryptopp.com: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).

$ ssh cryptopp.com
Enter passphrase for key '/home/jwalton/.ssh/id_ed25519':
Last login: Fri Apr 17 14:15:16 2020 from ...

When using the name cryptopp.com, 'noloader@cryptopp.com' was used because of a recipe in ~/.ssh/config. When using the name CRYPTOPP.COM, 'jwalton@cryptopp.com' was used because jwalton is my username on my local machine. It appears the DNS name was not matched when caps-lock was on.

As far as I know, DNS names are not case sensitive.