Skip to content

Instantly share code, notes, and snippets.

@wnoguchi
Last active August 29, 2015 14:22
Show Gist options
  • Select an option

  • Save wnoguchi/808815dcd112ceb1c7d9 to your computer and use it in GitHub Desktop.

Select an option

Save wnoguchi/808815dcd112ceb1c7d9 to your computer and use it in GitHub Desktop.
公開鍵認証サーバー側ワンライナー
([ ! -e ~/.ssh ] && mkdir ~/.ssh && chmod 700 ~/.ssh ) ; cat <<EOF >>~/.ssh/authorized_keys && chmod 600 ~/.ssh/authorized_keys
ssh-rsa blahblahblah rsa-key-20150608-comment
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment