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

コメントを残す

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

Your post must include a link to this post.

How does this work?
Write a response on your own website and include a link to this post. Then submit your response’s URL here. Your response may appear here after moderation. To update or remove it, edit or delete your original post and submit the same URL again. Learn more about Webmentions.