Open Ksurabhi08 opened 2 years ago
This issue would be easier to solve with debug logs, so please follow these steps:
DEBUG_SSH2
to the sshfs.flags
array in VS Code's User Settings (settings.json)
e.g. "sshfs.flags": ["DEBUG_SSH2"]
Output > SSH FS
and copy the log from there after replicating your bugDEBUG_SSH2
activates some internal logging, which is less likely to be censored)_Also what kind of server OS is your remote server? Which kind/version of SSH, e.g. OpenSSH?
You want to disable the SFTP part of the extension, i.e. the whole transferring files part? Technically this is possible if you only want to use the extension for terminals, but in that case directly using ssh
in a terminal (profile) is all you need.
For using a negative CHECK_HOME
flag, you need to add -CHECK_HOME
to the "flags"
array, see #270 for information/examples.
Hi Kelvin,
Thank you for the Extension.
I've been using extension for a while but looks like our org is implementing CyberArk and asked to use CyberArk to connect to server. I'm trying to use the extension but it is failing to connect because of sftp issue "Error while connecting to SSH FS test: Received exit code 255 while establishing SFTP session"
Sometimes i also see , "Error while connecting to SSH FS test Could not detect home directory" and "Couldn't detect the home directory for 'test'" even after I've added "CHECK_HOME": "false" in the settings json.
Is there a way we can disable sftp connection and is what should we added in settings.json to ignore checking the home directory ?
Thank you!