h3imdall / ftp-remote-edit

Edit files on ftp servers with Atom editor and without a workspace.
MIT License
178 stars 28 forks source link

Unable to open connection after closing it. Requires restart or logout. #290

Closed connormcmk closed 5 years ago

connormcmk commented 5 years ago

I am currently on version 0.15.2

When I first connect to my device, it works great, but if I close the folder connection and try to reopen it fails (even though the log says that everything is working).

First it hangs for a long time, then it just quits.

Is there a different way I should be refreshing the contents of the directory than closing and reopening the directory?

cschindl commented 5 years ago

Hi @cnrmck,

you can reload an already opened file by right-clicking and selecting "reload". The same works for expanded directories. Why a quick opening and closing of the connection leads to an error, I can only find out with more information.

cschindl commented 5 years ago

To help you, I'd need to know if you connects via ftp or sftp and a log of the debug protocol (see debug mode) would be great.

connormcmk commented 5 years ago

Ok, I will replicate the issue with logs on and get back to you. Thanks!

MESHSfr commented 5 years ago

i have got the same problem with sftp after some (long) time, it's probably linked with idle state of the connection inactivity, and then i have to restart atom to be able to connect again

cschindl commented 5 years ago

Hi @MESHSfr,

apparently, the connection is disconnected from the server after a certain period of time if there is no activity. Normally a timeout should be thrown or the connection should be interrupted. This is also very different for each OS. To help you, I'd need a log of the debug protocol (enable debug mode in package preferences, output will be show in the console). I also need the information which os you are using. Furthermore, please execute the command "apm -v" in the console and write the versions here.

MESHSfr commented 5 years ago

Hi @cschindl , thank you for your message.

I'll make the test needed : I have got the problem on two computer, one with windows 7, one with ubuntu 16.04., but with the same type of servers (ubuntu sftp)

No problem for the debug mode, it's enable,

Here is apm -v of both : apm 2.1.7 npm 6.2.0 node 8.9.3 x64 atom 1.38.0 (1.38.2 for ubuntu) python (2.7.12 for ubuntu) git (2.7.4 for ubuntu) visual studio

Sorry to ask that, but i'm not exactly sure how to access the console (i found some package, but it does not seems to be of a great help), can you help me on that ? regards, M.

cschindl commented 5 years ago

Hi @MESHSfr,

to open the console you have to click on "view" -> "Developer" -> "Toggle developer tools" in the menu and open the tab "console".

MESHSfr commented 5 years ago

Hi, thank you for this quick answer, here are the logs : (with first a login ok (to open contactb.php) on fresh launch, then later a failed connection (to open cssgen.php) after a few hours)

