LinuxQuestions.org
Visit Jeremy's Blog.
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 08-10-2005, 03:44 PM   #1
XaViaR
Member
 
Registered: Dec 2004
Distribution: RHEL, CentOS, SuSE
Posts: 170

Rep: Reputation: 31
Konqueror-RSA Keys


Hello,

I have setup rsa keys on my linux box. And, now I would like to use konqueror to access it via sftp; however, I don't know how to input my RSA keys in konqueror.

Is this possible??

Thanks!

Last edited by XaViaR; 08-11-2005 at 07:14 AM.
 
Old 08-11-2005, 01:04 PM   #2
demian
Member
 
Registered: Apr 2001
Location: Bremen, Germany
Distribution: Debian
Posts: 303

Rep: Reputation: 30
Put a config file in the ~/.ssh directory of the client machine. Let's say you want to connect as user xaviar to remotebox using the key ~/.ssh/id_rsa.xaviar:

~/.ssh/config:
Code:
Host somename
  Hostname remotebox.remotedomain.com
  IdentityFile /home/xaviar/id_rsa.xaviar
  User xaviar
Then you can connect via sftp by entering sftp://somename in the URL field in konqueror
 
Old 08-11-2005, 02:45 PM   #3
XaViaR
Member
 
Registered: Dec 2004
Distribution: RHEL, CentOS, SuSE
Posts: 170

Original Poster
Rep: Reputation: 31
what permissions should i set on the file? currently, they are 644, and so far no luck. :-(
 
Old 08-11-2005, 02:49 PM   #4
XaViaR
Member
 
Registered: Dec 2004
Distribution: RHEL, CentOS, SuSE
Posts: 170

Original Poster
Rep: Reputation: 31
Never mind it worked!

Thanks for your help!! :-)
 
Old 08-11-2005, 03:09 PM   #5
demian
Member
 
Registered: Apr 2001
Location: Bremen, Germany
Distribution: Debian
Posts: 303

Rep: Reputation: 30
Quote:
Originally posted by XaViaR
what permissions should i set on the file? currently, they are 644, and so far no luck. :-(
None of the files in .ssh should be world readable! I'd suggest 700 for .ssh and 600 for all the files contained therein.
 
Old 12-03-2006, 05:28 AM   #6
Matteus Blanc
LQ Newbie
 
Registered: Dec 2006
Location: London
Distribution: SuSE 11.1, Debian 5, Centos5
Posts: 6

Rep: Reputation: 2
Talking

Hi,

Konqueror won't read user from the config file. It won't read port either.

What you need to do is use this form in the address if you want to use keys with a non standard user name (i.e. not the user name you are currently logged into Linux as) and a non standard port (i.e. not port 22 for SFTP)

sftp://<user name>@hostname:<port#>

Example
sftp://billy@mywork.com:5332


Config file will work (set user name and port) for command line sftp connections though. This took me quite a while to figure out and I hope this post can save someone else the pain.
 
  


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
SSH Forcing users to use RSA keys XaViaR Linux - Security 8 07-07-2005 12:42 AM
RSA Keys for SSH XaViaR Linux - General 4 07-02-2005 09:15 AM
Where to install RSA keys? KMorley Linux - Newbie 1 02-24-2005 02:33 PM
Mulitiple RSA Keys Reformed Linux - Software 3 12-13-2003 02:02 PM
Configuring SSH to accept only keys (already have keys) fr0st Linux - Security 3 11-04-2003 03:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:32 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration