This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: sshd: computer name's case must match?


On Feb 13 11:13, Bill Stewart wrote:
> On Wed, Feb 13, 2019 at 10:56 AM Corinna Vinschen
> <corinna-cygwin@cygwin.com> wrote:
> > The complete string "domain+samaccountname" is the Cygwin username,
> > see the output of `getent passwd <user>' The entire Cygwin username
> > should always use the same case, otherwise case sensitive pattern
> > matching on the name returned in the passwd name field won't work.
> 
> Thank you. Just so I understand the specifics of when I want to
> specify the 'destination' parameter using ssh:
> 
> (a) Domain or computer name portion to the left of the "+" must always
> be uppercase

No, the case must match the case of the domain or computername.

> (b) Username after "+" sign (or username alone, without "+" sign) must
> match case exactly
> 
> Questions:
> 
> 1. Are the above two statements (a) and (b) complete/correct?
> 
> 2. With regards to (a), are there any cases where the domain or
> computer name is not uppercase?

Yes.  In my domain I have four machines using all-lowercase machine
name for no apparent reason.  One is a Linux machine, one is a
Windows 7 64 bit, the other two are Windows 8.1 32 and 64 bit machines.
All others, including the Windows 8 machines, are all uppercase.


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]