I’ve got it working completely now but just a note on some modifications to your instructions…
When I tried to copy over the keys to the host I got a “permission denied” error.
looking into that error I realized that since I already had an authorized_keys file for logging in from putty it wouldn’t allow be to copy the key over with your command.
I had to manually edit my authorized_keys file and append the public key content to that file.
It all works now. I can use portainer to console into the container and then ssh back into the host.
I’ll have to try some shell_commands from HA to make sure that it all completely works tho.