0

At first glance it doesn't show, but I also just learned about the existence of last as well.

Rui F Ribeiro
  • 56,709
  • 26
  • 150
  • 232
  • By sftp login, what do you mean? Have you configured to use your sftp to do something as discussed here? – Ramesh Nov 27 '14 at 00:34
  • Doesn't look like it: http://askubuntu.com/q/107602/158442, http://unix.stackexchange.com/questions/20070/user-logged-in-by-sftp-does-not-show-up-in-w – muru Nov 27 '14 at 02:22

1 Answers1

0

I'd suggest that you look in one of the log files in /var/log (depending on your syslog configuration settings) as this information will be there if configured appropriately. last is basically only used when you run login. If you do not find it, then an appropriate reconfiguration of syslog and/or sshd_config might be in order.

mdpc
  • 6,834