準備

鍵の生成

鍵を生成する

$ ssh-keygen -t rsa
$ cat ~/.ssh/id_rsa.pub

参考) http://www.task-notes.com/entry/20150208/1423325535

公開鍵を登録する

ユーザ名をクリックしてcredentialsの画面へ。「SSH keys」欄へid_rsa.pubをコピペする

マニュアル) https://www.scaleway.com/docs/create-and-connect-to-your-server/

秘密鍵でログインする

秘密鍵でログインする

 ssh -i ~/.ssh/id_rsa root@xxx.xxx.xxx.xxx

rootのパスワードを変更する。

# passwd root
vps/030-010preparation.txt · 最終更新: 2017/09/24 03:17 by admin
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0