liximomo / vscode-sftp

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

No transfer of files on single hop #814

Open condrine opened 4 years ago

condrine commented 4 years ago

Do you read the FAQ?

Describe the bug While trying sftp over single hop, the debug log ends at "Writing Channel Open" followed by "writing ping" and the files are not transferred/ synced.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Run command 'Any sftp transfer command'
  3. See error: debug log...

Expected behavior Files were supposed to transfer but don't.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Extension Logs from Startup - required [08-18 03:58:58] [info] config at /home/risha/B-Kgamma/practice {"remotePath":"/home/user/Rishabh","uploadOnSave":true,"downloadOnOpen":false,"ignore":[],"concurrency":4,"protocol":"sftp","connectTimeout":10000,"interactiveAuth":false,"secure":false,"remoteTimeOffsetInHours":0,"name":"practice","host":"sshcc1.kek.jp","username":"**","privateKeyPath":"/home/risha/.ssh/id_rsa","hop":{"host":"login.cc.kek.jp","username":"user","privateKeyPath":"/home01/user/.ssh/id_rsa"}} [08-18 03:59:09] [info] [file-save] /home/risha/B-Kgamma/practice/test.py [08-18 03:59:09] [trace] handle upload file for /home/risha/B-Kgamma/practice/test.py [08-18 03:59:09] [debug] Local ident: 'SSH-2.0-ssh2js0.4.5' [08-18 03:59:09] [debug] Client: Trying sshcc1.kek.jp on port 22 ... [08-18 03:59:10] [debug] Client: Connected [08-18 03:59:11] [debug] Remote ident: 'SSH-2.0-OpenSSH_7.4' [08-18 03:59:11] [debug] Outgoing: Writing KEXINIT [08-18 03:59:11] [debug] DEBUG: Comparing KEXINITs ... [08-18 03:59:11] [debug] (local) KEX algorithms: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1 [08-18 03:59:11] [debug] (remote) KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 [08-18 03:59:11] [debug] KEX algorithm: ecdh-sha2-nistp256 [08-18 03:59:11] [debug] (local) Host key formats: ssh-ed25519,ssh-rsa,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521 [08-18 03:59:11] [debug] (remote) Host key formats: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519 [08-18 03:59:11] [debug] Host key format: ssh-ed25519 [08-18 03:59:11] [debug] (local) Client->Server ciphers: aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm,aes128-gcm@openssh.com,aes256-gcm,aes256-gcm@openssh.com [08-18 03:59:11] [debug] (remote) Client->Server ciphers: aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se [08-18 03:59:11] [debug] Client->Server Cipher: aes128-ctr [08-18 03:59:11] [debug] (local) Server->Client ciphers: aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm,aes128-gcm@openssh.com,aes256-gcm,aes256-gcm@openssh.com [08-18 03:59:11] [debug] (remote) Server->Client ciphers: aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se [08-18 03:59:11] [debug] Server->Client Cipher: aes128-ctr [08-18 03:59:11] [debug] (local) Client->Server HMAC algorithms: hmac-sha2-256,hmac-sha2-512,hmac-sha1 [08-18 03:59:11] [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-ripemd160-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160 [08-18 03:59:11] [debug] Client->Server HMAC algorithm: hmac-sha2-256 [08-18 03:59:11] [debug] (local) Server->Client HMAC algorithms: hmac-sha2-256,hmac-sha2-512,hmac-sha1 [08-18 03:59:11] [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-ripemd160-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160 [08-18 03:59:11] [debug] Server->Client HMAC algorithm: hmac-sha2-256 [08-18 03:59:11] [debug] (local) Client->Server compression algorithms: none,zlib@openssh.com,zlib [08-18 03:59:11] [debug] (remote) Client->Server compression algorithms: none,zlib@openssh.com [08-18 03:59:11] [debug] Client->Server compression algorithm: none [08-18 03:59:11] [debug] (local) Server->Client compression algorithms: none,zlib@openssh.com,zlib [08-18 03:59:11] [debug] (remote) Server->Client compression algorithms: none,zlib@openssh.com [08-18 03:59:11] [debug] Server->Client compression algorithm: none [08-18 03:59:11] [debug] Outgoing: Writing KEXECDH_INIT [08-18 03:59:12] [debug] DEBUG: Checking host key format [08-18 03:59:12] [debug] DEBUG: Checking signature format [08-18 03:59:12] [debug] DEBUG: Verifying host fingerprint [08-18 03:59:12] [debug] DEBUG: Host accepted by default (no verification) [08-18 03:59:12] [debug] DEBUG: Verifying signature [08-18 03:59:12] [debug] Outgoing: Writing NEWKEYS [08-18 03:59:12] [debug] Outgoing: Writing SERVICE_REQUEST (ssh-userauth) [08-18 03:59:12] [debug] Outgoing: Writing USERAUTH_REQUEST (none) [08-18 03:59:13] [debug] Client: none auth failed [08-18 03:59:13] [debug] Outgoing: Writing USERAUTH_REQUEST (publickey -- check) [08-18 03:59:13] [debug] Outgoing: Writing USERAUTH_REQUEST (publickey) [08-18 03:59:14] [debug] Outgoing: Writing CHANNEL_OPEN (0, session) [08-18 03:59:16] [debug] Outgoing: Writing CHANNEL_REQUEST (0, subsystem: sftp) [08-18 03:59:17] [debug] Outgoing: Writing CHANNEL_DATA (0) [08-18 03:59:18] [info] hopping from sshcc1.kek.jp to login.cc.kek.jp [08-18 03:59:18] [debug] Outgoing: Writing CHANNEL_OPEN (1, direct-tcpip) [08-18 03:59:47] [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com) [08-18 04:00:18] [debug] Outgoing: Writing ping (GLOBAL_REQUEST: keepalive@openssh.com)