Re: Directory listing fails for specific user

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



Hi,

we had a similar issue when one of our users has modified his .bashrc
such that it was supposed to execute commands upon login, but they were
called without absolute path and stored in non-default locations (i.e. a
prior modification of the $PATH by profile.d was required).
In an interactive bash a full profile was loaded and therefore it
worked, but transferring files did not work, because that was not a
login shell and thus the commands were not found and caused the error.
Putting the commands into .profile instead of .bashrc solved the problem.

That was Scientific Linux 6 (a RHEL clone), and I think it was with scp
and not with sftp, but it might be related).

Martin

On 20.05.2016 17:07, Marcus Hann wrote:
> Hello,
>
> We have recently had a new problem with one of the users on one of our servers. 
>
> Filezilla claims it connects and authenticates, but then fails to list the directory (although no error message is output, it just eventually times out. There is the full output of filezilla located here: http://pastebin.com/tAVcSP8Y. 
>
> From the server side, the most verbose output I can make it print can be found here: http://pastebin.com/iW4BqALf. I have set the debug level to DEBUG3 in the  /etc/ssh/sshd_config line which now looks like:
>
> Subsystem   sftp    /usr/libexec/openssh/sftp-server -l DEBUG3
>
> And that is what came out. SSH works as expected for the user and I cannot think of anything that has changed that would cause it to stop working.
>
> I do not get the same issue for other users on the same server. For example, the output of a working user connecting to the same server is: http://pastebin.com/6VtcCPhg (filezilla) and http://pastebin.com/9ETc8JSS (openssh). I'm at a complete loss as to what may be causing this and cannot find anyone on t'internet with the same issue. 
>
> Thanks in advance,
> Marcus
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev@xxxxxxxxxxx
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux