Difference between revisions of "Ssh linux"

From Teknologisk videncenter
Jump to: navigation, search
(Created page with "ssh without a passphrase <source lang=bash> $ssh-keygen -t rsa -P '' -f ~/.ssh/id_rsa $ cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys $ chmod 0600 ~/.ssh/authorized_keys <...")
(No difference)

Revision as of 13:02, 25 June 2022

ssh without a passphrase

$ssh-keygen -t rsa -P '' -f ~/.ssh/id_rsa
 $ cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
 $ chmod 0600 ~/.ssh/authorized_keys