[Bug 637] ssh records that the user has logged out even though an sftp session is active

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sat Sep 13 15:24:56 EST 2003


http://bugzilla.mindrot.org/show_bug.cgi?id=637

mouring at eviladmin.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From mouring at eviladmin.org  2003-09-13 15:24 -------
> [..] major ftp servers seem to disagree [..]

Who said sshd was a ftp server?  Ignoring the fact this 'feature' was added 
about four/five years ago.  Against a lot of people's believes that it was an 
abuse of the wtmp file.

Besides, there is no clear way of saying "this is an sftp" session.  Tagging 
all subsystems as a 'must have wtmp' is wrong since subsystems is a generic 
concept.  And you can always do 'sftp -1 localhost' under OpenSSH which skips 
the subsystem since SSH v1 protocol does not support it.

try:

ssh localhost /bin/ksh
or
scp file localhost:/tmp
or
ssh localhost 'cat /my/file' > file

none of them create wtmp entry.  Try the rsh versions and you'll see they the 
same behavior.

- Ben



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list