11:17:56.446 index.html:1 WebSocket connection to 'wss://ws-mt1.pusher.com/app/f119821248b7429bece3?protocol=7&client=js&version=4.4.0&flash=false' failed: WebSocket is closed before the connection is established. 11:17:56.449 /home/agrillon/.atom/packages/teletype/lib/teletype-package.js:51 teletype: Using pusher key: f119821248b7429bece3 11:17:56.450 /home/agrillon/.atom/packages/teletype/lib/teletype-package.js:52 teletype: Using base URL: https://api.teletype.atom.io 11:17:57.078 VM22 :11 [Deprecation] /deep/ combinator is no longer supported in CSS dynamic profile. It is now effectively no-op, acting as if it were a descendant combinator. You should consider to remove it. See https://www.chromestatus.com/features/4964279606312960 for more details. isVisible @ VM22 :11 [...] 11:19:26.055 tree-view.js? [sm]:301 connector:listDirectory /home/xxx/ 11:19:26.055 tree-view.js? [sm]:302 connector:connect 11:19:26.055 tree-view.js? [sm]:302 sftp:connect 11:19:26.057 tree-view.js? [sm]:302 sftp:debug: Local ident: 'SSH-2.0-ssh2js0.4.4' 11:19:26.058 tree-view.js? [sm]:302 sftp:debug: Client: Trying 192.168.1.1 on port 22 ... 11:19:26.087 tree-view.js? [sm]:302 sftp:debug: Client: Connected 11:19:26.116 tree-view.js? [sm]:302 sftp:debug: Remote ident: 'SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.8' 11:19:26.117 tree-view.js? [sm]:302 sftp:debug: Outgoing: Writing KEXINIT 11:19:26.139 tree-view.js? [sm]:302 sftp:debug: Comparing KEXINITs ... 11:19:26.140 tree-view.js? [sm]:302 sftp:debug: (local) KEX algorithms: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1 11:19:26.140 tree-view.js? [sm]:302 sftp: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 11:19:26.140 tree-view.js? [sm]:302 sftp:debug: KEX algorithm: ecdh-sha2-nistp256 11:19:26.140 tree-view.js? [sm]:302 sftp:debug: (local) Host key formats: ssh-rsa,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521 11:19:26.140 tree-view.js? [sm]:302 sftp:debug: (remote) Host key formats: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519 11:19:26.140 tree-view.js? [sm]:302 sftp:debug: Host key format: ssh-rsa 11:19:26.141 tree-view.js? [sm]:302 sftp:debug: (local) Client->Server ciphers: aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm,aes128-gcm@openssh.com,aes256-gcm,aes256-gcm@openssh.com 11:19:26.141 tree-view.js? [sm]:302 sftp:debug: (remote) Client->Server ciphers: - 11:19:26.141 tree-view.js? [sm]:302 sftp:debug: Client->Server Cipher: aes128-ctr 11:19:26.141 tree-view.js? [sm]:302 sftp:debug: (local) Server->Client ciphers: aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm,aes128-gcm@openssh.com,aes256-gcm,aes256-gcm@openssh.com 11:19:26.141 tree-view.js? [sm]:302 sftp:debug: (remote) Server->Client ciphers: - 11:19:26.141 tree-view.js? [sm]:302 sftp:debug: Server->Client Cipher: aes128-ctr 11:19:26.141 tree-view.js? [sm]:302 sftp:debug: (local) Client->Server HMAC algorithms: hmac-sha2-256,hmac-sha2-512,hmac-sha1 11:19:26.141 tree-view.js? [sm]:302 sftp:debug: (remote) Client->Server HMAC algorithms: - 11:19:26.141 tree-view.js? [sm]:302 sftp:debug: Client->Server HMAC algorithm: hmac-sha2-256 11:19:26.142 tree-view.js? [sm]:302 sftp:debug: (local) Server->Client HMAC algorithms: hmac-sha2-256,hmac-sha2-512,hmac-sha1 11:19:26.142 tree-view.js? [sm]:302 sftp:debug: (remote) Server->Client HMAC algorithms: - 11:19:26.142 tree-view.js? [sm]:302 sftp:debug: Server->Client HMAC algorithm: hmac-sha2-256 11:19:26.142 tree-view.js? [sm]:302 sftp:debug: (local) Client->Server compression algorithms: none,zlib@openssh.com,zlib 11:19:26.142 tree-view.js? [sm]:302 sftp:debug: (remote) Client->Server compression algorithms: none,zlib@openssh.com 11:19:26.142 tree-view.js? [sm]:302 sftp:debug: Client->Server compression algorithm: none 11:19:26.142 tree-view.js? [sm]:302 sftp:debug: (local) Server->Client compression algorithms: none,zlib@openssh.com,zlib 11:19:26.142 tree-view.js? [sm]:302 sftp:debug: (remote) Server->Client compression algorithms: none,zlib@openssh.com 11:19:26.142 tree-view.js? [sm]:302 sftp:debug: Server->Client compression algorithm: none 11:19:26.145 tree-view.js? [sm]:302 sftp:debug: Outgoing: Writing KEXECDH_INIT 11:19:26.172 tree-view.js? [sm]:302 sftp:debug: Checking host key format 11:19:26.172 tree-view.js? [sm]:302 sftp:debug: Checking signature format 11:19:26.172 tree-view.js? [sm]:302 sftp:debug: Verifying host fingerprint 11:19:26.172 tree-view.js? [sm]:302 sftp:debug: Host accepted by default (no verification) 11:19:26.181 tree-view.js? [sm]:302 sftp:debug: Verifying signature 11:19:26.182 tree-view.js? [sm]:302 sftp:debug: Outgoing: Writing NEWKEYS 11:19:26.184 tree-view.js? [sm]:302 sftp:debug: Outgoing: Writing SERVICE_REQUEST (ssh-userauth) 11:19:26.209 tree-view.js? [sm]:302 sftp:debug: Outgoing: Writing USERAUTH_REQUEST (none) 11:19:26.235 tree-view.js? [sm]:302 sftp:debug: Client: none auth failed 11:19:26.236 tree-view.js? [sm]:302 sftp:debug: Outgoing: Writing USERAUTH_REQUEST (password) 11:19:26.261 tree-view.js? [sm]:302 sftp:debug: Client: password auth failed 11:19:26.262 tree-view.js? [sm]:302 sftp:debug: Outgoing: Writing USERAUTH_REQUEST (publickey -- check) 11:19:26.401 tree-view.js? [sm]:302 sftp:debug: Outgoing: Writing USERAUTH_REQUEST (publickey) 11:19:26.428 tree-view.js? [sm]:302 sftp:connect:ready 11:19:26.428 tree-view.js? [sm]:302 sftp:debug: Outgoing: Writing CHANNEL_OPEN (0, session) 11:19:27.070 tree-view.js? [sm]:302 sftp:debug: Outgoing: Writing CHANNEL_REQUEST (0, subsystem: sftp) 11:19:27.099 tree-view.js? [sm]:302 sftp:debug: Outgoing: Writing CHANNEL_DATA (0) 11:19:27.125 tree-view.js? [sm]:302 sftp:list 11:19:27.126 tree-view.js? [sm]:302 DEBUG[SFTP]: Outgoing: Writing OPENDIR 11:19:27.126 tree-view.js? [sm]:302 sftp:debug: Outgoing: Writing CHANNEL_DATA (0) 11:19:27.152 tree-view.js? [sm]:302 DEBUG[SFTP]: Parser: Response: HANDLE 11:19:27.152 tree-view.js? [sm]:302 DEBUG[SFTP]: Outgoing: Writing READDIR 11:19:27.152 tree-view.js? [sm]:302 sftp:debug: Outgoing: Writing CHANNEL_DATA (0) 11:19:27.179 tree-view.js? [sm]:302 DEBUG[SFTP]: Parser: Response: NAME 11:19:27.181 tree-view.js? [sm]:302 DEBUG[SFTP]: Outgoing: Writing READDIR 11:19:27.181 tree-view.js? [sm]:302 sftp:debug: Outgoing: Writing CHANNEL_DATA (0) 11:19:27.208 tree-view.js? [sm]:302 DEBUG[SFTP]: Parser: Response: STATUS 11:19:27.209 tree-view.js? [sm]:302 DEBUG[SFTP]: Outgoing: Writing CLOSE 11:19:27.209 tree-view.js? [sm]:302 sftp:debug: Outgoing: Writing CHANNEL_DATA (0) 11:19:27.237 tree-view.js? [sm]:302 DEBUG[SFTP]: Parser: Response: STATUS 11:19:27.238 tree-view.js? [sm]:302 connector:disconnect 11:19:28.471 tree-view.js? [sm]:301 connector:listDirectory /home/xxx/www/ 11:19:28.471 tree-view.js? [sm]:302 connector:connect 11:19:28.471 tree-view.js? [sm]:302 sftp:list 11:19:28.471 tree-view.js? [sm]:302 DEBUG[SFTP]: Outgoing: Writing OPENDIR 11:19:28.472 tree-view.js? [sm]:302 sftp:debug: Outgoing: Writing CHANNEL_DATA (0) 11:19:28.499 tree-view.js? [sm]:302 DEBUG[SFTP]: Parser: Response: HANDLE 11:19:28.499 tree-view.js? [sm]:302 DEBUG[SFTP]: Outgoing: Writing READDIR 11:19:28.499 tree-view.js? [sm]:302 sftp:debug: Outgoing: Writing CHANNEL_DATA (0) 11:19:28.572 tree-view.js? [sm]:302 DEBUG[SFTP]: Parser: Response: NAME 11:19:28.573 tree-view.js? [sm]:302 DEBUG[SFTP]: Outgoing: Writing READDIR 11:19:28.573 tree-view.js? [sm]:302 sftp:debug: Outgoing: Writing CHANNEL_DATA (0) 11:19:28.621 tree-view.js? [sm]:302 DEBUG[SFTP]: Parser: Response: NAME 11:19:28.622 tree-view.js? [sm]:302 DEBUG[SFTP]: Outgoing: Writing READDIR 11:19:28.622 tree-view.js? [sm]:302 sftp:debug: Outgoing: Writing CHANNEL_DATA (0) 11:19:28.646 tree-view.js? [sm]:302 DEBUG[SFTP]: Parser: Response: STATUS 11:19:28.646 tree-view.js? [sm]:302 DEBUG[SFTP]: Outgoing: Writing CLOSE 11:19:28.646 tree-view.js? [sm]:302 sftp:debug: Outgoing: Writing CHANNEL_DATA (0) 11:19:28.671 tree-view.js? [sm]:302 DEBUG[SFTP]: Parser: Response: STATUS 11:19:28.673 tree-view.js? [sm]:302 connector:disconnect 11:19:31.129 tree-view.js? [sm]:299 connector:downloadFile /home/xxx/www/contactb.php /tmp/67bf169/192.168.1.1/home/xxx/www/contactb.php 11:19:31.129 tree-view.js? [sm]:302 connector:connect 11:19:31.130 tree-view.js? [sm]:302 sftp:get 11:19:31.132 tree-view.js? [sm]:302 DEBUG[SFTP]: Outgoing: Writing OPEN 11:19:31.132 tree-view.js? [sm]:302 sftp:debug: Outgoing: Writing CHANNEL_DATA (0) 11:19:31.133 tree-view.js? [sm]:302 sftp:get:client.get:success 11:19:31.133 tree-view.js? [sm]:302 sftp:get:stream.pipe 11:19:31.135 tree-view.js? [sm]:302 sftp:get:file.open 11:19:31.158 tree-view.js? [sm]:302 DEBUG[SFTP]: Parser: Response: HANDLE 11:19:31.159 tree-view.js? [sm]:302 DEBUG[SFTP]: Outgoing: Writing READ 11:19:31.159 tree-view.js? [sm]:302 sftp:debug: Outgoing: Writing CHANNEL_DATA (0) 11:19:31.186 tree-view.js? [sm]:302 DEBUG[SFTP]: Parser: Response: DATA 11:19:31.188 tree-view.js? [sm]:302 DEBUG[SFTP]: Outgoing: Writing READ 11:19:31.188 tree-view.js? [sm]:302 sftp:debug: Outgoing: Writing CHANNEL_DATA (0) 11:19:31.214 tree-view.js? [sm]:302 DEBUG[SFTP]: Parser: Response: STATUS 11:19:31.214 tree-view.js? [sm]:302 sftp:get:stream.readable 11:19:31.215 tree-view.js? [sm]:302 DEBUG[SFTP]: Outgoing: Writing CLOSE 11:19:31.216 tree-view.js? [sm]:302 sftp:debug: Outgoing: Writing CHANNEL_DATA (0) 11:19:31.216 tree-view.js? [sm]:302 sftp:get:stream.end 11:19:31.220 tree-view.js? [sm]:302 sftp:get:file.finish 11:19:31.222 tree-view.js? [sm]:302 connector:disconnect 11:19:31.265 tree-view.js? [sm]:302 DEBUG[SFTP]: Parser: Response: STATUS 14:27:09.804 tree-view.js? [sm]:299 connector:downloadFile /home/xxx/www/cssgen.php /tmp/67bf169/192.168.1.1/home/xxx/www/cssgen.php 14:27:09.804 tree-view.js? [sm]:302 connector:connect 14:27:09.805 tree-view.js? [sm]:302 sftp:get 14:27:09.805 tree-view.js? [sm]:302 DEBUG[SFTP]: Outgoing: Writing OPEN 14:27:09.806 tree-view.js? [sm]:302 sftp:debug: Outgoing: Writing CHANNEL_DATA (0) 14:27:09.806 tree-view.js? [sm]:302 sftp:get:client.get:success 14:27:09.807 tree-view.js? [sm]:302 sftp:get:stream.pipe 14:27:09.810 tree-view.js? [sm]:302 sftp:get:file.open 14:29:35.968 tree-view.js? [sm]:299 connector:downloadFile /home/xxx/www/fcts_array.php /tmp/67bf169/192.168.1.1/home/xxx/www/fcts_array.php

i hope it'll help (and i think too it's a problem of timeout not seen)

regards

MESHSfr commented 5 years ago

In case of : If it's not possible to solve this bug, it would be really usefull to be able to manually force close the connection with the server (by example with adding an option on the right clic on the server)

BALARAMA-CHINCHOLI commented 5 years ago

Thanks in advance. Here trying to upload word file,pdf file and jpg file to SFTP server.Using php SFTP.

The website designed by uploading authors written script in pdf,word format. I can able to upload a file and also it is displaying uploaded file name,size,saved file details.But when open the created folder in SFTP server, i cant able to open a file.

Requirement is uploaded file should be send to authorised person email ID.

rajeshvig commented 5 years ago

this issue is very frequent for me on mojave os. on console i see the below

No deserializer found for Object deserialize @ :11

:11 No deserializer found for deserialize @ :11 events.js:167 Uncaught Error: read EADDRNOTAVAIL at TCP.onread (net.js:657) [Violation] Forced reflow while executing JavaScript took 106ms [Violation] Forced reflow while executing JavaScript took 112ms == as a workaround i force quit atom and start it again to be able to use the plugin again. Can we not give a reset connection option to avoid this atom force quite?
pickled-dev commented 5 years ago

While trying to replicate the issue I noticed that this only occurs if I try to reopen the folder immediately. If I wait a few seconds eventually the console will spit out:

