[Bug 2049] Request for a configurable option for SFTP to display login information to the user after a successful login.
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Fri Nov 23 10:54:20 EST 2012
https://bugzilla.mindrot.org/show_bug.cgi?id=2049
Darren Tucker <dtucker at zip.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dtucker at zip.com.au
--- Comment #1 from Darren Tucker <dtucker at zip.com.au> ---
There's not really such a thing as "an sftp login". There's only
"logins" (or more correctly, authentications), after which zero or more
sessions may be established, zero or more of which may ask for the sftp
subsystem.
For normal logins, "last logged in at" messages are collected from
either PAM or from within sshd itself then sent to the user at the
start of their shell session. For sftp sessions, there is no shell
session. Potentially you could send the message back in a ssh protocol
banner message (which sshd does in the case of a denial by the PAM
account stack) but that change would affect all sessions, not just the
sftp ones.
--
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
More information about the openssh-bugs
mailing list