I'm currently using Ubuntu 20.04. I can't speak for any of the other distributions/releases, but this line:
"apt-get install -y libssh2-1-dev"
should be replaced with this line
"apt-get install -y libssh-dev"
I'm not really sure who to reach out to for changing this, but hopefully someone can point me in the right direction.