Tag: ssh

key type ssh-rsa not in pubkey accepted algorithms

I was running Ubuntu 20.04 happily, and then over the weekend decided to back everything up and install 22.04. I installed my previous keys but I couldn’t login via MobaXTerm remotely as I usually did with 20.04. I logged in with a console and checked /var/log/auth.log . Here are the messages generated upon my tries …

Continue reading

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 save your Git username and password and avoid entering your Git username and password for every push. There are three methods how to save Git credentials: 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