@oheil thank you for your advices !
It seems very complicated… I will continue with FileZilla
if I remove the current entry of xx.xx.xx.xx in ~/.ssh/known_hosts
* Connected to xx.xx.xx.xx (xx.xx.xx.xx) port 22 (#0)
* Did not find host xx.xx.xx.xx in /home/user/.ssh/known_hosts
* Failure establishing ssh session: -5, Unable to exchange encryption keys
* Closing connection 0
ERROR: Failure establishing ssh session: -5, Unable to exchange encryption keys while requesting sftp://user@xx.xx.xx.xx:22/home/user/file.csv
if I add the key, the the previous error appears
* Couldn't find host xx.xx.xx.xx in the .netrc file; using defaults
* Trying xx.xx.xx.xx:22...
* Connected to xx.xx.xx.xx (xx.xx.xx.xx) port 22 (#0)
* Found host xx.xx.xx.xx in /home/user/.ssh/known_hosts
* Set "ssh-ed25519" as SSH hostkey type
* Closing connection 0
ERROR: Error in the SSH layer while requesting sftp://user@xx.xx.xx.xx:22/home/user/file.csv
Stacktrace:
[1] (::Downloads.var"#9#18"{IOStream, Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Bool, String, Int64, Bool, Bool})(easy::Downloads.Curl.Easy)
@ Downloads ~/Documents/logiciels/julia-1.7.1/share/julia/stdlib/v1.7/Downloads/src/Downloads.jl:369
I think that the problem comes from my sshd_config
set for RSA
keys and not ed25519
PubkeyAuthentication yes
PubkeyAcceptedAlgorithms +ssh-rsa
it seems that Julia needs ed25519
keys…