Refer: closed-by-remote
It looks like there are two issues. Use a VPN and also, do not automatically send password, make it a manual step. It looks like GoDaddy blocks it, if it looks automated like a hacking attempt. Basically, type your password in manually.
echo "password"
# DEBUG MODE
### ssh -oConnectTimeout=300 -oHostKeyAlgorithms=+ssh-dss userid@XX.XX.XX.XXX -vvv
# NORMAL MODE
ssh -oConnectTimeout=300 -oHostKeyAlgorithms=+ssh-dss userid@XX.XX.XX.XXX
I keep getting blocked out of ssh-ing to my GoDaddy CPanel hosting account randomly.
At first I am able to ssh into my account and works fine. But randomly I'll get a:
Connection to "GoDaddyIP" closed by remote host.
Connection to "GoDaddyIP" closed.
"GoDaddyIP" = my personal cPanel IP address.
After I get disconnected I am not able to reconnect. If I try it from same computer but different IP address. i.e. I connect to a different internet connection or my cellular hotspot, I am able to connect just fine. I've called support and they were no help. The best they could do is say "Well, I'm able to connect to that account" Of course they can. They are using a different IP. Anyhow, the IP I'm connect through is not in BlockedIP with GoDaddy and everything I've read online is of no help. Does anyone have a solution?
