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

Re: [suse-security] sftp with no ssh login

Ben Yau wrote:

Another thing to try is put "logout" at the beginning of ~/.bash_login.
Upon ssh login it will run the .bash_login and log them out.  On sftp, it
won't run ~/.bash_login so they can still sftp

ssh user@xxxxxxxxxxxxxxxxxx rm .bash_login


Check the headers for your unsubscription address
For additional commands, e-mail: suse-security-help@xxxxxxxx
Security-related bug reports go to security@xxxxxxx, not here