cygwin ssh connection from mac to windows Connection closed by XX.XX.XXX.XX port 22
Andrey Repin
anrdaemon@yandex.ru
Tue Mar 8 08:13:05 GMT 2022
Greetings, Sanjay Gupta!
> Issue gets resolved when I did and used my domain password.
> So my question is, is this needs to always run whenevery password gets
> changed as per domain policy ?
Yes.
> I read docs about setuid changes and so forth but unable to understand much.
> I have tried creating local account also but still it does not resolve
> issue unless I did following.
> passwd -R
Yes.
> $ ./passwd.exe -R
> This functionality stores a password in the registry for usage by services
> which need to change the user context and require network access. Typical
> applications are interactive remote logons using sshd, cron task, etc.
> This password will always tried first when any privileged application is
> about to switch the user context.
> Note that storing even obfuscated passwords in the registry is not overly
> secure. Use this feature only if the machine is adequately locked down.
> Don't use this feature if you don't need network access within a remote
> session.
> You can delete the stored password by specifying an empty password.
> Enter your current password:
> Re-enter your current password:
> Can someone explain use of password -R and why I need to do it ?
See docs.
https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-nopasswd3
--
With best regards,
Andrey Repin
Monday, March 7, 2022 22:31:12
Sorry for my terrible english...
More information about the Cygwin
mailing list