Skip to main content

Command Line - one-liners

Generate ssh key pair

cd ~
ssh-keygen -t rsa

Replacement for missing ssh-copy-id on Windows

type C:\Users\username\.ssh\id_rsa.pub | ssh user@192.168.0.1 "cat >> .ssh/authorized_keys"