SSH

Browse posts by tag

SSH Connection in Linux

January 11, 2026

1️⃣ Setup SSH service

Install OpenSSH server

sudo apt update
sudo apt install -y openssh-server

Enable and start the SSH service

sudo systemctl enable ssh
sudo systemctl start ssh

Check status:

systemctl status ssh

2️⃣ Allow SSH through the firewall (if enabled)

Ubuntu Server often has ufw disabled by default, but check:

sudo ufw status

If it’s active:

sudo ufw allow ssh
sudo ufw reload

3️⃣ Connect from Windows

From PowerShell on Windows:

GitHub - SSH Settings (ed25519)

January 10, 2026

This workflow ensures:

  • Secure key (with passphrase)
  • Convenient usage (Keychain remembers passphrase)
  • SSH-only workflow → no HTTPS credentials required

1) Check for existing keys (optional)

ls -la ~/.ssh
  • Look for id_ed25519 / id_ed25519.pub
  • If you already have a key you want to use, skip key generation

2) Generate a new ed25519 key

ed25519 refers to the Ed25519 elliptic-curve algorithm, which is the modern, faster, and more secure replacement for older RSA SSH keys. Replace the email with your GitHub email: