I am not able to install CODESYS Control for Raspberry Pi MC SL on a Raspberry Pi CM4 running a Linux OS built with Yocto.
When I try to install the software I get the following error message: No connection to target: An existing connection was forcibly closed by the remote host
From the terminal I am able to establish an ssh connection between my Windows Development Machine and the Raspberry Pi Target Device, so I don't know what could be preventing the connection between the CODESYS Development System and the Raspberry Pi during the Runtime Package installation.
Does anyone have any idea what could be the issue here?
Last edit: renanrdaros 2022-05-17
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i have exactly the same issue. im having a ubuntu 22.04 server and can connect over ssh in win terminal but in codesys i've get closed by remote host. same as above. anybody who could advise?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I found a solution to may problem. It's the ssh server denying the connetion from Codesys. The ssh server "no matching host key type found. Their offer: ssh-rsa,ssh-dss"
I added following two lines into my linux server /etc/ssh/sshd_config.d
I found a solution to may problem. It's the ssh server denying the connetion from Codesys. The ssh server "no matching host key type found. Their offer: ssh-rsa,ssh-dss"
I added following two lines into my linux server /etc/ssh/sshd_config.d
I am not able to install CODESYS Control for Raspberry Pi MC SL on a Raspberry Pi CM4 running a Linux OS built with Yocto.
When I try to install the software I get the following error message: No connection to target: An existing connection was forcibly closed by the remote host
From the terminal I am able to establish an ssh connection between my Windows Development Machine and the Raspberry Pi Target Device, so I don't know what could be preventing the connection between the CODESYS Development System and the Raspberry Pi during the Runtime Package installation.
Does anyone have any idea what could be the issue here?
Last edit: renanrdaros 2022-05-17
more posts ...
i have exactly the same issue. im having a ubuntu 22.04 server and can connect over ssh in win terminal but in codesys i've get closed by remote host. same as above. anybody who could advise?
I found a solution to may problem. It's the ssh server denying the connetion from Codesys. The ssh server "no matching host key type found. Their offer: ssh-rsa,ssh-dss"
I added following two lines into my linux server /etc/ssh/sshd_config.d
HostKeyAlgorithms +ssh-rsa,ssh-dss
PubkeyAcceptedKeyTypes +ssh-rsa
This solved the problem. Maybe not the best solution since its an security issue but it might be fixed in latest codesys development software?
I found a solution to may problem. It's the ssh server denying the connetion from Codesys. The ssh server "no matching host key type found. Their offer: ssh-rsa,ssh-dss"
I added following two lines into my linux server /etc/ssh/sshd_config.d
HostKeyAlgorithms +ssh-rsa,ssh-dss
PubkeyAcceptedKeyTypes +ssh-rsa
This solved the problem. Maybe not the best solution since its an security issue but it might be fixed in latest codesys development software?
Worked for me too.
Now I have to find out why I didn't need to do this on very similar systems and what the security issue is