{"height":"190","categories":[],"blog_title":"\u3076\u3089\u3063\u304f\u3059\u308f\u3093","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblackswan.hateblo.jp%2Fentry%2F2017%2F01%2F22%2F121556\" title=\"SSH\u306e\u8a2d\u5b9a\u307e\u3068\u3081(VPS\u306bSSH\u63a5\u7d9a\u3059\u308b) - \u3076\u3089\u3063\u304f\u3059\u308f\u3093\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","version":"1.0","author_url":"https://blog.hatena.ne.jp/blackswan2/","title":"SSH\u306e\u8a2d\u5b9a\u307e\u3068\u3081(VPS\u306bSSH\u63a5\u7d9a\u3059\u308b)","blog_url":"https://blackswan.hateblo.jp/","provider_url":"https://hatena.blog","description":"ssh-keygen \u3067\u79d8\u5bc6\u9375(id_rsa)\u3068\u516c\u958b\u9375(id_rsa.pub)\u3092\u4f5c\u6210\u3059\u308b\u3002 \u9375\u306e\u540d\u524d\u306f\u4efb\u610f\u306b\u3064\u3051\u3089\u308c\u308b\u306e\u3067-f \u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u899a\u3048\u3084\u3059\u3044\u540d\u524d\u306b\u3057\u3066\u304a\u304f\u3002 ssh-keygen -t rsa -b 4096 -f sakura_rsa -C 'sakura' C\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u30b3\u30e1\u30f3\u30c8\u3092\u3064\u3051\u3089\u308c\u308b\u3002 \u3053\u306e\u5834\u5408\u3001sakura_rsa(\u79d8\u5bc6\u9375)\u3068sakura_rsa.pub(\u516c\u958b\u9375)\u304c\u4f5c\u6210\u3055\u308c\u308b\u3002 sakura_rsa.pub\u306e\u65b9\u3092VPS\u30b5\u30fc\u30d0\u30fc\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3001\u3042\u3089\u304b\u3058\u3081\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea~/\u306b\u4f5c\u6210\u3057\u3066\u304a\u3044\u305f~/.ssh\u306b\u683c\u7d0d\u3059\u308b\u3002 scp -o PreferredAuthenticat\u2026","image_url":null,"published":"2017-01-22 12:15:56","author_name":"blackswan2","provider_name":"Hatena Blog","width":"100%","url":"https://blackswan.hateblo.jp/entry/2017/01/22/121556"}