# Ssh2-sftp-client in ftp-remote-edit juno in atom

**URL:** https://discourse.julialang.org/t/ssh2-sftp-client-in-ftp-remote-edit-juno-in-atom/29653
**Category:** General Usage
**Tags:** question
**Created:** [October 8, 2019, 1:25pm UTC](https://discourse.julialang.org/t/ssh2-sftp-client-in-ftp-remote-edit-juno-in-atom/29653 "2019-10-08T13:25:53Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![yakir12](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yakir12/32/297_2.png) [@yakir12](https://discourse.julialang.org/u/yakir12)
#### Post date: [October 8, 2019, 1:25pm UTC](https://discourse.julialang.org/t/ssh2-sftp-client-in-ftp-remote-edit-juno-in-atom/29653/1 "2019-10-08T13:25:53Z")

</div>

Not entirely Julia related, but I’m hoping someone here can shed some light:

This has to do with working on a remote server with Juno. Has anyone been able to do that? If so, any idea what I’m doing wrong in [this issue](https://github.com/h3imdall/ftp-remote-edit/issues/345)?

---

<div class="post-metadata">

### Author: ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)
#### Post date: [October 8, 2019, 3:27pm UTC](https://discourse.julialang.org/t/ssh2-sftp-client-in-ftp-remote-edit-juno-in-atom/29653/2 "2019-10-08T15:27:18Z")

</div>

Maybe try the Juno slack, there were quite a few convos there where people managed to fix their issues.

---

<div class="post-metadata">

### Author: ![pixel27](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pixel27/32/8902_2.png) [@pixel27](https://discourse.julialang.org/u/pixel27)
#### Post date: [October 8, 2019, 6:00pm UTC](https://discourse.julialang.org/t/ssh2-sftp-client-in-ftp-remote-edit-juno-in-atom/29653/3 "2019-10-08T18:00:47Z")

</div>

I’m guessing this is because the client and server don’t have a matching KexAlgorithm to use. On your client you can run:

```julia
ssh -Q kex

```

This will list the KexAlgorithms that are available when use just use ssh or sftp to the server. On the server check:

```julia
man sshd_config

```

And search for `KexAlgorithms` That will list the default KexAlgorithms the server will accept. You might also check the `/etc/ssh/sshd_config` file to see if the list of KexAlgorithms has been overridden.

What I don’t know is how to check which Kex algorithms ssh2-sftp-client enables, or if you can specify a particular Kex algorithm to use…

---

<div class="post-metadata">

### Author: ![yakir12](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yakir12/32/297_2.png) [@yakir12](https://discourse.julialang.org/u/yakir12)
#### Post date: [October 8, 2019, 8:49pm UTC](https://discourse.julialang.org/t/ssh2-sftp-client-in-ftp-remote-edit-juno-in-atom/29653/4 "2019-10-08T20:49:08Z")

</div>

You were completely correct. I followed all of the steps for hardening a server [here](https://medium.com/@jasonrigden/hardening-ssh-1bcb99cd4cef) and one of them was " Change Default Ciphers and Algorithms" which included specifying non-standard `KexAlgorithms`.

Instead of making the appropriate changes in the client side, I just commented out those changes suggested in that step, namely:

```julia
KexAlgorithms curve25519-sha256@libssh.org

Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr

MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,umac-128-etm@openssh.com

```

But if you know how I could improve on security by making changes to the _only_ client that will log on this server, I’m all ears.

Thanks for the awesome help!
