public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* SSH Last login: (and lastlog, too)
@ 2015-12-18 15:59 Achim Gratz
  2015-12-18 16:26 ` Nem W Schlecht
  0 siblings, 1 reply; 4+ messages in thread
From: Achim Gratz @ 2015-12-18 15:59 UTC (permalink / raw)
  To: cygwin


For some time now (it had been working at least around March this year)
SSH tells me that I've last logged in from whatever IP instead of the
name of the machine.  Lastlog does the same.  Name resolution works just
fine as you can see when running ssh with debug on and it will check the
correct known_hosts line for the name.  Is there some setting I need to
change to make this work again?


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf rackAttack V1.04R1:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: SSH Last login: (and lastlog, too)
  2015-12-18 15:59 SSH Last login: (and lastlog, too) Achim Gratz
@ 2015-12-18 16:26 ` Nem W Schlecht
  2015-12-18 16:44   ` Achim Gratz
  0 siblings, 1 reply; 4+ messages in thread
From: Nem W Schlecht @ 2015-12-18 16:26 UTC (permalink / raw)
  To: The Cygwin Mailing List

I'm wondering if the default value for UseDNS in /etc/sshd_config
changed.  It used to be 'yes' (and still is for the official
distribution) but many were pushing it to be 'no' (I think CentOS now
defaults this to 'no').

Try setting "UseDNS" to "yes" in /etc/sshd_config, restarting your
sshd process, log in/out a few times and see if that fixes the issue.

On Fri, Dec 18, 2015 at 9:59 AM, Achim Gratz <Stromeko@nexgo.de> wrote:
>
> For some time now (it had been working at least around March this year)
> SSH tells me that I've last logged in from whatever IP instead of the
> name of the machine.  Lastlog does the same.  Name resolution works just
> fine as you can see when running ssh with debug on and it will check the
> correct known_hosts line for the name.  Is there some setting I need to
> change to make this work again?
>
>
> Regards,
> Achim.
> --
> +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
>
> SD adaptation for Waldorf rackAttack V1.04R1:
> http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
>
> --
> 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
>



-- 
Nem W Schlecht                   nem@emptec.com
Empyreal Technologies    http://www.emptec.com/
 "Perl did the magic.  I just waved the wand."

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: SSH Last login: (and lastlog, too)
  2015-12-18 16:26 ` Nem W Schlecht
@ 2015-12-18 16:44   ` Achim Gratz
  2015-12-18 17:14     ` Corinna Vinschen
  0 siblings, 1 reply; 4+ messages in thread
From: Achim Gratz @ 2015-12-18 16:44 UTC (permalink / raw)
  To: cygwin

Nem W Schlecht writes:
> Try setting "UseDNS" to "yes" in /etc/sshd_config, restarting your
> sshd process, log in/out a few times and see if that fixes the issue.

Thanks a bunch, I would't have found this!  That's exactly what has been
causing the issue.  So I'll change all sshd_config files…


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf rackAttack V1.04R1:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: SSH Last login: (and lastlog, too)
  2015-12-18 16:44   ` Achim Gratz
@ 2015-12-18 17:14     ` Corinna Vinschen
  0 siblings, 0 replies; 4+ messages in thread
From: Corinna Vinschen @ 2015-12-18 17:14 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 703 bytes --]

On Dec 18 17:44, Achim Gratz wrote:
> Nem W Schlecht writes:
> > Try setting "UseDNS" to "yes" in /etc/sshd_config, restarting your
> > sshd process, log in/out a few times and see if that fixes the issue.
> 
> Thanks a bunch, I would't have found this!  That's exactly what has been
> causing the issue.  So I'll change all sshd_config files…

Good catch.  However, this is nothing Cygwin sets differently than
upstream.  Except for two settings (StrictModes, UsePrivilegeSeparation)
Cygwin defaults to the upstream settings.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-12-18 17:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-18 15:59 SSH Last login: (and lastlog, too) Achim Gratz
2015-12-18 16:26 ` Nem W Schlecht
2015-12-18 16:44   ` Achim Gratz
2015-12-18 17:14     ` Corinna Vinschen

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