Deposing an SSH key
Generate key
ssh-keygen -f $key
Place it
cat $key.pub
, then place it under ~/.ssh/authorized_keys
Change rights
chmod 600 ~/.ssh/authorized_keys
chmod 600 $key
ssh-keygen -f $key
cat $key.pub
, then place it under ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys
chmod 600 $key