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"

 

 


Revision #1
Created 15 April 2024 08:26:17 by Alex
Updated 15 April 2024 08:31:52 by Alex