sftp:debug: Client: password auth failed
tree-view.js:240 sftp:debug: Outgoing: Writing USERAUTH_REQUEST (publickey -- check)
tree-view.js:240 sftp:debug: Outgoing: Writing USERAUTH_REQUEST (publickey)
tree-view.js:240 sftp:connect:ready
tree-view.js:240 sftp:debug: Outgoing: Writing CHANNEL_OPEN (0, session)
tree-view.js:240 sftp:debug: Outgoing: Writing CHANNEL_REQUEST (0, subsystem: sftp)
tree-view.js:240 sftp:debug: Outgoing: Writing CHANNEL_DATA (0)
tree-view.js:240 sftp:end
tree-view.js:240 sftp:debug: Outgoing: Writing DISCONNECT (BY_APPLICATION)
tree-view.js:240 sftp:debug: Outgoing: Writing CHANNEL_CLOSE (0)

Afterwards I can open the folder again as intended.

Not a big issue at all, but mildly annoying. Even less so now that I realize I just need to wait a few seconds and it works 😝, love the package, thanks to all the contributors for your great work!

Replication

I am experiencing the issue on Windows 10 Pro 10.0.18362 with Atom 1.41.0 x64 and ftp-remote-edit 0.17.4. Here is my apm -v output:

apm  2.4.3
npm  6.2.0
node 10.2.1 x64
atom 1.41.0
python
git
visual studio

