coreserverでSSH公開鍵認証

もーパスワード覚えてられないので、公開鍵でログインできるようにした。
ま、パスフレーズ替えるときの備忘録として。

mkdir -p ~/.ssh
chmod 700 ~/.ssh
touch ~/.ssh/authorized_keys
cat ~/coreserverssh.pub(公開キー) >> ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys

あとはエミュレータ側で秘密鍵よんでログイン。
でも、ブラウザでIPの認証は必要なようで。。。

次はここ参考にしとくか。

http://mo.kerosoft.com/0119

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)