Vs_ Code remote SFTP connects to the server to modify the nginx configuration information and reports all configured authentication methods failed

solution: for example, the server side is

on Linux

  1. modify the SSH configuration file, enter the command :sudo vim /etc/ssh/sshd_config, modify as follows:
  2. save exit, restart SSH service :sudo service SSH restart

Read More: