Skip to content
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

'Last login:' time stamp when connecting via SSH describes current login, not last #1557

mark-casey opened this Issue Sep 7, 2016 · 0 comments


None yet
3 participants
Copy link

mark-casey commented Sep 7, 2016

Issue Report


CoreOS Version

core@localhost ~ $ cat /etc/os-release
PRETTY_NAME="CoreOS 1068.9.0 (MoreOS)"


Dell PowerEdge T110II (i.e.: T110 "roman numeral 2")... booted from CoreOS stable ISO copied to flash drive and then installed w/ coreos-install.

Expected Behavior

When logging in via SSH, the time stamp of the previous login is displayed near where the MOTD goes.

Actual Behavior

When logging in via SSH, the time stamp of the current login is displayed near where the MOTD goes.

Reproduction Steps

(as best I've observed)

  1. Have CoreOS
  2. Login (possibly, specifically via SSH? using an SSH agent for the key? unsure.)

Other Information

  • Did a brief search of the issues page; apologies if I missed an existing report.
  • This page suggests it could be the addition of some processing in PAM, which I believe there were some changes around in the not too distant past:
  • I'm happy to check for other possible unique factors on my system if this is not immediately reproducible.
  • Here is output of it happening, note the bold times of an immediately-run date vs. Last login:

{ ~ } » ssh -p 5555 core@
CoreOS stable (1068.9.0)
Last login: Wed Sep 7 03:14:09 2016 from
core@localhost ~ $ date
Wed Sep 7 03:14:11 UTC 2016
core@localhost ~ $

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.