LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-08-2012, 06:53 PM   #1
trail
LQ Newbie
 
Registered: Aug 2008
Posts: 5

Rep: Reputation: 0
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?
 
Old 06-09-2012, 12:58 PM   #2
sysfce2
Member
 
Registered: Jul 2009
Distribution: Slackware
Posts: 91

Rep: Reputation: 38
Do you have SSH keys set up? What happens when you SSH into the server?
 
Old 06-09-2012, 01:49 PM   #3
trail
LQ Newbie
 
Registered: Aug 2008
Posts: 5

Original Poster
Rep: Reputation: 0
When I ssh in I get a standard "welcome to" and a command prompt.
 
Old 06-09-2012, 02:54 PM   #4
sysfce2
Member
 
Registered: Jul 2009
Distribution: Slackware
Posts: 91

Rep: Reputation: 38
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.
 
Old 06-09-2012, 03:41 PM   #5
trail
LQ Newbie
 
Registered: Aug 2008
Posts: 5

Original Poster
Rep: Reputation: 0
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...
 
Old 06-09-2012, 04:10 PM   #6
sysfce2
Member
 
Registered: Jul 2009
Distribution: Slackware
Posts: 91

Rep: Reputation: 38
Yes, that will be it: your SSH keys are being used to log in.
 
Old 06-09-2012, 04:27 PM   #7
trail
LQ Newbie
 
Registered: Aug 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks, sysfce2.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SFTP and SSH session password yourlovenotenough Linux - General 3 08-05-2011 12:56 PM
Slackware 13.1: Konqueror/Dolphin and sftp:// not working TL_CLD Slackware 12 01-11-2011 11:31 AM
openSUSE 11.1 How can I force Log Off for inactive user session? Wasted.Daze Linux - Security 1 06-22-2009 05:26 AM
SSH / SFTP session logging phatgeezer Linux - Security 2 05-07-2007 10:42 AM
sftp fails with konqueror using keychain after a while barnamos Linux - Security 1 01-04-2006 07:12 PM


All times are GMT -5. The time now is 04:00 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration