liximomo / vscode-sftp

Super fast sftp/ftp extension for VS Code
MIT License
1.5k stars 256 forks source link

Does SFTP use hosts in .ssh/config on MacOS? #896

Open jarrah31 opened 3 years ago

jarrah31 commented 3 years ago

I have a host defined in .ssh/config, but when I enter the hostname within the sftp.json file, I receive an getaddrinfo ENOTFOUND error.

Do I need to specify something within the json file to tell it to use the configuration found in config? Will it then also use the ssh key identify file specified within there?

Desktop (please complete the following information):

TIA

ghost commented 3 years ago

I have the same setup and haven't found a way to get around recognizing ~/.ssh/config. The plugin seems to like only IP addresses.

ygean commented 2 years ago

Do you solve the problem?

jarrah31 commented 2 years ago

Unfortunately not :(