I'm using the Publish Over SSH 
<https://plugins.jenkins.io/publish-over-ssh/> plugin t6o upload files to 
our SFTP site. I'm getting this error

ERROR: Exception when publishing, exception message [Failed to connect and 
initialize SSH connection. Message: [Failed to connect session for config 
[ftp.company.com]. Message [Algorithm negotiation fail: 
algorithmName="server_host_key" 
jschProposal="ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256"
 
serverProposal="ssh-rsa"]]]


In spite of me having this in C:\Users\myUser\.ssh\config
and in C:\Windows\system32\...\.ssh\config

Host ftp.company.com
User myUser
HostName ftp.company.com
HostKeyAlgorithms=+ssh-rsa

One explanation is the plugin doesn't use either config file. What am I 
missing? TIA

Chris 

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/bb93300f-68ee-46e9-9ae7-f4ed7ec12306n%40googlegroups.com.

Reply via email to