PDA

View Full Version : NOBODY, ever thought of this little trick in KDE



mickeyboy
3rd April 2006, 08:45 PM
Setting up my two boxes on the a local network with a router.
A FC5-64 and FC4-i386 boxes, from my i386 box, using KDE Konqueror, in the Location box entering: fish://root@FC5-64 and typing in password for root@FC5-64, allows me to go into
root of FC5-64 box and edit changes in files,etc. Fish in kde uses ssh to connect to remote boxes.
But the most unique feature is to Edit in a crashed Linux box.
I put my #1 install cd into the FC5-x86_64 and did a "linux rescue" on cd and
followed instructions to do a linux rescue, and doing a Network enable and after doing the chroot /mnt/sysimage and then doing a /sbin/service sshd start, then starting fish://root@FC5-64 in the i386 box, I was able to edit problems in the crashed x86_64 box.
Neat huh!!! , only drawback to this is you better hope you can get a network and sshd connection.

I had my i386 box /etc/hosts, setup as;
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 FC4-i386 localhost.localdomain localhost
172.16.1.36 FC5-64

And similar setup in my x86_64 /etc/hosts file for the i386 box .

i thought this may be a good tip for future use, if you got a network.
I'm sure you can add to this brillant discovery of mine.

Jim

tscheez
3rd April 2006, 09:06 PM
what's the difference between fish://root@host and ssh://root@host ?

--edit sorry, meant sftp://root@host

mickeyboy
3rd April 2006, 09:11 PM
You do not have the nice-a-tees(did I spell that right) in ssh-x as you do using Konqueror.

Jim

baschti
3rd April 2006, 09:11 PM
what's the difference between fish://root@host and ssh://root@host ?

--edit sorry, meant sftp://root@host
..the first one is using ssh, the second secure ftp

tscheez
3rd April 2006, 09:52 PM
sftp is a part of ssh, i know that

but fish == sftp?

mickeyboy
3rd April 2006, 10:30 PM
Sftp is for transfering files between boxes, using ssh.
It won't let you edit files like fish/Kde Konqueror will.
Run fish and you will see what I mean.

Jim

tscheez
4th April 2006, 01:59 PM
very cool, thanks for the tip!