This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Sv: sshd - difference between keylogin and password
- From: morten bjoernsvik <morten_bjoernsvik at yahoo dot no>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Wed, 30 Dec 2015 13:57:50 +0000 (UTC)
- Subject: Sv: sshd - difference between keylogin and password
- Authentication-results: sourceware.org; auth=none
- References: <n60kvg$ncl$1 at ger dot gmane dot org> <1756419477 dot 7642930 dot 1451481716678 dot JavaMail dot yahoo at mail dot yahoo dot com>
- Reply-to: morten bjoernsvik <morten_bjoernsvik at yahoo dot no>
I set up cygserver, logged in with password ran passwd -R saving the password to registry
then:
mobj@BPOLMOBJ1 ~
$ ssh -i sa_deploy_private_key.txt test1-front.bptest.local -l sa_deploy
Last login: Wed Dec 30 14:49:54 2015 from 127.0.0.1
sa_deploy@vmics01t1 ~
$ id
uid=1050685(sa_deploy) gid=1049089(Domain Users) groups=1049089(Domain Users),545(Users),544(Administrators),4(INTERACTIVE),66049(CONSOLE LOGON),11(Authenticated Users),15(This Organization),4095(CurrentSession),70145(Authentication authority asserted identity),1049758(grp_sec_localadmin_test),1050679(grp_sec_localadmin_all_dev_environments),405504(High Mandatory Level)
Same as with password.
Thanks, my only concern is update if the users domain password changes.
--
Mobj
Den Onsdag, 30. desember 2015 13.21 skrev morten bjoernsvik <morten_bjoernsvik@yahoo.no>:
Thanks Achim
I currently do not have any cygserver service running, so I will try and configure it.
--
Mobj
Den Onsdag, 30. desember 2015 13.14 skrev Achim Gratz <Stromeko@Nexgo.DE>:
Am 30.12.2015 um 12:59 schrieb morten bjoernsvik:
> Login in with private key gives less credentials than using password.
> It is a no password private key.
> user is a domain user.
This should help, I'd think.
https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-nopasswd3
--
Achim.
(on the road :-)
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple