Skip to content

Running `main.ps1` during a service update fails trying to open an SSH connection to the Linux middle-tier box, with "Permission denied (publickey)" and (on checking the SSH server side) a message about `ssh-rsa` not being in `PubkeyAcceptedAlgorithms`.

Answer

This is an OpenSSH server compatibility issue — newer SSH server versions disable the ssh-rsa public-key algorithm by default, which the installer's SSH client still expects. Add PubkeyAcceptedAlgorithms +ssh-rsa to /etc/ssh/sshd_config on the Ubuntu middle-tier server, then restart the sshd service (sudo systemctl restart sshd) for the setting to take effect — this restores the specific key algorithm the update script's SSH connection needs without disabling other SSH security settings.

← Browse Developer Studio, deployment, and upgrades questions