Here are the steps I followed to replicate the issue:

  1. Uninstall ftp-remote-edit
  2. Reset all configuration according to @cschindl's steps
  3. Install ftp-remote-edit from within Atom
  4. Set master password when prompted.
  5. Add a new server with the following configuration image
  6. Change ftp-remote-edit settings to enable "Open On Startup" and "Debug Mode"
  7. Restart Atom
  8. Enter master password when prompted
  9. Open remote folder, works as intended.
  10. Collapse folder.
  11. Immediately attempt to open folder again, loads indefinitely.

Console Output:

<embedded>:11 No deserializer found for Object
deserialize @ <embedded>:11
<embedded>:11 No deserializer found for 
deserialize @ <embedded>:11
tree-view.js:239 connector:listDirectory /var/www/omitted.com/
tree-view.js:240 connector:connect
tree-view.js:240 sftp:connect
tree-view.js:240 sftp:debug: Local ident: 'SSH-2.0-ssh2js0.4.6'
tree-view.js:240 sftp:debug: Client: Trying omitted.com on port 22 ...
tree-view.js:240 sftp:debug: Client: Connected
tree-view.js:240 sftp:debug: Remote ident: 'SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3'
tree-view.js:240 sftp:debug: Outgoing: Writing KEXINIT
tree-view.js:240 sftp:debug: Comparing KEXINITs ...
tree-view.js:240 sftp:debug: (local) KEX algorithms: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1
tree-view.js:240 sftp: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-group14-sha256,diffie-hellman-group14-sha1
tree-view.js:240 sftp:debug: KEX algorithm: ecdh-sha2-nistp256
tree-view.js:240 sftp:debug: (local) Host key formats: ssh-rsa,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
tree-view.js:240 sftp:debug: (remote) Host key formats: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519
tree-view.js:240 sftp:debug: Host key format: ssh-rsa
tree-view.js:240 sftp:debug: (local) Client->Server ciphers: aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm,aes128-gcm@openssh.com,aes256-gcm,aes256-gcm@openssh.com
tree-view.js:240 sftp:debug: (remote) Client->Server ciphers: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
tree-view.js:240 sftp:debug: Client->Server Cipher: aes128-ctr
tree-view.js:240 sftp:debug: (local) Server->Client ciphers: aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm,aes128-gcm@openssh.com,aes256-gcm,aes256-gcm@openssh.com
tree-view.js:240 sftp:debug: (remote) Server->Client ciphers: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
tree-view.js:240 sftp:debug: Server->Client Cipher: aes128-ctr
tree-view.js:240 sftp:debug: (local) Client->Server HMAC algorithms: hmac-sha2-256,hmac-sha2-512,hmac-sha1
tree-view.js:240 sftp: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
tree-view.js:240 sftp:debug: Client->Server HMAC algorithm: hmac-sha2-256
tree-view.js:240 sftp:debug: (local) Server->Client HMAC algorithms: hmac-sha2-256,hmac-sha2-512,hmac-sha1
tree-view.js:240 sftp: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
tree-view.js:240 sftp:debug: Server->Client HMAC algorithm: hmac-sha2-256
tree-view.js:240 sftp:debug: (local) Client->Server compression algorithms: none,zlib@openssh.com,zlib
tree-view.js:240 sftp:debug: (remote) Client->Server compression algorithms: none,zlib@openssh.com
tree-view.js:240 sftp:debug: Client->Server compression algorithm: none
tree-view.js:240 sftp:debug: (local) Server->Client compression algorithms: none,zlib@openssh.com,zlib
tree-view.js:240 sftp:debug: (remote) Server->Client compression algorithms: none,zlib@openssh.com
tree-view.js:240 sftp:debug: Server->Client compression algorithm: none
tree-view.js:240 sftp:debug: Outgoing: Writing KEXECDH_INIT
tree-view.js:240 sftp:debug: Checking host key format
tree-view.js:240 sftp:debug: Checking signature format
tree-view.js:240 sftp:debug: Verifying host fingerprint
tree-view.js:240 sftp:debug: Host accepted by default (no verification)
tree-view.js:240 sftp:debug: Verifying signature
tree-view.js:240 sftp:debug: Outgoing: Writing NEWKEYS
tree-view.js:240 sftp:debug: Outgoing: Writing SERVICE_REQUEST (ssh-userauth)
tree-view.js:240 sftp:debug: Outgoing: Writing USERAUTH_REQUEST (none)
tree-view.js:240 sftp:debug: Client: none auth failed
tree-view.js:240 sftp:debug: Outgoing: Writing USERAUTH_REQUEST (password)
tree-view.js:240 sftp:debug: Client: password auth failed
tree-view.js:240 sftp:debug: Outgoing: Writing USERAUTH_REQUEST (publickey -- check)
tree-view.js:240 sftp:debug: Outgoing: Writing USERAUTH_REQUEST (publickey)
tree-view.js:240 sftp:connect:ready
tree-view.js:240 sftp:debug: Outgoing: Writing CHANNEL_OPEN (0, session)
tree-view.js:240 sftp:debug: Outgoing: Writing CHANNEL_REQUEST (0, subsystem: sftp)
tree-view.js:240 sftp:debug: Outgoing: Writing CHANNEL_DATA (0)
tree-view.js:240 sftp:list
tree-view.js:240 DEBUG[SFTP]: Outgoing: Writing OPENDIR
tree-view.js:240 sftp:debug: Outgoing: Writing CHANNEL_DATA (0)
tree-view.js:240 DEBUG[SFTP]: Parser: Response: HANDLE
tree-view.js:240 DEBUG[SFTP]: Outgoing: Writing READDIR
tree-view.js:240 sftp:debug: Outgoing: Writing CHANNEL_DATA (0)
tree-view.js:240 DEBUG[SFTP]: Parser: Response: NAME
tree-view.js:240 DEBUG[SFTP]: Outgoing: Writing READDIR
tree-view.js:240 sftp:debug: Outgoing: Writing CHANNEL_DATA (0)
tree-view.js:240 DEBUG[SFTP]: Parser: Response: STATUS
tree-view.js:240 DEBUG[SFTP]: Outgoing: Writing CLOSE
tree-view.js:240 sftp:debug: Outgoing: Writing CHANNEL_DATA (0)
tree-view.js:240 DEBUG[SFTP]: Parser: Response: STATUS
tree-view.js:240 connector:disconnect
tree-view.js:240 connector:abortAll
tree-view.js:240 connector:connect
tree-view.js:240 sftp:abort
tree-view.js:240 sftp:end
tree-view.js:240 sftp:debug: Outgoing: Writing DISCONNECT (BY_APPLICATION)
tree-view.js:240 sftp:connect
tree-view.js:240 sftp:debug: Local ident: 'SSH-2.0-ssh2js0.4.6'
tree-view.js:240 sftp:debug: Client: Trying omitted.com on port 22 ...
tree-view.js:240 sftp:debug: Client: Connected
tree-view.js:240 sftp:debug: Outgoing: Writing CHANNEL_CLOSE (0)
tree-view.js:240 sftp:debug: Remote ident: 'SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3'
tree-view.js:240 sftp:debug: Outgoing: Writing KEXINIT
tree-view.js:240 sftp:debug: Comparing KEXINITs ...
tree-view.js:240 sftp:debug: (local) KEX algorithms: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1
tree-view.js:240 sftp: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-group14-sha256,diffie-hellman-group14-sha1
tree-view.js:240 sftp:debug: KEX algorithm: ecdh-sha2-nistp256
tree-view.js:240 sftp:debug: (local) Host key formats: ssh-rsa,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
tree-view.js:240 sftp:debug: (remote) Host key formats: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519
tree-view.js:240 sftp:debug: Host key format: ssh-rsa
tree-view.js:240 sftp:debug: (local) Client->Server ciphers: aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm,aes128-gcm@openssh.com,aes256-gcm,aes256-gcm@openssh.com
tree-view.js:240 sftp:debug: (remote) Client->Server ciphers: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
tree-view.js:240 sftp:debug: Client->Server Cipher: aes128-ctr
tree-view.js:240 sftp:debug: (local) Server->Client ciphers: aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm,aes128-gcm@openssh.com,aes256-gcm,aes256-gcm@openssh.com
tree-view.js:240 sftp:debug: (remote) Server->Client ciphers: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
tree-view.js:240 sftp:debug: Server->Client Cipher: aes128-ctr
tree-view.js:240 sftp:debug: (local) Client->Server HMAC algorithms: hmac-sha2-256,hmac-sha2-512,hmac-sha1
tree-view.js:240 sftp: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
tree-view.js:240 sftp:debug: Client->Server HMAC algorithm: hmac-sha2-256
tree-view.js:240 sftp:debug: (local) Server->Client HMAC algorithms: hmac-sha2-256,hmac-sha2-512,hmac-sha1
tree-view.js:240 sftp: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
tree-view.js:240 sftp:debug: Server->Client HMAC algorithm: hmac-sha2-256
tree-view.js:240 sftp:debug: (local) Client->Server compression algorithms: none,zlib@openssh.com,zlib
tree-view.js:240 sftp:debug: (remote) Client->Server compression algorithms: none,zlib@openssh.com
tree-view.js:240 sftp:debug: Client->Server compression algorithm: none
tree-view.js:240 sftp:debug: (local) Server->Client compression algorithms: none,zlib@openssh.com,zlib
tree-view.js:240 sftp:debug: (remote) Server->Client compression algorithms: none,zlib@openssh.com
tree-view.js:240 sftp:debug: Server->Client compression algorithm: none
tree-view.js:240 sftp:debug: Outgoing: Writing KEXECDH_INIT
tree-view.js:240 sftp:debug: Checking host key format
tree-view.js:240 sftp:debug: Checking signature format
tree-view.js:240 sftp:debug: Verifying host fingerprint
tree-view.js:240 sftp:debug: Host accepted by default (no verification)
tree-view.js:240 sftp:debug: Verifying signature
tree-view.js:240 sftp:debug: Outgoing: Writing NEWKEYS
tree-view.js:240 sftp:debug: Outgoing: Writing SERVICE_REQUEST (ssh-userauth)
tree-view.js:240 sftp:debug: Outgoing: Writing USERAUTH_REQUEST (none)
tree-view.js:240 sftp:debug: Client: none auth failed
tree-view.js:240 sftp:debug: Outgoing: Writing USERAUTH_REQUEST (password)
tree-view.js:239 connector:listDirectory /var/www/omitted.com/
tree-view.js:240 connector:connect
tree-view.js:240 sftp:connect
tree-view.js:240 sftp:debug: Local ident: 'SSH-2.0-ssh2js0.4.6'
tree-view.js:240 sftp:debug: Client: Trying omitted.com on port 22 ...
tree-view.js:240 sftp:debug: Client: Connected
tree-view.js:240 sftp:debug: Remote ident: 'SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3'
tree-view.js:240 sftp:debug: Outgoing: Writing KEXINIT
tree-view.js:240 sftp:debug: Comparing KEXINITs ...
tree-view.js:240 sftp:debug: (local) KEX algorithms: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1
tree-view.js:240 sftp: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-group14-sha256,diffie-hellman-group14-sha1
tree-view.js:240 sftp:debug: KEX algorithm: ecdh-sha2-nistp256
tree-view.js:240 sftp:debug: (local) Host key formats: ssh-rsa,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
tree-view.js:240 sftp:debug: (remote) Host key formats: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519
tree-view.js:240 sftp:debug: Host key format: ssh-rsa
tree-view.js:240 sftp:debug: (local) Client->Server ciphers: aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm,aes128-gcm@openssh.com,aes256-gcm,aes256-gcm@openssh.com
tree-view.js:240 sftp:debug: (remote) Client->Server ciphers: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
tree-view.js:240 sftp:debug: Client->Server Cipher: aes128-ctr
tree-view.js:240 sftp:debug: (local) Server->Client ciphers: aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm,aes128-gcm@openssh.com,aes256-gcm,aes256-gcm@openssh.com
tree-view.js:240 sftp:debug: (remote) Server->Client ciphers: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
tree-view.js:240 sftp:debug: Server->Client Cipher: aes128-ctr
tree-view.js:240 sftp:debug: (local) Client->Server HMAC algorithms: hmac-sha2-256,hmac-sha2-512,hmac-sha1
tree-view.js:240 sftp: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
tree-view.js:240 sftp:debug: Client->Server HMAC algorithm: hmac-sha2-256
tree-view.js:240 sftp:debug: (local) Server->Client HMAC algorithms: hmac-sha2-256,hmac-sha2-512,hmac-sha1
tree-view.js:240 sftp: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
tree-view.js:240 sftp:debug: Server->Client HMAC algorithm: hmac-sha2-256
tree-view.js:240 sftp:debug: (local) Client->Server compression algorithms: none,zlib@openssh.com,zlib
tree-view.js:240 sftp:debug: (remote) Client->Server compression algorithms: none,zlib@openssh.com
tree-view.js:240 sftp:debug: Client->Server compression algorithm: none
tree-view.js:240 sftp:debug: (local) Server->Client compression algorithms: none,zlib@openssh.com,zlib
tree-view.js:240 sftp:debug: (remote) Server->Client compression algorithms: none,zlib@openssh.com
tree-view.js:240 sftp:debug: Server->Client compression algorithm: none
tree-view.js:240 sftp:debug: Outgoing: Writing KEXECDH_INIT
tree-view.js:240 sftp:debug: Checking host key format
tree-view.js:240 sftp:debug: Checking signature format
tree-view.js:240 sftp:debug: Verifying host fingerprint
tree-view.js:240 sftp:debug: Host accepted by default (no verification)
tree-view.js:240 sftp:debug: Verifying signature
tree-view.js:240 sftp:debug: Outgoing: Writing NEWKEYS
tree-view.js:240 sftp:debug: Outgoing: Writing SERVICE_REQUEST (ssh-userauth)
tree-view.js:240 sftp:debug: Outgoing: Writing USERAUTH_REQUEST (none)
tree-view.js:240 sftp:debug: Client: none auth failed
tree-view.js:240 sftp:debug: Outgoing: Writing USERAUTH_REQUEST (password)
tree-view.js:240 sftp:debug: Client: password auth failed
tree-view.js:240 sftp:debug: Outgoing: Writing USERAUTH_REQUEST (publickey -- check)
tree-view.js:240 sftp:debug: Outgoing: Writing USERAUTH_REQUEST (publickey)
tree-view.js:240 sftp:connect:ready
tree-view.js:240 sftp:debug: Outgoing: Writing CHANNEL_OPEN (0, session)
tree-view.js:240 sftp:debug: Outgoing: Writing CHANNEL_REQUEST (0, subsystem: sftp)
tree-view.js:240 sftp:debug: Client: password auth failed
tree-view.js:240 sftp:debug: Outgoing: Writing USERAUTH_REQUEST (publickey -- check)
tree-view.js:240 sftp:debug: Outgoing: Writing CHANNEL_DATA (0)
tree-view.js:240 sftp:debug: Outgoing: Writing USERAUTH_REQUEST (publickey)
tree-view.js:240 sftp:end
tree-view.js:240 sftp:debug: Outgoing: Writing DISCONNECT (BY_APPLICATION)
tree-view.js:240 connector:disconnect
cschindl commented 5 years ago

Ad option to reconnect in the new release (0.18.0).