You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

pixelhead

Beginner

  • "pixelhead" started this thread

Posts: 10

Location: Duesseldorf, Germany

Occupation: IT

  • Send private message

1

Friday, February 23rd 2007, 4:06pm

Konqueror - Fish and RSA Key?

After 4 years I returned from Windows Desktop back to Linux. I'm working as a Sysadmin administrating 15 Linux/Unix Servers. I was used to work with Putty and WinSCP under Windows and I'm missing WinSCP quite a bit ;)
I discovered that with Konqueror I can use SFTP and FISH (kinda SCP, right?) but for all of the server I'm supporting I disabled login with password (for security reason and I'm not willing to give this up ;))
So I was wondering if I can use Konqueror with RSA-Key Authentification? Is there a way to do so? Didn't find anything about that so far.


Thanx in advance
Andreas

2

Saturday, February 24th 2007, 8:14pm

RE: Konqueror - Fish and RSA Key?

Hello Pixelhead,

I'm a sys admin as well and have just discovered Konqui and Kate to manage remote nodes. As I've understood fish, it uses ssh. So if you use RSA keys and put the public one in /root/.ssh/authorized_keys file on each server you manage, then you will be able to remote log in as root from your own user without any password to give.

And if you set Kate as the default editor, by double clicking a remote file in Konqui you can edit it as root and upload it automagically as you save. That's pretty cool :)

Zorggy.

pixelhead

Beginner

  • "pixelhead" started this thread

Posts: 10

Location: Duesseldorf, Germany

Occupation: IT

  • Send private message

3

Sunday, February 25th 2007, 8:53am

RE: Konqueror - Fish and RSA Key?

Hi Zorggy,

yes, I already managed to login with Konqui and RSA-Key :) But even if I login as root on the remote machine (normal user on local machine) I get "Permission denied" errors :( Didn't find out yet what's wrong? Do you?

Thanx
Andreas

4

Sunday, February 25th 2007, 9:33am

RE: Konqueror - Fish and RSA Key?

I'm not sure to perfectly understand your problem. You succeeded to fish from my_user@my_computer to my_user@my_server, but failed to fish from my_user@my_computer to root@my_server. Is that correct?

If so, did you try directly from ssh: ssh -v root@my_server? Is there a clue in the verbose mode?

bram85

Professional

Posts: 948

Location: Eindhoven

Occupation: Software Engineer

  • Send private message

5

Sunday, February 25th 2007, 8:53pm

RE: Konqueror - Fish and RSA Key?

Note that many SSH servers don't allow root logins.
Bram Schoenmakers
KDE Netherlands (www.kde.nl)

pixelhead

Beginner

  • "pixelhead" started this thread

Posts: 10

Location: Duesseldorf, Germany

Occupation: IT

  • Send private message

6

Sunday, February 25th 2007, 11:57pm

RE: Konqueror - Fish and RSA Key?

Quoted

Originally posted by zorggy
I'm not sure to perfectly understand your problem. You succeeded to fish from my_user@my_computer to my_user@my_server, but failed to fish from my_user@my_computer to root@my_server. Is that correct?

If so, did you try directly from ssh: ssh -v root@my_server? Is there a clue in the verbose mode?

I succeeded my_user@my_computer to my_user@my_server ANDmy_user@my_computer to root@my_server but it doesn't look like that I have root permissions to edit a file...looks strange - will check this agin tomorrow.

pixelhead

Beginner

  • "pixelhead" started this thread

Posts: 10

Location: Duesseldorf, Germany

Occupation: IT

  • Send private message

7

Monday, February 26th 2007, 12:00am

RE: Konqueror - Fish and RSA Key?

Quoted

Originally posted by bram85
Note that many SSH servers don't allow root logins.

Yes, you are absolutely right :) But I in this case...I personally installed those machines ;)

8

Monday, February 26th 2007, 7:45pm

RE: Konqueror - Fish and RSA Key?

Quoted

[...] it doesn't look like that I have root permissions to edit a file... [..]

I had the same problem and Bram85 solved it. I used Kate in a wrong way: the edited file was downloaded in localhost:/var/tmp/... and my_user was not allowed to save in that directory (hence the message "unable to save"). It was a bit tricky! Actually, I had to edit the kate menu item in order to add "%U" (or "%u") after the command. It's located in the control center --> Desktop --> Panels --> Menus (tab) --> Edit K menu (button). And that was the only modification!

Hope this can help you...

pixelhead

Beginner

  • "pixelhead" started this thread

Posts: 10

Location: Duesseldorf, Germany

Occupation: IT

  • Send private message

9

Tuesday, February 27th 2007, 9:05pm

Don't know what happened but everything works great now!!! I love Linux + KDE :) :)