sshcode
sshcode copied to clipboard
"cd: tmp: No such file or directory" when start sshcode
I try to start sshcode under windows to connect server in Ubuntu, then when it install code-server I got the error message. I have checked server, /tmp and /tmp/code-server are there:
I think it maybe the default login directory is /home/user? does someone know how to solve it or skip the step?
Are you running under WSL on windows? sshcode doesn't support windows natively
Are you running under WSL on windows?
sshcodedoesn't support windows natively
No, I run sshcode in build-in cmd, but the error is wired since it seems to have nothing to do with windows, and I think the error occurs during bash operations on server which is indeed linux......
Have the same error here, also on Windows. The command line is git-bash.
I think go is using windows path, which interprets slash as an backslash, but also over ssh so the Ubuntu reads it as escape character.
Have the same error here, also on Windows. The command line is git-bash.
I think go is using windows path, which interprets slash as an backslash, but also over ssh so the Ubuntu reads it as escape character.
I suspect that, the first 4 commands in fig that contains "slash" runs without problem on my server (it creates and downloads code-server). I don't familiar with go, but I think if someone change the call of 'cd tmp' to 'cd /tmp', it might work.
/tmp is not a dir in windows. I believe that tmp for apps in windows is within %APPDATA%. I am pretty sure that windows support is eventually coming.
I'm thinking it's probably an issue caused by the windows SSH command interpreting the bash script incorrectly since that script should be running on the remote host
Could potentially be, I am not too familiar with windows.
/tmp is not a dir in windows. I believe that tmp for apps in windows is within %APPDATA%. I am pretty sure that windows support is eventually coming.
Actually, it succeed to execute that "wget" command to download code-server to /tmp in remote server, so I think the commands are run inside remote bash.