Skip to content
This repository was archived by the owner on Jan 17, 2021. It is now read-only.
This repository was archived by the owner on Jan 17, 2021. It is now read-only.

Remote directory argument is not working #179

Open

Description

@mmiakashs

I successfully installed sshcode and it is running perfectly, except the remote directory argument is not working as expected. For example if I run the following it always starts the sshcode from remote server home directory (~/), i.e. sshcode ignores the second remote directory argument.
sshcode user@domain "~/projects/sourcegraph"

Did I need to configure anything after installing sshcode?

Activity

  1. Merith-TK commented on May 10, 2020

    @Merith-TK
    Contributor

    this is kinda a problem with code-server
    it prioritizes the most recently opened folder rather than the command line argument, which needs to be fixed. but they only fixed it in the 3.0 builds, which arnt supported on sshcode

  2. mmiakashs commented on May 11, 2020

    @mmiakashs
    Author

    Thanks. Is there any way I can change the folder in which sshcode will open by default?

  3. Merith-TK commented on May 11, 2020

    @Merith-TK
    Contributor

    THe only way i found was to go through the code-server data directory for sshcode, and edit it so the last dir open is the one you want, chown it to another user, but allow the current user to read the file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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