You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
This issue would be easier to solve with debug logs, so please follow these steps:
Add DEBUG_SSH2 to the sshfs.flags array in VS Code's User Settings (settings.json)
e.g. "sshfs.flags": ["DEBUG_SSH2"]
If you already have a connection open, close it completely (or even reload the window)
Go to Output > SSH FS and copy the log from there after replicating your bug
While it should censor passwords/passphrases, I recommend checking it for (other) sensitive data first. (especially since DEBUG_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!
The text was updated successfully, but these errors were encountered: