sshcode
sshcode copied to clipboard
Remote directory argument is not working
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?
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
Thanks. Is there any way I can change the folder in which sshcode will open by default?
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