https://bugs.kde.org/show_bug.cgi?id=428676

            Bug ID: 428676
           Summary: When adding adding network folder in dolphin for ssh
                    (via sftp or fish) getting message Unable to connect
                    to server
           Product: kio-extras
           Version: unspecified
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: SFTP
          Assignee: plasma-b...@kde.org
          Reporter: h...@spekkie.uk
  Target Milestone: ---

SUMMARY

This doesn't work for sftp and fish when execute via dolphin add network (or
dophin command bar). It DOES work straight from the command line

STEPS TO REPRODUCE

1 I have an ssh agent running with following in .bashrc (as per arch wiki). 


# pass ssh-agent to kdewallet
export SSH_ASKPASS='/usr/bin/ksshaskpass'

# start ssh agent if not running

if ! pgrep -u "$USER" ssh-agent > /dev/null; then
    ssh-agent > "$XDG_RUNTIME_DIR/ssh-agent.env"
fi
if [[ ! "$SSH_AUTH_SOCK" ]]; then
    source "$XDG_RUNTIME_DIR/ssh-agent.env" >/dev/null
fi


2 I am using kdewallet to store the passphrase.
ssh-add -q ~/Keys/AWS/aws.pem </dev/null

If done for the first time it will popup and ask for the passphrase and if save
is selected it will store in kde wallet.

3 If I connect from command line with ssh x...@xxx.xx.xx.xx it works
  if I connect from command line with sftp x...@xxx.xx.xx.xx it works



OBSERVED RESULT
When I try to add a network folder in the wizard or directly in the bar, I get
the message: Unable to connect to server. Please check your settings and try
again. It doesn't work for sftp and fish

EXPECTED RESULT

I should be able to connect as I can do through the command line.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Arch
(available in About System)
KDE Plasma Version:5.19.5 
KDE Frameworks Version: 5.74
Qt Version: 5.15.1

ADDITIONAL INFORMATION

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

Reply via email to