LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to force konqueror to log out of an sftp session (https://www.linuxquestions.org/questions/linux-general-1/how-to-force-konqueror-to-log-out-of-an-sftp-session-949295/)

trail 06-08-2012 06:53 PM

How to force konqueror to log out of an sftp session
 
I use konqueror to ftp into my website to update files, etc and it works very well. In an effort to improve security, I tried using sftp which worked fine too, except that it never seems to log off. With ftp, I could kill the konqueror session and, when I reopened it later I would get a prompt to enter user and password. Using sftp, if I reopen the session it is already logged in. This is even after 24 hours of inactivity. Is there any way to log out of the sftp session?

sysfce2 06-09-2012 12:58 PM

Do you have SSH keys set up? What happens when you SSH into the server?

trail 06-09-2012 01:49 PM

When I ssh in I get a standard "welcome to" and a command prompt.

sysfce2 06-09-2012 02:54 PM

Do you have to provide your password to log in? If you do, then you don't have ssh keys set up (unless they require a passphrase).

The next step is to see if your password is stored in kwallet: if it is, then you can just delete it.

trail 06-09-2012 03:41 PM

I do have ssh keys set up and don't have to provide a login to ssh. OK, so does that mean that sftp won't require a login, because it's working off the ssh keys? I'm starting to see the light...

sysfce2 06-09-2012 04:10 PM

Yes, that will be it: your SSH keys are being used to log in.

trail 06-09-2012 04:27 PM

Thanks, sysfce2.


All times are GMT -5. The time now is 02:11 AM.