Skip to content

SCP file transfer does not support relative file paths #4564

Closed
@phorcys420

Description

@phorcys420

When a canonical path is not specifed, scp should have the base path be the home of the current user.

scp -r ./folder coder.env:.cache/JetBrains/Fleet
scp: stat remote: No such file or directory

scp -r ./folder coder.env:/home/coder/.cache/JetBrains/Fleet works fine.

I have checked and this SCP behavior is functional over regular SSH.
This is causing JetBrains Fleet to not work remotely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiArea: HTTP API

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions