-
Notifications
You must be signed in to change notification settings - Fork 781
Cached Credentials Authentication For Domain User #1889
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
What form of SSH authentication are you using? password, keyboard-interactive, gssapi-with-mic, pubkey? ("ssh -v" should tell you in the case in which it worked.) In case you are using gssapi-with-mic (Kerberos) authentication, that won't work offline for longer than the ticket expiry time, which is by default after 10 hours in Active Directory (can be changed). You can see your ticket expiry time with |
I am using password method For instance, if my domain password is changed but my PC is still offline I can still login using the old password. The issue is when I am offline and try to ssh into my offline machine, openSSH try to resolve my user against the online domain and not the PC with cached credentials. In some way it is the same principle when you use Remote Desktop and you disable network level authentication, it still works offline with your domain credentials. |
I have deployed the latest available OpenSSH-Win64-v8.9.1.0.msi to some local machines and have come across this issue as well. It works fine for local credentials but will not authenticate successfully with domain users if domain authentication is unavailable. I second the ability to be able to use cached credentials when not on the domain. Otherwise, you can only log in when on the domain or as a local user. |
Perhaps try |
I just tried the command |
Same results here. Not connection to the domain, no ability to authenticate unless there is some hidden variables to get OpenSSH to utilize cached credentials that we are missing. |
As it's currently coded, I don't believe there is any way cached credentials can be used. This is primarily because the username has to be internally resolved to several different formats (DOMAIN\username) and (UserName@domain) for various purposes. It's also possible that the group membership resolution method might also fail even if you were to come through this first hurdle. |
Hello,
Scenario:
I have a local network, I use other-computer to ssh into windows-computer using openssh-server. On windows-computer my session is a domain user it authenticates through Active directory on a domain controller.
Issue:
I can't ssh anymore from other-computer to windows-computer. The other-computer error message is "Connection reset by windows-computer port port-number". The windows-computer error message in event viewer is "sshd: fatal: ga_init, unable to resolve user domain\user".
Explanation:
Environment.MachineName
provides. ex:ssh user@windows-computer-name@windows-computer-ip
Questions:
Any help or information on that issue is appreciated.
Thanks,
The text was updated successfully, but these errors were encountered: