[kio-extras] [Bug 428676] When adding adding network folder in dolphin for ssh (via sftp or fish) getting message Unable to connect to server

2020-11-06 Thread Harald Sitter
https://bugs.kde.org/show_bug.cgi?id=428676

Harald Sitter  changed:

   What|Removed |Added

 Status|NEEDSINFO   |RESOLVED
 Resolution|WAITINGFORINFO  |NOT A BUG

--- Comment #6 from Harald Sitter  ---
I'm 99% certain this is a setup problem.

The reason 

> KIO_SFTP_LOG_VERBOSITY=10 KDE_FORK_SLAVES=1 
> QT_LOGGING_RULES="log_kio_sftp=true;" dolphin --new-window 
> sftp://x...@xx.xx.xxx.xxx

works is because of KDE_FORK_SLAVES=1 which forces the underlying communication
with libssh to start from dolphin directly (thus inheriting the environment
which you set via bashrc)

> dolphin --new-window sftp://x...@xx.xx.xxx.xxx

doesn't work because the forking happens from a different process that is
started early on in the startup of plasma and as I've mentioned bashrc doesn't
play into that. 

Simply put: part of your session doesn't have the env set up correctly because
you rely on bashrc but plasma isn't written in bash so it doesn't care what you
put there.

You could try putting the ssh-agent stuff into a plasma env script [1] or an
Xsession.d script. In any event I encourage you to take this to a support forum
to get help on setting up ssh-agent properly for a plasma session.

[1] https://userbase.kde.org/Session_Environment_Variables/en

-- 
You are receiving this mail because:
You are watching all bug changes.

[kio-extras] [Bug 428676] When adding adding network folder in dolphin for ssh (via sftp or fish) getting message Unable to connect to server

2020-11-05 Thread Hans
https://bugs.kde.org/show_bug.cgi?id=428676

--- Comment #5 from Hans  ---
When doing:

dolphin --new-window sftp://x...@xx.xx.xxx.xxx

It opens window with authentication error and on the command line it says


kf.kio.core: Protocol Class of url QUrl("sftp://x...@xx.xx.xxx.xxx;) , isn't
':local', cancelling job.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kio-extras] [Bug 428676] When adding adding network folder in dolphin for ssh (via sftp or fish) getting message Unable to connect to server

2020-11-05 Thread Hans
https://bugs.kde.org/show_bug.cgi?id=428676

--- Comment #4 from Hans  ---
Hi,

Even stranger:

When executing as per suggested website it connects and works!!!

KIO_SFTP_LOG_VERBOSITY=10 KDE_FORK_SLAVES=1
QT_LOGGING_RULES="log_kio_sftp=true;" dolphin --new-window
sftp://x...@xx.xx.xxx.xxx

BUT when doing the following, I am getting authentication error!

dolphin --new-window sftp://x...@xx.xx.xxx.xxx

-- 
You are receiving this mail because:
You are watching all bug changes.

[kio-extras] [Bug 428676] When adding adding network folder in dolphin for ssh (via sftp or fish) getting message Unable to connect to server

2020-11-05 Thread Hans
https://bugs.kde.org/show_bug.cgi?id=428676

--- Comment #3 from Hans  ---
Harald,

Yea I guess I gave a bit too much detail (-: 

In brief, I have an ssh-agent running, added a key, using the kde-wallet to
store the passphrase (via SSH_ASKPASS) and it is working from command line with
ssh and sftp. It does not work via dolphin, does this not use the ssh-agent?

I will try to get the libssh output.

Hans

-- 
You are receiving this mail because:
You are watching all bug changes.

[kio-extras] [Bug 428676] When adding adding network folder in dolphin for ssh (via sftp or fish) getting message Unable to connect to server

2020-11-05 Thread Harald Sitter
https://bugs.kde.org/show_bug.cgi?id=428676

--- Comment #2 from Harald Sitter  ---
And please provide a debug log with libssh output
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/Debugging_IOSlaves/Debugging_kio_sftp#Logging_with_libssh_debug_output

-- 
You are receiving this mail because:
You are watching all bug changes.

[kio-extras] [Bug 428676] When adding adding network folder in dolphin for ssh (via sftp or fish) getting message Unable to connect to server

2020-11-05 Thread Harald Sitter
https://bugs.kde.org/show_bug.cgi?id=428676

Harald Sitter  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO
 CC||sit...@kde.org

--- Comment #1 from Harald Sitter  ---
Can you elaborate on your intended ssh-agent involvement here? Your .bashrc is
irrelevant unless you start your entire desktop session from a bash as that
entire sourcing dancing will do nothing. Bash is not involved in starting up a
desktop session.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kio-extras] [Bug 428676] When adding adding network folder in dolphin for ssh (via sftp or fish) getting message Unable to connect to server

2020-11-04 Thread Hans
https://bugs.kde.org/show_bug.cgi?id=428676

Hans  changed:

   What|Removed |Added

 CC||h...@spekkie.uk

-- 
You are receiving this mail because:
You are watching all bug changes.