Skip to content

OpenSSH 9.0 changed double quoting behavior #150

Open
@Kistelini

Description

@Kistelini

OpenSSH 9.0 changed the default scp protocol from scp to sftp. This also changes how remote path have to be quoted and leads to broken autocompletion on Arch Linux where OpenSSH 9.0 is already the default. Example:

% touch test\ a
% scp test\ a remote:
test a                                                                                                                       100%    0     0.0KB/s   00:00    
% scp test\ a remote:test\\\ a #with tab completion
test a                                                                                                                       100%    0     0.0KB/s   00:00    
% ssh remote ls
test a
test\ a

This also affects rsync completion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions