Open hardianlawi opened 4 years ago
same to me, do u find the solution ?
me too , same problem . after update to the newest version of vsc .
didn't find any solution yet .
[SOLVED!!!]
The solution, for me (MacOs Mojave / VS Code 1.43.9), has included two steps:
I hope it's help.
More simple, but same problem. { "name": "MyLocalhost, "host": "192.168.1.11", "protocol": "sftp", "port": 22, "username": "myusername", "password": "mypass", "remotePath": "/Applications/XAMPP/xamppfiles/htdocs/proped_migra/", "uploadOnSave": false }
Output: [03-11 17:28:58] [debug] Local ident: 'SSH-2.0-ssh2js0.4.5' [03-11 17:28:58] [debug] Client: Trying 192.168.1.11 on port 22 ...
[03-11 17:28:58] [debug] Client: Connected
[03-11 17:28:59] [debug] Remote ident: 'SSH-2.0-OpenSSH_6.9' [03-11 17:28:59] [debug] Outgoing: Writing KEXINIT [03-11 17:28:59] [debug] DEBUG: Comparing KEXINITs ... [03-11 17:28:59] [debug] (local) KEX algorithms: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1 [03-11 17:28:59] [debug] (remote) KEX algorithms: curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1 [03-11 17:28:59] [debug] KEX algorithm: ecdh-sha2-nistp256 [03-11 17:28:59] [debug] (local) Host key formats: ssh-ed25519,ssh-rsa,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521 [03-11 17:28:59] [debug] (remote) Host key formats: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ssh-ed25519 [03-11 17:28:59] [debug] Host key format: ssh-ed25519 [03-11 17:28:59] [debug] (local) Client->Server ciphers: aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm,aes128-gcm@openssh.com,aes256-gcm,aes256-gcm@openssh.com [03-11 17:28:59] [debug] (remote) Client->Server ciphers: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com [03-11 17:28:59] [debug] Client->Server Cipher: aes128-ctr [03-11 17:28:59] [debug] (local) Server->Client ciphers: aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm,aes128-gcm@openssh.com,aes256-gcm,aes256-gcm@openssh.com [03-11 17:28:59] [debug] (remote) Server->Client ciphers: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com [03-11 17:28:59] [debug] Server->Client Cipher: aes128-ctr [03-11 17:28:59] [debug] (local) Client->Server HMAC algorithms: hmac-sha2-256,hmac-sha2-512,hmac-sha1 [03-11 17:28:59] [debug] (remote) Client->Server HMAC algorithms: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 [03-11 17:28:59] [debug] Client->Server HMAC algorithm: hmac-sha2-256 [03-11 17:28:59] [debug] (local) Server->Client HMAC algorithms: hmac-sha2-256,hmac-sha2-512,hmac-sha1 [03-11 17:28:59] [debug] (remote) Server->Client HMAC algorithms: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 [03-11 17:28:59] [debug] Server->Client HMAC algorithm: hmac-sha2-256 [03-11 17:28:59] [debug] (local) Client->Server compression algorithms: none,zlib@openssh.com,zlib [03-11 17:28:59] [debug] (remote) Client->Server compression algorithms: none,zlib@openssh.com [03-11 17:28:59] [debug] Client->Server compression algorithm: none [03-11 17:28:59] [debug] (local) Server->Client compression algorithms: none,zlib@openssh.com,zlib [03-11 17:28:59] [debug] (remote) Server->Client compression algorithms: none,zlib@openssh.com [03-11 17:28:59] [debug] Server->Client compression algorithm: none [03-11 17:28:59] [debug] Outgoing: Writing KEXECDH_INIT [03-11 17:28:59] [debug] DEBUG: Checking host key format [03-11 17:28:59] [debug] DEBUG: Checking signature format [03-11 17:28:59] [debug] DEBUG: Verifying host fingerprint [03-11 17:28:59] [debug] DEBUG: Host accepted by default (no verification) [03-11 17:28:59] [debug] DEBUG: Verifying signature [03-11 17:28:59] [debug] Outgoing: Writing NEWKEYS [03-11 17:28:59] [debug] Outgoing: Writing SERVICE_REQUEST (ssh-userauth)
[03-11 17:28:59] [debug] Outgoing: Writing USERAUTH_REQUEST (none) [03-11 17:28:59] [debug] Client: none auth failed [03-11 17:28:59] [debug] Outgoing: Writing USERAUTH_REQUEST (password) [03-11 17:28:59] [debug] Client: password auth failed
[03-11 17:28:59] [debug] Outgoing: Writing DISCONNECT (BY_APPLICATION) [03-11 17:28:59] [debug] Outgoing: Writing DISCONNECT (BY_APPLICATION) [03-11 17:28:59] [debug] Outgoing: Writing DISCONNECT (BY_APPLICATION) [03-11 17:28:59] [debug] Outgoing: Writing DISCONNECT (BY_APPLICATION)
Any sugestion? Thanks in advanced. Carlos
me too , same problem . after update to the newest version of vsc .
didn't find any solution yet .
i find a solution:
similar problem after upgrading
I have same problem too. vscode 1.52.1 liximomo 1.12.9
local server: ubuntu 20.04.1 lts remote server: fedora release 33 ssh local client: 8.2p1-4ubuntu0.1 ssh remote server: OpenSSH_8.4p1, OpenSSL 1.1.1h FIPS 22 Sep 2020
any advance of this issue? thanks.
I fixed it commenting this line in sshd_config
For me it was solved by not using an = sign in my password. Could be that there is an encoding issue here.
Do you read the FAQ?
Describe the bug All configured authentication methods failed.
To Reproduce
Expected behavior
Everything works fine.
Desktop (please complete the following information):
Extension Logs from Startup - required
Open User Settings.
sftp.debug
totrue
and reload vscode.