Topic: SFTP-WHO doesn't seem to be accurate

I'm running Debian 503 ... 32bit.  I installed via the repository:

deb http://mysecureshell.free.fr/repository … php/debian testing main
deb-src http://mysecureshell.free.fr/repository … php/debian testing main

I'm "assuming" I have the latest version...not 100% sure how to check the version i'm running.  I keep having to resort to using "netstat -n -t -e -p" to know who is connected...I think it's more accurate.

Is this a known issue maybe?

Re: SFTP-WHO doesn't seem to be accurate

Hi,

Did you try a sftp-verif ?

3 (edited by jwooton 2009-12-01 03:07:16)

Re: SFTP-WHO doesn't seem to be accurate

Yea, I ran this just after installation.  Everything seems OK by the results.  What seems to be off is that it shows the wrong user assigned to the file that is supposedly being uploaded.  I can tell because the user that is displayed doesn't have the directories or the files that are shown to be uploaded by them in their home directories at all...it's in another users directory that is the one actually doing the uploading.

For example:
user joesomebody may show as uploading /home/music/novemberrain.mp3

however, in reality ... joesomebody doesn't even have a directory /home/music/...  at all.
This directory belongs to someone else instead...and I know they are connected actually because of the netstat command.


# sftp-verif
#################################################
#        MySecureShell Verification Tool        #
#################################################

** Verifing file existance **

Verifing file existance of /bin/MySecureShell        [ OK ]
Verifing file existance of /usr/bin/sftp-who            [ OK ]
Verifing file existance of /usr/bin/sftp-kill            [ OK ]
Verifing file existance of /usr/bin/sftp-state            [ OK ]
Verifing file existance of /usr/bin/sftp-admin        [ OK ]
Verifing file existance of /usr/bin/sftp-verif            [ OK ]
Verifing file existance of /usr/bin/sftp-user            [ OK ]
Verifing file existance of /etc/ssh/sftp_config        [ OK ]

** Verifing rights **

Verifing file rights of /etc/ssh/sftp_config            [ OK ]
Verifing file rights of /usr/bin/sftp-who            [ OK ]
Verifing file rights of /usr/bin/sftp-verif            [ OK ]
Verifing file rights of /usr/bin/sftp-user            [ OK ]
Verifing file rights of /usr/bin/sftp-kill                    [ OK ]
Verifing file rights of /usr/bin/sftp-state            [ OK ]
Verifing file rights of /usr/bin/sftp-admin            [ OK ]
Verifing file rights of /bin/MySecureShell            [ OK ]

** Verifing rotation logs **

MySecureShell rotation logs                    [ OK ]

** Verifing server status **

Verifing server status (ONLINE)                    [ OK ]

** Verifing server dependencies **
Show only error(s):

** Verifing server configuration (just for user: root) **
Show only error(s):

** All tests dones **

Re: SFTP-WHO doesn't seem to be accurate

Hi,

Could you be more specific on your sftp-who issue ?

Thanks