Linux


Creating SSH Keys In A Different Way

2026-06-23 Linux

https://www.uforocks.com/blog/mac-ssh-clients/

I have some different habits when it comes to technology, which has led me to develop some “weird” workflows. To be honest, anyone who is in this field for some time has such habits. Today I’ll talk about generating SSH keys.

The usual suspects

Consider this scenario

You have a VPS to which you connect via SSH. It’s a good habit to turn off password authentication to improve the security of your server. So, being a responsible sys-admin, you generate an SSH key-pair from your PC and transfer it to your VPS using ssh-copy-id. Once you see your password-less login working, you turn off password-based authentication (PBA). Your login is now seamless.

Continue reading