vscode-sftp icon indicating copy to clipboard operation
vscode-sftp copied to clipboard

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

Open jarrah31 opened this issue 3 years ago • 3 comments

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):

  • OS: Mac
  • VSCode Version 1.53.2
  • Extension Version 1.12.9

TIA

jarrah31 avatar Mar 05 '21 18:03 jarrah31

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.

ghost avatar Mar 23 '21 22:03 ghost

Do you solve the problem?

ygean avatar Aug 18 '21 02:08 ygean

Unfortunately not :(

jarrah31 avatar Aug 24 '21 11:08 jarrah31