[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: konquerer access to Stretch with fish or sftp not working



Thomas, on 2019-06-12 :
> Am Dienstag, 11. Juni 2019, 20:56:44 schrieb Étienne Mollier:
> > Or did the connection to your SSH server actually worked ?
>
> #ssh root@192.168.1.20
> @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
> .
> ECDSA host key for 192.168.1.20 has changed and you have requested strict
> checking.
> Host key verification failed.
> .
>
> I did change the key und now fish is running very well, AND
> also ssh in console

Good Day Thomas,

Glad to read you could reach your goal.  :)

> Iam using # fish://root@192.168.1.20 in konquerer beacuse I
> can use the mouse to put an filename in kate and kate is open
> this file, I can edit and save it on the remote system.
> May be not an standard way but very easy way for me:)

There are plenty of ways to get and share files on remote
machines; your use of fish is one of these.  To work, it has to
follow the SSH protocol, which seem pretty standard to me.
The most unorthodox bit I see with fish is that it does not
require the SFTP subsystem to operate properly.

If one day you wish to be able to use any program to access your
remote files, an not just konqueror, you may be interested in
setting up an sshfs(1) mount point to your machine.  There are a
few people here that are actually quite fond of this setting.

> # sftp is now on console working!
>
> #sftp root@192.168.1.20
> root@192.168.1.20's password:
> Connected to 192.168.1.20.
> sftp>
>
> BUT sftp in konquerer NOT working
> sftp://root@192.168.1.20
> error: different host key

Hmn, I spent a bit of time to check that both sftp in command
line, and konqueror (independently of fish:// or sftp:// URL)
were using the same file $HOME/.ssh/known_hosts.  Unless the
HOME variable differs, the known_hosts file is used in all
cases.

Your use of a hash "#" as a prompt suggests you launched your
sftp command line as the administrative user "root".  In the
meantime your konqueror instance is probably running as your
regular user account.  Was the fish:// connection attempt done
on the same konqueror window as the sftp:// attempt?  If not,
maybe you just need to cleanup your host key for your regular
user account too.

Kind Regards,
-- 
Étienne Mollier <etienne.mollier@mailoo.org>



Reply to: