Comment by skydhash
6 hours ago
ssh isn't a web service (some would argue that smtp and ftp aren't too as they came before the web).
And I believe GP was talking about the only thing you need is:
ssh user@remotehost git init --bare repo.git
And then you can add the remote to your local repo with
git remote add origin user@remotehost:repo.git
Now all you need to do is
git push origin branch_name
Replace origin with another identifier if it's already taken.
The rest of the owl: go to provider, set up VM (20 questions) log into root. SSH for login. set up firewalls. create non-root user. useradd or adduser? depends if you want a home dir I guess. debug why you can't ssh in. Finally get in. sudo apt update. sudo apt install git (or is it named something else?). install failtoban. install fw.
then do above.
then troubleshoot.
set vm backup policy.
save myriad passwords and secret to bitwarden.
get ubuntu to stay up to date.