{"id":197,"date":"2023-09-05T13:36:01","date_gmt":"2023-01-08T16:55:53","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/index.php\/2023\/11\/30\/rocky-linux-9%e3%81%a7ssh%e3%82%ad%e3%83%bc%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%82%92%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/"},"modified":"2025-07-31T21:34:28","modified_gmt":"2025-07-31T12:34:28","slug":"rocky-linux-9%e3%81%a7ssh%e3%82%ad%e3%83%bc%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%82%92%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%a7ssh%e3%82%ad%e3%83%bc%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%82%92%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/","title":{"rendered":"Rocky Linux 9\u3067SSH\u30ad\u30fc\u306e\u8a2d\u5b9a\u3092\u306e\u65b9\u6cd5"},"content":{"rendered":"<h3>\u306f\u3058\u3081\u306b<\/h3>\n<p>SSH\u3001\u307e\u305f\u306f\u30bb\u30ad\u30e5\u30a2\u30b7\u30a7\u30eb\u3001\u306f\u30b5\u30fc\u30d0\u30fc\u306e\u7ba1\u7406\u3084\u901a\u4fe1\u306b\u4f7f\u7528\u3055\u308c\u308b\u6697\u53f7\u5316\u3055\u308c\u305f\u30d7\u30ed\u30c8\u30b3\u30eb\u3067\u3059\u3002Rocky Linux \u30b5\u30fc\u30d0\u30fc\u3067\u4f5c\u696d\u3059\u308b\u969b\u306b\u306f\u3001\u304a\u305d\u3089\u304f SSH \u3092\u4ecb\u3057\u3066\u30b5\u30fc\u30d0\u30fc\u306b\u63a5\u7d9a\u3057\u305f\u30bf\u30fc\u30df\u30ca\u30eb\u30bb\u30c3\u30b7\u30e7\u30f3\u306b\u5927\u90e8\u5206\u306e\u6642\u9593\u3092\u8cbb\u3084\u3059\u3053\u3068\u306b\u306a\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u3053\u306e\u30ac\u30a4\u30c9\u3067\u306f\u3001Rocky Linux 9\u30b5\u30fc\u30d0\u30fc\u306eSSH\u30ad\u30fc\u306e\u8a2d\u5b9a\u306b\u91cd\u70b9\u3092\u7f6e\u304d\u307e\u3059\u3002SSH\u30ad\u30fc\u306f\u3001\u30b5\u30fc\u30d0\u30fc\u3078\u306e\u30ed\u30b0\u30a4\u30f3\u306e\u305f\u3081\u306e\u7c21\u5358\u3067\u5b89\u5168\u306a\u65b9\u6cd5\u3092\u63d0\u4f9b\u3057\u3001\u3059\u3079\u3066\u306e\u30e6\u30fc\u30b6\u30fc\u306b\u63a8\u5968\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d71\uff1aRSA\u30ad\u30fc\u30da\u30a2\u306e\u4f5c\u6210<\/h2>\n<p>\u6700\u521d\u306e\u30b9\u30c6\u30c3\u30d7\u306f\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30de\u30b7\u30f3\uff08\u901a\u5e38\u306f\u304a\u4f7f\u3044\u306e\u30ed\u30fc\u30ab\u30eb\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\uff09\u3067\u30ad\u30fc\u30da\u30a2\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\">ssh-keygen<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001ssh-keygen\u306f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u4e0a\u306e\u307b\u3068\u3093\u3069\u306e\u7528\u9014\u306b\u5341\u5206\u306a2048\u30d3\u30c3\u30c8\u306eRSA\u30ad\u30fc\u30da\u30a2\u3092\u4f5c\u6210\u3057\u307e\u3059\uff08\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u3001-b 4096\u30d5\u30e9\u30b0\u3092\u6e21\u3059\u3053\u3068\u3067\u3088\u308a\u5927\u304d\u306a4096\u30d3\u30c3\u30c8\u306e\u30ad\u30fc\u3092\u4f5c\u6210\u3067\u304d\u307e\u3059\uff09\u3002<\/p>\n<p>\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u305f\u5f8c\u3001\u6b21\u306e\u30d7\u30ed\u30f3\u30d7\u30c8\u304c\u8868\u793a\u3055\u308c\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Generating public\/private rsa key pair. Enter file in which to save the key (\/<mark>your_home<\/mark>\/.ssh\/id_rsa):<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e.ssh\/\u30b5\u30d6\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u9375\u30da\u30a2\u3092\u4fdd\u5b58\u3059\u308b\u5834\u5408\u306f\u3001ENTER\u30ad\u30fc\u3092\u62bc\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u5225\u306e\u30d1\u30b9\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3082\u3057\u4ee5\u524d\u306bSSH\u30ad\u30fc\u30da\u30a2\u3092\u751f\u6210\u3057\u3066\u3044\u305f\u5834\u5408\u3001\u4ee5\u4e0b\u306e\u30d7\u30ed\u30f3\u30d7\u30c8\u304c\u8868\u793a\u3055\u308c\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\/home\/<mark>your_home<\/mark>\/.ssh\/id_rsa already exists. Overwrite (y\/n)?<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3082\u3057\u30c7\u30a3\u30b9\u30af\u4e0a\u306e\u30ad\u30fc\u3092\u4e0a\u66f8\u304d\u3059\u308b\u3053\u3068\u3092\u9078\u629e\u3057\u305f\u5834\u5408\u3001\u4ee5\u524d\u306e\u30ad\u30fc\u3092\u4f7f\u7528\u3057\u3066\u306e\u8a8d\u8a3c\u306f\u4e0d\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002\u30a4\u30a8\u30b9\u3092\u9078\u629e\u3059\u308b\u969b\u306f\u975e\u5e38\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u308c\u306f\u53d6\u308a\u6d88\u3059\u3053\u3068\u306e\u3067\u304d\u306a\u3044\u7834\u58ca\u7684\u306a\u30d7\u30ed\u30bb\u30b9\u3067\u3059\u3002<\/p>\n<p>\u305d\u306e\u5f8c\u3001\u6b21\u306e\u30d7\u30ed\u30f3\u30d7\u30c8\u304c\u8868\u793a\u3055\u308c\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Enter passphrase (empty for no passphrase):<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u3053\u3067\u306f\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30d5\u30ec\u30fc\u30ba\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30d5\u30ec\u30fc\u30ba\u306f\u5f37\u304f\u63a8\u5968\u3055\u308c\u307e\u3059\u3002\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30d5\u30ec\u30fc\u30ba\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u30ad\u30fc\u3078\u306e\u4e0d\u6b63\u30ed\u30b0\u30a4\u30f3\u3092\u9632\u6b62\u3059\u308b\u305f\u3081\u306e\u8ffd\u52a0\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5c64\u304c\u63d0\u4f9b\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u304b\u3089\u3001\u6b21\u306e\u51fa\u529b\u304c\u8868\u793a\u3055\u308c\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Your identification has been saved in \/<mark>your_home<\/mark>\/.ssh\/id_rsa. Your public key has been saved in \/<mark>your_home<\/mark>\/.ssh\/id_rsa.pub. The key fingerprint is: a9:49:2e:2a:5e:33:3e:a9:de:4e:77:11:58:b6:90:26 username@remote_host The key&#8217;s randomart image is: +&#8211;[ RSA 2048]&#8212;-+ | ..o | | E o= . | | o. o | | .. | | ..S | | o o. | | =o.+. | |. =++.. | |o=++. | +&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3042\u306a\u305f\u306f\u73fe\u5728\u3001\u8a8d\u8a3c\u306b\u4f7f\u7528\u3067\u304d\u308b\u516c\u958b\u9375\u3068\u79d8\u5bc6\u9375\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u3002\u6b21\u306e\u30b9\u30c6\u30c3\u30d7\u306f\u3001\u516c\u958b\u9375\u3092\u30b5\u30fc\u30d0\u30fc\u306b\u914d\u7f6e\u3057\u3066\u3001SSH\u30ad\u30fc\u30d9\u30fc\u30b9\u306e\u8a8d\u8a3c\u3092\u4f7f\u7528\u3057\u3066\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u3053\u3068\u3067\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d72-\u516c\u958b\u9375\u3092Rocky Linux\u30b5\u30fc\u30d0\u30fc\u306b\u30b3\u30d4\u30fc\u3059\u308b<\/h2>\n<p>Rocky Linux\u30db\u30b9\u30c8\u3078\u306e\u516c\u958b\u9375\u306e\u6700\u901f\u30b3\u30d4\u30fc\u65b9\u6cd5\u306f\u3001ssh-copy-id\u3068\u3044\u3046\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u3053\u306e\u65b9\u6cd5\u306f\u5229\u7528\u53ef\u80fd\u306a\u5834\u5408\u306b\u306f\u5f37\u304f\u304a\u52e7\u3081\u3057\u307e\u3059\u3002\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30de\u30b7\u30f3\u306bssh-copy-id\u304c\u4f7f\u7528\u3067\u304d\u306a\u3044\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e2\u3064\u306e\u4ee3\u66ff\u65b9\u6cd5\uff08\u30d1\u30b9\u30ef\u30fc\u30c9\u30d9\u30fc\u30b9\u306eSSH\u3092\u4f7f\u7528\u3057\u305f\u30b3\u30d4\u30fc\u3001\u307e\u305f\u306f\u9375\u306e\u624b\u52d5\u30b3\u30d4\u30fc\uff09\u306e\u3044\u305a\u308c\u304b\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>ssh-copy-id\u3092\u4f7f\u7528\u3057\u3066\u3001\u516c\u958b\u9375\u3092\u30b3\u30d4\u30fc\u3059\u308b<\/h3>\n<p>\u591a\u304f\u306e\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u306b\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067ssh-copy-id\u30c4\u30fc\u30eb\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u304a\u4f7f\u3044\u306e\u30ed\u30fc\u30ab\u30eb\u30b7\u30b9\u30c6\u30e0\u3067\u3082\u5229\u7528\u3067\u304d\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u65b9\u6cd5\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u3059\u3067\u306b\u30d1\u30b9\u30ef\u30fc\u30c9\u30d9\u30fc\u30b9\u306eSSH\u30a2\u30af\u30bb\u30b9\u304c\u30b5\u30fc\u30d0\u30fc\u306b\u3042\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u63a5\u7d9a\u3057\u305f\u3044\u30ea\u30e2\u30fc\u30c8\u30db\u30b9\u30c8\u3068\u3001SSH\u30a2\u30af\u30bb\u30b9\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u6301\u3064\u30e6\u30fc\u30b6\u30fc\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u6307\u5b9a\u3059\u308b\u3060\u3051\u3067\u5341\u5206\u3067\u3059\u3002\u3053\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u306f\u3001\u516c\u958bSSH\u30ad\u30fc\u304c\u30b3\u30d4\u30fc\u3055\u308c\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\">ssh-copy-id <mark>username<\/mark>@<mark>remote_host<\/mark><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>The authenticity of host &#8216;<mark>203.0.113.1<\/mark> (<mark>203.0.113.1<\/mark>)&#8217; can&#8217;t be established. ECDSA key fingerprint is fd:fd:d4:f9:77:fe:73:84:e1:55:00:ad:d6:6d:22:fe. Are you sure you want to continue connecting (yes\/no)? <mark>yes<\/mark><\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u308c\u306f\u3001\u3042\u306a\u305f\u306e\u30ed\u30fc\u30ab\u30eb\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u304c\u30ea\u30e2\u30fc\u30c8\u30db\u30b9\u30c8\u3092\u8a8d\u8b58\u3057\u3066\u3044\u306a\u3044\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u65b0\u3057\u3044\u30db\u30b9\u30c8\u306b\u63a5\u7d9a\u3059\u308b\u6700\u521d\u306e\u6642\u306b\u8d77\u3053\u308a\u307e\u3059\u3002\u7d9a\u884c\u3059\u308b\u306b\u306f\u300cyes\u300d\u3068\u5165\u529b\u3057\u3001ENTER\u30ad\u30fc\u3092\u62bc\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u6b21\u306b\u3001\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u306f\u5148\u307b\u3069\u4f5c\u6210\u3057\u305fid_rsa.pub\u30ad\u30fc\u3092\u30ed\u30fc\u30ab\u30eb\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u30b9\u30ad\u30e3\u30f3\u3057\u307e\u3059\u3002\u30ad\u30fc\u304c\u898b\u3064\u304b\u3063\u305f\u5834\u5408\u3001\u30ea\u30e2\u30fc\u30c8\u30e6\u30fc\u30b6\u30fc\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3059\u308b\u3088\u3046\u306b\u30d7\u30ed\u30f3\u30d7\u30c8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\/usr\/bin\/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed \/usr\/bin\/ssh-copy-id: INFO: 1 key(s) remain to be installed &#8212; if you are prompted now it is to install the new keys <mark>username<\/mark>@<mark>203.0.113.1<\/mark>&#8216;s password:<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\uff08\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u4e0a\u3001\u30bf\u30a4\u30d7\u3057\u305f\u3082\u306e\u306f\u8868\u793a\u3055\u308c\u307e\u305b\u3093\uff09\u3002ENTER\u3092\u62bc\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u305d\u306e\u5f8c\u3001\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u306f\u5165\u529b\u3055\u308c\u305f\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001\u30ea\u30e2\u30fc\u30c8\u30db\u30b9\u30c8\u4e0a\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u63a5\u7d9a\u3057\u307e\u3059\u3002\u305d\u3057\u3066\u3001~\/.ssh\/id_rsa.pub\u30ad\u30fc\u306e\u5185\u5bb9\u3092\u30ea\u30e2\u30fc\u30c8\u30a2\u30ab\u30a6\u30f3\u30c8\u306e~\/.ssh\/authorized_keys\u30d5\u30a1\u30a4\u30eb\u306b\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u51fa\u529b\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Number of key(s) added: 1 Now try logging into the machine, with: &#8220;ssh &#8216;<mark>username<\/mark>@<mark>203.0.113.1<\/mark>&#8216;&#8221; and check to make sure that only the key(s) you wanted were added.<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u6642\u70b9\u3067\u3001\u3042\u306a\u305f\u306eid_rsa.pub\u30ad\u30fc\u306f\u30ea\u30e2\u30fc\u30c8\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u307e\u3057\u305f\u3002\u30b9\u30c6\u30c3\u30d73\u306b\u9032\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>SSH\u3092\u4f7f\u7528\u3057\u3066\u516c\u958b\u9375\u3092\u30b3\u30d4\u30fc\u3059\u308b<\/h3>\n<p>\u3082\u3057ssh-copy-id\u3092\u5229\u7528\u3067\u304d\u306a\u3044\u5834\u5408\u3067\u3082\u3001\u30b5\u30fc\u30d0\u30fc\u4e0a\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u30d1\u30b9\u30ef\u30fc\u30c9\u30d9\u30fc\u30b9\u306eSSH\u30a2\u30af\u30bb\u30b9\u304c\u3042\u308b\u5834\u5408\u306f\u3001\u3088\u308a\u4f1d\u7d71\u7684\u306aSSH\u306e\u65b9\u6cd5\u3092\u4f7f\u3063\u3066\u30ad\u30fc\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u79c1\u305f\u3061\u306f\u3001\u30ed\u30fc\u30ab\u30eb\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u4e0a\u306e\u516c\u958bSSH\u30ad\u30fc\u306e\u5185\u5bb9\u3092\u8aad\u307f\u8fbc\u3080\u305f\u3081\u306bcat\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3001\u305d\u308c\u3092SSH\u63a5\u7d9a\u3092\u4ecb\u3057\u3066\u30ea\u30e2\u30fc\u30c8\u30b5\u30fc\u30d0\u30fc\u306b\u30d1\u30a4\u30d7\u3059\u308b\u3053\u3068\u3067\u3053\u308c\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4ed6\u65b9\u3067\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308b\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u4e0b\u3067\u301c\/ .ssh\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u5b58\u5728\u3057\u3001\u6b63\u3057\u3044\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3092\u6301\u3064\u3053\u3068\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u5f8c\u3001\u3053\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u306eauthorized_keys\u3068\u3044\u3046\u540d\u524d\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u30d1\u30a4\u30d7\u3092\u901a\u3057\u3066\u8ee2\u9001\u3057\u305f\u5185\u5bb9\u3092\u51fa\u529b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4e0a\u66f8\u304d\u3067\u306f\u306a\u304f\u3001\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u306b\u300c&gt;&gt;\u300d\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u8a18\u53f7\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u4ee5\u524d\u306b\u8ffd\u52a0\u3055\u308c\u305f\u30ad\u30fc\u3092\u7834\u58ca\u305b\u305a\u306b\u65b0\u3057\u3044\u30ad\u30fc\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u5b8c\u5168\u306a\u30b3\u30de\u30f3\u30c9\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">cat<\/span> ~\/.ssh\/id_rsa.pub <span class=\"token operator\">|<\/span> <span class=\"token function\">ssh<\/span> <mark>username<\/mark>@<mark>remote_host<\/mark> <span class=\"token string\">&#8220;mkdir -p ~\/.ssh &amp;&amp; touch ~\/.ssh\/authorized_keys &amp;&amp; chmod -R go= ~\/.ssh &amp;&amp; cat &gt;&gt; ~\/.ssh\/authorized_keys&#8221;<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u4ee5\u4e0b\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>The authenticity of host &#8216;<mark>203.0.113.1<\/mark> (<mark>203.0.113.1<\/mark>)&#8217; can&#8217;t be established. ECDSA key fingerprint is fd:fd:d4:f9:77:fe:73:84:e1:55:00:ad:d6:6d:22:fe. Are you sure you want to continue connecting (yes\/no)? <mark>yes<\/mark><\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u308c\u306f\u3001\u30ed\u30fc\u30ab\u30eb\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u304c\u30ea\u30e2\u30fc\u30c8\u30db\u30b9\u30c8\u3092\u8a8d\u8b58\u3057\u3066\u3044\u306a\u3044\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u65b0\u3057\u3044\u30db\u30b9\u30c8\u306b\u63a5\u7d9a\u3059\u308b\u521d\u56de\u306b\u8d77\u3053\u308a\u307e\u3059\u3002\u7d9a\u884c\u3059\u308b\u306b\u306f\u300cyes\u300d\u3068\u5165\u529b\u3057\u3001ENTER\u30ad\u30fc\u3092\u62bc\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u305d\u306e\u5f8c\u3001\u30ea\u30e2\u30fc\u30c8\u30e6\u30fc\u30b6\u30fc\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3059\u308b\u3088\u3046\u306b\u8981\u6c42\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p><mark>username<\/mark>@<mark>203.0.113.1<\/mark>&#8216;s password:<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u305f\u5f8c\u3001id_rsa.pub\u30ad\u30fc\u306e\u5185\u5bb9\u304c\u30ea\u30e2\u30fc\u30c8\u30e6\u30fc\u30b6\u30fc\u30a2\u30ab\u30a6\u30f3\u30c8\u306eauthorized_keys\u30d5\u30a1\u30a4\u30eb\u306e\u672b\u5c3e\u306b\u30b3\u30d4\u30fc\u3055\u308c\u307e\u3059\u3002\u3082\u3057\u6210\u529f\u3057\u305f\u5834\u5408\u306f\u3001\u30b9\u30c6\u30c3\u30d73\u306b\u9032\u3093\u3067\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>\u516c\u958b\u9375\u306e\u624b\u52d5\u30b3\u30d4\u30fc<\/h3>\n<p>\u30b5\u30fc\u30d0\u30fc\u3078\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u30d9\u30fc\u30b9\u306eSSH\u30a2\u30af\u30bb\u30b9\u304c\u5229\u7528\u3067\u304d\u306a\u3044\u5834\u5408\u306f\u3001\u4e0a\u8a18\u306e\u30d7\u30ed\u30bb\u30b9\u3092\u624b\u52d5\u3067\u5b8c\u4e86\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u30ea\u30e2\u30fc\u30c8\u30de\u30b7\u30f3\u306b\u306f\u3001id_rsa.pub\u30d5\u30a1\u30a4\u30eb\u306e\u5185\u5bb9\u3092\u624b\u52d5\u3067~\/.ssh\/authorized_keys\u30d5\u30a1\u30a4\u30eb\u306b\u8ffd\u8a18\u3057\u307e\u3059\u3002<\/p>\n<p>\u81ea\u5206\u306eid_rsa.pub\u30ad\u30fc\u306e\u5185\u5bb9\u3092\u8868\u793a\u3059\u308b\u306b\u306f\u3001\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u81ea\u5206\u306e\u30ed\u30fc\u30ab\u30eb\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u306b\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">cat<\/span> ~\/.ssh\/id_rsa.pub<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30ad\u30fc\u306e\u5185\u5bb9\u3092\u898b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u5185\u5bb9\u306f\u3001\u304a\u304a\u3088\u305d\u3053\u306e\u3088\u3046\u306b\u306a\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCqql6MzstZYh1TmWWv11q5O3pISj2ZFl9HgH1JLknLLx44+tXfJ7mIrKNxOOwxIxvcBF8PXSYvobFYEZjGIVCEAjrUzLiIxbyCoxVyle7Q+bqgZ8SeeM8wzytsY+dVGcBxF6N4JS+zVk5eMcV385gG3Y6ON3EG112n6d+SMXY0OEBIcO6x+PnUSGHrSgpBgX7Ks1r7xqFa7heJLLt2wWwkARptX7udSq05paBhcpB0pHtA1Rfz3K2B+ZVIpSDfki9UVKzT8JUmwW6NNzSgxUfQHGwnW7kj4jp4AT0VZk3ADw497M2G\/12N0PPB5CnhHf7ovgy6nL1ikrygTKRFmNZISvAcywB9GVqNAVE+ZHDSCuURNsAInVzgYo9xgJDW8wUw2o8U77+xiFxgI5QSZX3Iq7YLMgeksaO4rBJEa54k8m5wEiEE1nUhLuJ0X\/vh2xPff6SQ1BL\/zkOhvJCACK6Vb15mDOeCSq54Cr7kvS46itMosi\/uS66+PujOO+xt\/2FWYepz6ZlN70bRly57Q06J+ZJoc9FfBCbCyYH7U\/ASsmY095ywPsBo1XQ9PqhnN1\/YOorJ068foQDNVpm146mUpILVxmq41Cj55YKHEazXGsdBIbXWhcrRf4G2fJLRcGUr9q8\/lERo9oxRm5JFX6TCmj6kmiFqv+Ow9gI0x8GvaQ== sammy@host<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3054\u81ea\u8eab\u306e\u5229\u7528\u53ef\u80fd\u306a\u65b9\u6cd5\u3092\u4f7f\u7528\u3057\u3066\u3001\u30ea\u30e2\u30fc\u30c8\u30db\u30b9\u30c8\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u30ea\u30e2\u30fc\u30c8\u30b5\u30fc\u30d0\u30fc\u3067\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3089\u3001\u5b58\u5728\u78ba\u8a8d\u3092\u3059\u308b\u305f\u3081\u306b~\/.ssh\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u5b58\u5728\u3059\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306f\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u307e\u3059\u304c\u3001\u65e2\u306b\u5b58\u5728\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u4f55\u3082\u3057\u307e\u305b\u3093\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">mkdir<\/span> <span class=\"token parameter variable\">-p<\/span> ~\/.ssh<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u3067authorized_keys\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u307e\u305f\u306f\u5909\u66f4\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u3001id_rsa.pub\u30d5\u30a1\u30a4\u30eb\u306e\u5185\u5bb9\u3092authorized_keys\u30d5\u30a1\u30a4\u30eb\u306e\u672b\u5c3e\u306b\u8ffd\u52a0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001\u5fc5\u8981\u306a\u5834\u5408\u306b\u306f\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u306a\u304c\u3089\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token builtin class-name\">echo<\/span> <mark>public_key_string<\/mark> <span class=\"token operator\">&gt;&gt;<\/span> ~\/.ssh\/authorized_keys<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u4e0a\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3067\u306f\u3001\u30ed\u30fc\u30ab\u30eb\u30b7\u30b9\u30c6\u30e0\u3067\u5b9f\u884c\u3057\u305f cat ~\/.ssh\/id_rsa.pub \u30b3\u30de\u30f3\u30c9\u306e\u51fa\u529b\u3067\u3042\u308b public_key_string \u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u305d\u308c\u306f ssh-rsa AAAA&#8230;. \u3067\u59cb\u307e\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<p>\u6700\u5f8c\u306b\u3001\u9069\u5207\u306a\u6a29\u9650\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u3001~\/.ssh\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3068authorized_keys\u30d5\u30a1\u30a4\u30eb\u306e\u6a29\u9650\u3092\u78ba\u4fdd\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">chmod<\/span> <span class=\"token parameter variable\">-R<\/span> <span class=\"token assign-left variable\">go<\/span><span class=\"token operator\">=<\/span> ~\/.ssh<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306f\u3001~\/.ssh\/ \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u3059\u3079\u3066\u306e\u300c\u30b0\u30eb\u30fc\u30d7\u300d\u304a\u3088\u3073\u300c\u305d\u306e\u4ed6\u300d\u306e\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3092\u518d\u5e30\u7684\u306b\u524a\u9664\u3057\u307e\u3059\u3002<\/p>\n<p>\u30eb\u30fc\u30c8\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f7f\u7528\u3057\u3066\u30e6\u30fc\u30b6\u30fc\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u30ad\u30fc\u3092\u8a2d\u5b9a\u3059\u308b\u5834\u5408\u3001~\/.ssh\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u30e6\u30fc\u30b6\u30fc\u306b\u5c5e\u3057\u3066\u3044\u3066root\u3067\u306f\u306a\u3044\u3053\u3068\u3082\u91cd\u8981\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">chown<\/span> <span class=\"token parameter variable\">-R<\/span> <mark>sammy<\/mark>:<mark>sammy<\/mark> ~\/.ssh<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u540d\u524d\u3092\u30b5\u30df\u30fc\u3068\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u4e0a\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u306b\u9069\u5207\u306a\u30e6\u30fc\u30b6\u30fc\u540d\u3092\u7f6e\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u79c1\u305f\u3061\u306f\u4eca\u3001Rocky Linux\u30b5\u30fc\u30d0\u30fc\u3067\u9375\u306b\u57fa\u3065\u3044\u305f\u8a8d\u8a3c\u3092\u8a66\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d73 \u2014 SSH\u30ad\u30fc\u3092\u4f7f\u7528\u3057\u3066Rocky Linux\u30b5\u30fc\u30d0\u30fc\u306b\u30ed\u30b0\u30a4\u30f3\u3059\u308b<\/h2>\n<p>\u3082\u3057\u4e0a\u8a18\u306e\u624b\u9806\u306e\u3046\u3061\u306e\u3044\u305a\u308c\u304b\u3092\u6210\u529f\u88cf\u306b\u5b8c\u4e86\u3057\u305f\u5834\u5408\u3001\u4eca\u3084\u30ea\u30e2\u30fc\u30c8\u30db\u30b9\u30c8\u306b\u30ea\u30e2\u30fc\u30c8\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u306a\u3057\u3067\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<p>\u30d1\u30b9\u30ef\u30fc\u30c9\u8a8d\u8a3c\u3068\u540c\u3058\u624b\u9806\u3067\u521d\u671f\u30d7\u30ed\u30bb\u30b9\u304c\u884c\u308f\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">ssh<\/span> <mark>username<\/mark>@<mark>remote_host<\/mark><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u521d\u3081\u3066\u3053\u306e\u30db\u30b9\u30c8\u306b\u63a5\u7d9a\u3059\u308b\u5834\u5408\uff08\u4e0a\u8a18\u306e\u65b9\u6cd5\u3092\u4f7f\u7528\u3057\u305f\u5834\u5408\uff09\u3001\u6b21\u306e\u3088\u3046\u306a\u3082\u306e\u304c\u8868\u793a\u3055\u308c\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>The authenticity of host &#8216;<mark>203.0.113.1<\/mark> (<mark>203.0.113.1<\/mark>)&#8217; can&#8217;t be established. ECDSA key fingerprint is fd:fd:d4:f9:77:fe:73:84:e1:55:00:ad:d6:6d:22:fe. Are you sure you want to continue connecting (yes\/no)? <mark>yes<\/mark><\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3042\u306a\u305f\u306e\u30ed\u30fc\u30ab\u30eb\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306f\u30ea\u30e2\u30fc\u30c8\u30db\u30b9\u30c8\u3092\u8a8d\u8b58\u3057\u3066\u3044\u307e\u305b\u3093\u3002\u7d9a\u3051\u308b\u305f\u3081\u306byes\u3068\u5165\u529b\u3057\u3001Enter\u30ad\u30fc\u3092\u62bc\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u30b9\u30c6\u30c3\u30d71\u3067\u9375\u30da\u30a2\u3092\u4f5c\u6210\u3059\u308b\u969b\u306b\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u3092\u5165\u529b\u3057\u306a\u304b\u3063\u305f\u5834\u5408\u306f\u3001\u5373\u5ea7\u306b\u30ed\u30b0\u30a4\u30f3\u3055\u308c\u307e\u3059\u3002\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u3092\u5165\u529b\u3057\u305f\u5834\u5408\u306f\u3001\u305d\u308c\u3092\u5165\u529b\u3059\u308b\u3088\u3046\u306b\u6c42\u3081\u3089\u308c\u307e\u3059\u3002\u8a8d\u8a3c\u304c\u5b8c\u4e86\u3059\u308b\u3068\u3001Rocky Linux\u30b5\u30fc\u30d0\u30fc\u306e\u8a2d\u5b9a\u3055\u308c\u305f\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u65b0\u3057\u3044\u30b7\u30a7\u30eb\u30bb\u30c3\u30b7\u30e7\u30f3\u304c\u958b\u304b\u308c\u307e\u3059\u3002<\/p>\n<p>\u30ad\u30fc\u306b\u57fa\u3065\u304f\u8a8d\u8a3c\u304c\u6210\u529f\u3057\u305f\u5834\u5408\u306f\u3001SSH\u30b5\u30fc\u30d0\u30fc\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u8a8d\u8a3c\u3092\u7121\u52b9\u306b\u3059\u308b\u3053\u3068\u3067\u3001\u30b7\u30b9\u30c6\u30e0\u3092\u3055\u3089\u306b\u5b89\u5168\u306b\u3059\u308b\u65b9\u6cd5\u3092\u5b66\u7fd2\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d74 &#8211; \u30b5\u30fc\u30d0\u30fc\u4e0a\u3067\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u8a8d\u8a3c\u306e\u7121\u52b9\u5316<\/h2>\n<p>SSH\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u306a\u3057\u3067\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u5834\u5408\u3001SSH\u30ad\u30fc\u30d9\u30fc\u30b9\u306e\u8a8d\u8a3c\u304c\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u6b63\u5e38\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u30d9\u30fc\u30b9\u306e\u8a8d\u8a3c\u30e1\u30ab\u30cb\u30ba\u30e0\u306f\u5f15\u304d\u7d9a\u304d\u6709\u52b9\u306a\u305f\u3081\u3001\u30b5\u30fc\u30d0\u30fc\u306f\u5f15\u304d\u7d9a\u304d\u30d6\u30eb\u30fc\u30c8\u30d5\u30a9\u30fc\u30b9\u653b\u6483\u306e\u5bfe\u8c61\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u306e\u624b\u9806\u3092\u5b8c\u4e86\u3059\u308b\u524d\u306b\u3001\u3053\u306e\u30b5\u30fc\u30d0\u30fc\u306eroot\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u5bfe\u3057\u3066SSH\u9375\u30d9\u30fc\u30b9\u306e\u8a8d\u8a3c\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u304b\u3001\u3088\u308a\u826f\u3044\u3068\u3055\u308c\u308b\u304c\u3001sudo\u6a29\u9650\u3092\u6301\u3064\u975eroot\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u5bfe\u3057\u3066SSH\u9375\u30d9\u30fc\u30b9\u306e\u8a8d\u8a3c\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u306e\u624b\u9806\u306f\u30d1\u30b9\u30ef\u30fc\u30c9\u30d9\u30fc\u30b9\u306e\u30ed\u30b0\u30a4\u30f3\u3092\u5236\u9650\u3059\u308b\u305f\u3081\u3001\u7ba1\u7406\u8005\u30a2\u30af\u30bb\u30b9\u304c\u5f15\u304d\u7d9a\u304d\u53ef\u80fd\u3067\u3042\u308b\u3053\u3068\u3092\u78ba\u4fdd\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n<p>\u30ea\u30e2\u30fc\u30c8\u30a2\u30ab\u30a6\u30f3\u30c8\u304c\u7ba1\u7406\u8005\u6a29\u9650\u3092\u6301\u3063\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u305f\u3089\u3001SSH\u30ad\u30fc\u3092\u4f7f\u3063\u3066\u30ea\u30e2\u30fc\u30c8\u30b5\u30fc\u30d0\u30fc\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3059\u3002\u30eb\u30fc\u30c8\u30e6\u30fc\u30b6\u30fc\u3068\u3057\u3066\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u304b\u3001sudo\u6a29\u9650\u3092\u6301\u3063\u305f\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3059\u3002\u305d\u3057\u3066\u3001SSH\u30c7\u30fc\u30e2\u30f3\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">vi<\/span> \/etc\/ssh\/sshd_config<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u3067\u3001PasswordAuthentication\u3068\u3044\u3046\u6307\u793a\u3092\u691c\u7d22\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u306e\u884c\u306f#\u30cf\u30c3\u30b7\u30e5\u3067\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u633f\u5165\u30e2\u30fc\u30c9\u306b\u3059\u308b\u305f\u3081\u306bi\u3092\u62bc\u3057\u3001\u6b21\u306b\u305d\u306e\u884c\u306e\u30b3\u30e1\u30f3\u30c8\u3092\u5916\u3057\u3066\u5024\u3092no\u306b\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30a2\u30ab\u30a6\u30f3\u30c8\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u3066SSH\u7d4c\u7531\u3067\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u6a5f\u80fd\u304c\u7121\u52b9\u5316\u3055\u308c\u307e\u3059\u3002<\/p>\n<div>\/etc\/ssh\/sshd_config \u3092\u65e5\u672c\u8a9e\u3067\u8a00\u3044\u63db\u3048\u308b\u3068\u3001\u300c\/etc\/ssh\/sshd_config \u30d5\u30a1\u30a4\u30eb\u300d\u3068\u306a\u308a\u307e\u3059\u3002<\/div>\n<pre class=\"post-pre\"><code>...\r\nPasswordAuthentication <mark>no<\/mark>\r\n...\r\n<\/code><\/pre>\n<p>\u5909\u66f4\u4f5c\u696d\u304c\u7d42\u308f\u3063\u305f\u3089\u3001ESC\u30ad\u30fc\u3092\u62bc\u3057\u3066\u3001\u5909\u66f4\u5185\u5bb9\u3092\u30d5\u30a1\u30a4\u30eb\u306b\u66f8\u304d\u8fbc\u3093\u3067\u7d42\u4e86\u3059\u308b\u305f\u3081\u306b\u3001:wq\u3068\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u308c\u3089\u306e\u5909\u66f4\u3092\u5b9f\u969b\u306b\u53cd\u6620\u3055\u305b\u308b\u306b\u306f\u3001ssh\u30c7\u30fc\u30e2\u30f3\u30b5\u30fc\u30d3\u30b9\u3092\u518d\u8d77\u52d5\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> systemctl restart sshd<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u6ce8\u610f\u3057\u3066\u3001\u65b0\u3057\u3044\u30bf\u30fc\u30df\u30ca\u30eb\u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u958b\u304d\u3001\u73fe\u5728\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u7d42\u4e86\u3059\u308b\u524d\u306bSSH\u30b5\u30fc\u30d3\u30b9\u304c\u6b63\u5e38\u306b\u52d5\u4f5c\u3057\u3066\u3044\u308b\u304b\u30c6\u30b9\u30c8\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">ssh<\/span> <mark>username<\/mark>@<mark>remote_host<\/mark><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>SSH\u30b5\u30fc\u30d3\u30b9\u304c\u6b63\u5e38\u306b\u52d5\u4f5c\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u305f\u3089\u3001\u5b89\u5fc3\u3057\u3066\u73fe\u5728\u306e\u30b5\u30fc\u30d0\u30fc\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u7d42\u4e86\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3042\u306a\u305f\u306eRocky Linux\u30b5\u30fc\u30d0\u30fc\u4e0a\u306eSSH\u30c7\u30fc\u30e2\u30f3\u306f\u3001SSH\u30ad\u30fc\u306b\u306e\u307f\u5fdc\u7b54\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u30d1\u30b9\u30ef\u30fc\u30c9\u306b\u57fa\u3065\u3044\u305f\u8a8d\u8a3c\u306f\u6b63\u5e38\u306b\u7121\u52b9\u5316\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<h2>\u7d50\u8ad6<\/h2>\n<p>\u3042\u306a\u305f\u306e\u30b5\u30fc\u30d0\u30fc\u306b\u306f\u3001SSH\u30ad\u30fc\u30d9\u30fc\u30b9\u306e\u8a8d\u8a3c\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u304a\u308a\u3001\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u305b\u305a\u306b\u30b5\u30a4\u30f3\u30a4\u30f3\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<p>\u3082\u3057SSH\u306b\u3064\u3044\u3066\u3082\u3063\u3068\u5b66\u3073\u305f\u3044\u5834\u5408\u306f\u3001\u79c1\u305f\u3061\u306eSSH Essentials Guide\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b SSH\u3001\u307e\u305f\u306f\u30bb\u30ad\u30e5\u30a2\u30b7\u30a7\u30eb\u3001\u306f\u30b5\u30fc\u30d0\u30fc\u306e\u7ba1\u7406\u3084\u901a\u4fe1\u306b\u4f7f\u7528\u3055\u308c\u308b\u6697\u53f7\u5316\u3055\u308c\u305f\u30d7\u30ed\u30c8\u30b3\u30eb\u3067\u3059\u3002Rocky Linux \u30b5\u30fc\u30d0\u30fc\u3067\u4f5c\u696d\u3059\u308b\u969b\u306b\u306f\u3001\u304a\u305d\u3089\u304f SSH \u3092\u4ecb\u3057\u3066\u30b5\u30fc\u30d0\u30fc\u306b\u63a5\u7d9a\u3057\u305f\u30bf\u30fc\u30df\u30ca\u30eb\u30bb\u30c3\u30b7\u30e7\u30f3\u306b\u5927 [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,18],"class_list":["post-197","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-linux","tag-18"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Rocky Linux 9\u3067SSH\u30ad\u30fc\u306e\u8a2d\u5b9a\u3092\u306e\u65b9\u6cd5 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"Rocky Linux 9\u3067SSH\u30ad\u30fc\u306e\u8a2d\u5b9a\u3092\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9\u3067ssh\u30ad\u30fc\u306e\u8a2d\u5b9a\u3092\u3059\u308b\u65b9\u6cd5\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Rocky Linux 9\u3067SSH\u30ad\u30fc\u306e\u8a2d\u5b9a\u3092\u306e\u65b9\u6cd5\" \/>\n<meta property=\"og:description\" content=\"Rocky Linux 9\u3067SSH\u30ad\u30fc\u306e\u8a2d\u5b9a\u3092\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9\u3067ssh\u30ad\u30fc\u306e\u8a2d\u5b9a\u3092\u3059\u308b\u65b9\u6cd5\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-01-08T16:55:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-31T12:34:28+00:00\" \/>\n<meta name=\"author\" content=\"\u82bd\u4f9d, \u96e8\u591c\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u82bd\u4f9d, \u96e8\u591c\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"20\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%a7ssh%e3%82%ad%e3%83%bc%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%82%92%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%a7ssh%e3%82%ad%e3%83%bc%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%82%92%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/\",\"name\":\"Rocky Linux 9\u3067SSH\u30ad\u30fc\u306e\u8a2d\u5b9a\u3092\u306e\u65b9\u6cd5 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2023-01-08T16:55:53+00:00\",\"dateModified\":\"2025-07-31T12:34:28+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/aeb60a7861f2f002b54c66bd65bc6c27\"},\"description\":\"Rocky Linux 9\u3067SSH\u30ad\u30fc\u306e\u8a2d\u5b9a\u3092\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%a7ssh%e3%82%ad%e3%83%bc%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%82%92%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%a7ssh%e3%82%ad%e3%83%bc%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%82%92%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%a7ssh%e3%82%ad%e3%83%bc%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%82%92%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Rocky Linux 9\u3067SSH\u30ad\u30fc\u306e\u8a2d\u5b9a\u3092\u306e\u65b9\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/aeb60a7861f2f002b54c66bd65bc6c27\",\"name\":\"\u82bd\u4f9d, \u96e8\u591c\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6305fe5cabc2b854c1208975a47fbf3f8cef3f7cd775b94dceedbe59b74a8010?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6305fe5cabc2b854c1208975a47fbf3f8cef3f7cd775b94dceedbe59b74a8010?s=96&d=mm&r=g\",\"caption\":\"\u82bd\u4f9d, \u96e8\u591c\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/meiamaya\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%a7ssh%e3%82%ad%e3%83%bc%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%82%92%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Rocky Linux 9\u3067SSH\u30ad\u30fc\u306e\u8a2d\u5b9a\u3092\u306e\u65b9\u6cd5 - Blog - Silicon Cloud","description":"Rocky Linux 9\u3067SSH\u30ad\u30fc\u306e\u8a2d\u5b9a\u3092\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9\u3067ssh\u30ad\u30fc\u306e\u8a2d\u5b9a\u3092\u3059\u308b\u65b9\u6cd5\/","og_locale":"ja_JP","og_type":"article","og_title":"Rocky Linux 9\u3067SSH\u30ad\u30fc\u306e\u8a2d\u5b9a\u3092\u306e\u65b9\u6cd5","og_description":"Rocky Linux 9\u3067SSH\u30ad\u30fc\u306e\u8a2d\u5b9a\u3092\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9\u3067ssh\u30ad\u30fc\u306e\u8a2d\u5b9a\u3092\u3059\u308b\u65b9\u6cd5\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-01-08T16:55:53+00:00","article_modified_time":"2025-07-31T12:34:28+00:00","author":"\u82bd\u4f9d, \u96e8\u591c","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u82bd\u4f9d, \u96e8\u591c","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"20\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%a7ssh%e3%82%ad%e3%83%bc%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%82%92%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%a7ssh%e3%82%ad%e3%83%bc%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%82%92%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/","name":"Rocky Linux 9\u3067SSH\u30ad\u30fc\u306e\u8a2d\u5b9a\u3092\u306e\u65b9\u6cd5 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2023-01-08T16:55:53+00:00","dateModified":"2025-07-31T12:34:28+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/aeb60a7861f2f002b54c66bd65bc6c27"},"description":"Rocky Linux 9\u3067SSH\u30ad\u30fc\u306e\u8a2d\u5b9a\u3092\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%a7ssh%e3%82%ad%e3%83%bc%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%82%92%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%a7ssh%e3%82%ad%e3%83%bc%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%82%92%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%a7ssh%e3%82%ad%e3%83%bc%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%82%92%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"Rocky Linux 9\u3067SSH\u30ad\u30fc\u306e\u8a2d\u5b9a\u3092\u306e\u65b9\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/aeb60a7861f2f002b54c66bd65bc6c27","name":"\u82bd\u4f9d, \u96e8\u591c","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6305fe5cabc2b854c1208975a47fbf3f8cef3f7cd775b94dceedbe59b74a8010?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6305fe5cabc2b854c1208975a47fbf3f8cef3f7cd775b94dceedbe59b74a8010?s=96&d=mm&r=g","caption":"\u82bd\u4f9d, \u96e8\u591c"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/meiamaya\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/rocky-linux-9%e3%81%a7ssh%e3%82%ad%e3%83%bc%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%82%92%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/197","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=197"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/197\/revisions"}],"predecessor-version":[{"id":325742,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/197\/revisions\/325742"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=197"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=197"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}