Tag: ssh

SSH authentication refused bad ownership or modes for file

So you created SSH keypair, installed public key on the server you want to connect to but, probably, made this not as described in this article: How To Set Up SSH Keys and now the server refuses your key and in /var/log/secure we can see message like this: Authentication refused: bad ownership or modes for …

Continue reading

How to save username and password in Git

In this article I’ll show how you can avoid entering your Git username and password for every push. I’ll show three methods: Git SSH authorization, Git credentials caching, and Git credentials saving using credential.helper.

Continue reading

How To Set Up SSH Keys

SSH keys provide a more secure way of logging into a virtual private server with SSH than using a password alone. While a password can eventually be cracked with a brute force attack, SSH keys are nearly impossible to decipher by brute force alone. Generating a key pair provides you with two long string of …

Continue reading