An extraction of useful comands and tools to configure a remote server
It is usefull for allowing access without password prompt in ssh, Visual Studio Code and many other applications, while improving security during the authentication.
The command is:
ssh-keygen
Default configurations is 2048 bit RSA key, For an higher protection key and use 4096 bit RSA keys use:
ssh-keygen -b 4096
Follow the procedure and choose a user password.
Easy tool to transfer the public key to the server is this command:
ssh-copy-id username@remote_host
cat ~/.ssh/id_rsa.pub | pbcopy
docker load < my-docker-image.img
docker-compose up
docker login --username username
docker tag your-image-id-518a41981a6a myRegistry.com/myImage docker push myRegistry.com/myImage