# SFTP not working

**URL:** <https://support.bdrive.com/t/sftp-not-working/41038>\
**Category:** NetDrive3\
**Tags:** sftp\
**Created:** [March 12, 2018, 8:18pm UTC](https://support.bdrive.com/t/sftp-not-working/41038 "2018-03-12T20:18:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![andzej-telican](https://support.bdrive.com/letter_avatar_proxy/v4/letter/a/6bbea6/32.png) [@andzej-telican](https://support.bdrive.com/u/andzej-telican)\
**Post date:** [March 12, 2018, 8:18pm UTC](https://support.bdrive.com/t/sftp-not-working/41038/1 "2018-03-12T20:18:04Z")

</div>

After update NetDrive version stop working all SFTP connections, FTP work  
[ERROR] [8744] [SERVICE] [nd3 sdk version - child nd3svc : 3.4.384] [Child.cpp:132]

---

<div class="post-metadata">

**Author:** ![jyyoon](https://support.bdrive.com/user_avatar/support.bdrive.com/jyyoon/32/82_2.png) [@jyyoon](https://support.bdrive.com/u/jyyoon)\
**Post date:** [March 13, 2018, 2:32am UTC](https://support.bdrive.com/t/sftp-not-working/41038/2 "2018-03-13T02:32:24Z")

</div>

> [@andzej-telican](#):
>
> ter update NetDrive version stop working all SFTP connections, FTP work
> 
> [ERROR] [8744] [SERVICE] [nd3 sdk version - child nd3svc : 3.4.384] [Child.cpp:132]

After setting the log level to VERBOSE, please reproduce the problem and send us the debug log file :

> [@How to attach a log file](https://support.bdrive.com/t/how-to-attach-a-log-file/29):
>
> 1. Change Log Level First, check your settings and change log level to VERBOSE. 1A. If you cannot login At your login screen: Click SETTINGS at the lower right corner. Change Log level to VERBOSE and go back to login screen to apply the change: 1B. If you can login Go to Settings: [image] Change log level to VERBOSE: [22] Set to DEBUG if you use old version because there is no VERBOSE log level. Go back to DRIVES screen. Changed log level takes effect when you leave …

Sorry for the inconvenience it may caused.

---

<div class="post-metadata">

**Author:** ![francyci](https://support.bdrive.com/user_avatar/support.bdrive.com/francyci/32/1540_2.png) [@francyci](https://support.bdrive.com/u/francyci)\
**Post date:** [March 14, 2018, 10:27pm UTC](https://support.bdrive.com/t/sftp-not-working/41038/3 "2018-03-14T22:27:31Z")

</div>

Maybe related to the problem I am having?

The latest version seems to be missing many of the ciphers supported in earlier versions.

> [@Recent 3.4.384 update has broken SFTP (missing ciphers)](https://support.bdrive.com/t/recent-3-4-384-update-has-broken-sftp-missing-ciphers-support/41455):
>
> With the recently updated 3.4.384 Netdrive SFTP connections fail. On the client when attempting to connect you get an error “name : Connection Error”. From the ssh server we now get this error. Mar 14 15:04:04 do-cm-01 sshd[186736]: Unable to negotiate with {{fullip}} port 53013: no matching cipher found. Their offer: aes256-cbc,rijndael-cbc@lysator.liu.se,aes192-cbc,aes128-cbc,arcfour128,arcfour,3des-cbc [preauth] A successful connection from 3.4.369 used aes128-ctr. sshd[186347]: debug1…

---

<div class="post-metadata">

**Author:** ![support1](https://support.bdrive.com/user_avatar/support.bdrive.com/support1/32/17105_2.png) [@support1](https://support.bdrive.com/u/support1)\
**Post date:** [March 15, 2018, 1:58am UTC](https://support.bdrive.com/t/sftp-not-working/41038/5 "2018-03-15T01:58:38Z")

</div>

@andzej-telican @francyci

From NetDrive 3.4 we use [WinSSL](https://msdn.microsoft.com/en-us/library/windows/desktop/aa380123(v=vs.85).aspx) for secure connections. WinSSL is provided by Microsoft.

If your sshd server does not work with WinSSL, you need to add following line to your /etc/ssh/sshd\_config file.

```
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

```

If your sshd\_config already has Ciphers config, add following items:

`aes128-cbc, 3des-cbc, blowfish-cbc, cast128-cbc,aes192-cbc,aes256-cbc`

Restart sshd using following command:

```
service sshd restart

```

To implement secure communications, NetDrive needs to connect with a library that handles the SSL (secure socket layer) encryption. On Linux and Macs, NetDrive uses the OpenSSL library, which is included on those systems. Windows doesn’t have this library (at least, outside of the Subsystem for Linux), so on Windows previous versions of NetDrive included the OpenSSL library and associated certificate.

Recent OpenSSL versions have compatibility issues with Qt library which we use as our GUI toolkit. Qt recommends to use older version of OpenSSL to go around the compatibility issue but old versions of OpenSSL have many security issues which must be avoided.

Now we uses WinSSL for secure communications. This means NetDrive uses the same security architecture as other connected applications on Windows and WinSSL shows better performance than OpenSSL on Windows as we tested.

---

<div class="post-metadata">

**Author:** ![system](https://support.bdrive.com/user_avatar/support.bdrive.com/system/32/17101_2.png) [@system](https://support.bdrive.com/u/system)\
**Post date:** [March 22, 2018, 1:58am UTC](https://support.bdrive.com/t/sftp-not-working/41038/6 "2018-03-22T01:58:46Z")

</div>

Closed on March 22, 2018, 1:58am UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
