Lookup public IP of host
curl https://ipinfo.io/ip
Transfer files or folders from Windows to Linux via SSH with scp:
- -i - used for the ssh key
- -P - used for the ssh port of the target
- -r - used to transfer the entire folder
scp -i "PATH-TO-SSH-KEY" -P 22 -r "PATH-TO-DIR" TARGET-USER@TARGET-IP:PATH/TO/TARGET
Pushing an image to a docker registry:
docker tag your-image-name registry.example.com/your-namespace/your-image-name:tag