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

Bug#236605: kdebase-kio-plugins: kio_sftp fails - bad ssh switch usage



albanbrowaeys  writes:

> Package: kdebase-kio-plugins Version: 4:3.2.1-1 Severity: normal

> while querying via sftp through konqueror i grabbed its command from
> the process list and tested it to find out why it fails:

Please explain how it fails for you to see if we can find the real bug
here.

> ssh -p 22 -o ForwardX11 no -o ForwardAgent no -e none -l
> <my_user_id> -v <the_remote_host> -s sftp command-line line 0:
> Missing yes/no argument.

You are wrong about this.  The reason this fails is that your shell
splits something like "ForwardAgent no" into two arguments
ForwardAgent and no, which is wrong, and is not what the sftp ioslave
does.  If you do 
       ssh -p 22 -o "ForwardX11 no" -o "ForwardAgent no" <snip>
to prevent splitting the arguments by the shell, all should work as
expected. 

See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=188089, 
http://bugs.kde.org/show_bug.cgi?id=51359

cheers
domi



Reply to: