{"categories":["Linux","MacOS","Windows"],"author_name":"atsuhiro-me","provider_url":"https://hatena.blog","width":"100%","title":"authorized_keys \u3092\u8ffd\u52a0","provider_name":"Hatena Blog","blog_title":"\u307f\u30fc\u306e\u307a\u30fc\u3058","image_url":null,"author_url":"https://blog.hatena.ne.jp/atsuhiro-me/","version":"1.0","url":"https://pc.atsuhiro-me.net/entry/2024/01/02/112219","blog_url":"https://pc.atsuhiro-me.net/","published":"2024-01-02 11:22:19","type":"rich","description":"scp \u30b3\u30de\u30f3\u30c9\u3067\u30ea\u30e2\u30fc\u30c8\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\u3059\u308b\u3068\u304d\u306b\uff0cSSH\u3092\u30d1\u30b9\u30ef\u30fc\u30c9\u8a8d\u8a3c\u3067\u4f7f\u7528\u3057\u3066\u3044\u308b\u3068\u3046\u307e\u304f\u3044\u304b\u306a\u3044\u306e\u3067\uff0c\u9375\u3092\u4f5c\u6210\u3057\u3066SSH\u516c\u958b\u9375\u8a8d\u8a3c\u3092\u4f7f\u7528\u3057\u307e\u3059\uff0e \u306a\u304a\uff0c\u30ea\u30e2\u30fc\u30c8\u306f user@remote.local \u3068\u8868\u8a18\u3057\u307e\u3059\u306e\u3067\uff0c\u9069\u5b9c\u8aad\u307f\u66ff\u3048\u3066\u304f\u3060\u3055\u3044\uff0e MacOS, Linux ssh-copy-id \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3044\u307e\u3059*1\uff0e $ ssh-keygen -t ed25519 $ ssh-copy-id -i ~/.ssh/id_ed25519.pub user@remote.local \u5c02\u7528\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u306e\u3067\uff0c\u4fbf\u5229\u3067\u3059\u306d\uff0e MacOS \u306e Keychain \u306b\u8ffd\u52a0\u3059\u308c\u3070\u3055\u3089\u306b\u4fbf\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpc.atsuhiro-me.net%2Fentry%2F2024%2F01%2F02%2F112219\" title=\"authorized_keys \u3092\u8ffd\u52a0 - \u307f\u30fc\u306e\u307a\u30fc\u3058\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190"}