Ssh linux

From Teknologisk videncenter
Revision as of 13:03, 25 June 2022 by Heth (talk | contribs)
Jump to: navigation, search

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