Troubleshoot TrueNAS (ex FreeNAS)

From DevOps Notebook

External connections fails after upgrading to TrueNAS 13 with no hostkey alg

Some may have experienced ssh to TrueNAS 13 fails after upgrade with error :

$ ssh xxxxx@yyyyy
no hostkey alg

Solution is to add these 2 parameters in Auxilary Options from SSH other options:

PubkeyAcceptedAlgorithms +ssh-rsa
HostKeyAlgorithms +ssh-rsa