$ flowchart LR A[Local Linux Mint Machine] --> B[SSH Key Pair] B --> C[Private Key: moti-dig-1] B --> D[Public Key: moti-dig-1.pub] D --> E[VPS Server] E --> F[~/.ssh/authorized_keys] A -->|ssh moti-dig-1| E
flowchart LR A[Local Linux Mint Machine] --> B[SSH Key Pair] B --> C[Private Key: moti-dig-1] B --> D[Public Key: moti-dig-1.pub] D --> E[VPS Server] E --> F[~/.ssh/authorized_keys] A -->|ssh moti-dig-1| E
flowchart LR A[Local Linux Mint Machine] --> B[SSH Key Pair] B --> C[Private Key: moti-dig-1] B --> D[Public Key: moti-dig-1.pub] D --> E[VPS Server] E --> F[~/.ssh/authorized_keys] A -->|ssh moti-dig-1| E
ssh-keygen -t ed25519 -C "moti-dig-1" -f ~/.ssh/moti-dig-1
ssh-keygen -t ed25519 -C "moti-dig-1" -f ~/.ssh/moti-dig-1
ssh-keygen -t ed25519 -C "moti-dig-1" -f ~/.ssh/moti-dig-1
ssh-copy-id -i ~/.ssh/moti-dig-1.pub -p 44 [email protected]
ssh-copy-id -i ~/.ssh/moti-dig-1.pub -p 44 [email protected]
ssh-copy-id -i ~/.ssh/moti-dig-1.pub -p 44 [email protected]
~/.ssh/authorized_keys
~/.ssh/authorized_keys
~/.ssh/authorized_keys
ssh -i ~/.ssh/moti-dig-1 -p 44 [email protected]
ssh -i ~/.ssh/moti-dig-1 -p 44 [email protected]
ssh -i ~/.ssh/moti-dig-1 -p 44 [email protected]
nano ~/.ssh/config
nano ~/.ssh/config
nano ~/.ssh/config
Host moti-dig-1 HostName 165.22.104.176 User root Port 44 IdentityFile ~/.ssh/moti-dig-1 StrictHostKeyChecking accept-new
Host moti-dig-1 HostName 165.22.104.176 User root Port 44 IdentityFile ~/.ssh/moti-dig-1 StrictHostKeyChecking accept-new
Host moti-dig-1 HostName 165.22.104.176 User root Port 44 IdentityFile ~/.ssh/moti-dig-1 StrictHostKeyChecking accept-new
ssh moti-dig-1
ssh moti-dig-1
ssh moti-dig-1
chmod 600 ~/.ssh/moti-dig-1
chmod 600 ~/.ssh/config
chmod 600 ~/.ssh/moti-dig-1
chmod 600 ~/.ssh/config
chmod 600 ~/.ssh/moti-dig-1
chmod 600 ~/.ssh/config - ~/.ssh/moti-dig-1 โ Private key
- ~/.ssh/moti-dig-1.pub โ Public key - Use ed25519 keys (modern & secure)
- Keep one key per server/project
- Use SSH config for clean workflow
- Set proper permissions: - Security ๐
- Productivity โก
- Maintainability ๐งน
- DevOps readiness โ๏ธ