public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: morten bjoernsvik <morten_bjoernsvik@yahoo.no>
To: The Cygwin Mailing List <cygwin@cygwin.com>
Subject: sshd - difference between keylogin and password
Date: Wed, 30 Dec 2015 12:09:00 -0000	[thread overview]
Message-ID: <1586487723.7522145.1451476797458.JavaMail.yahoo@mail.yahoo.com> (raw)
In-Reply-To: <1586487723.7522145.1451476797458.JavaMail.yahoo.ref@mail.yahoo.com>

Hi all

Login in with private key gives less credentials than using password.
It is a no password private key.
user is a domain user.


How can this be fixed? I really like to use the private nopassword key.
Some security options in /etc/sshd_config ?
Haven't changed anything here except for kexAlgorithm



$ ssh test1-front.bptest.local -l sa_deploy
sa_deploy@test1-front.bptest.local's password:
Last login: Wed Dec 30 12:02:08 2015 from 10.11.51.56

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)


sa_deploy@BPOLMOBJ1 ~
$ ssh -i sa_deploy.key test1-front.bptest.local -l sa_deploy
Last login: Wed Dec 30 12:09:39 2015 from 10.11.51.56

sa_deploy@vmics01t1 ~
$ id
uid=1050685(sa_deploy) gid=1049089(Domain Users) groups=1049089(Domain Users),11(Authenticated Users),66048(LOCAL),66049(CONSOLE LOGON),4(INTERACTIVE),15(This Organization),545(Users),4095(CurrentSession),401408(Medium Mandatory Level)



$ cygcheck -s | grep ssh | uniq
Found: C:\cygwin64\bin\ssh.exe
143k 2015/03/17 C:\cygwin64\bin\cygssh2-1.dll
Service             : sshd
Display name        : CYGWIN sshd
Command             : /usr/sbin/sshd -D
libssh2_1            1.5.0-1            OK
openssh              7.1p1-1            OK


Thanks, any help really appreciated.

--
Morten Bjoernsvik, Oslo, Norway

--
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

       reply	other threads:[~2015-12-30 12:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1586487723.7522145.1451476797458.JavaMail.yahoo.ref@mail.yahoo.com>
2015-12-30 12:09 ` morten bjoernsvik [this message]
2015-12-30 13:08   ` Achim Gratz
2015-12-30 13:24     ` Sv: " morten bjoernsvik
2015-12-30 14:02       ` morten bjoernsvik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1586487723.7522145.1451476797458.JavaMail.yahoo@mail.yahoo.com \
    --to=morten_bjoernsvik@yahoo.no \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).