{"id":14678,"date":"2024-02-03T19:04:45","date_gmt":"2024-02-03T15:34:45","guid":{"rendered":"https:\/\/www.itpiran.net\/blog\/?p=14678"},"modified":"2024-02-04T09:36:25","modified_gmt":"2024-02-04T06:06:25","slug":"how-to-use-ssh-to-connect-to-a-remote-server","status":"publish","type":"post","link":"https:\/\/www.itpiran.net\/blog\/ja\/tutorials\/how-to-use-ssh-to-connect-to-a-remote-server\/","title":{"rendered":"SSH\u3092\u4f7f\u7528\u3057\u3066\u30ea\u30e2\u30fc\u30c8\u30b5\u30fc\u30d0\u30fc\u306b\u63a5\u7d9a\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<h2 id=\"%d9%85%d9%82%d8%af%d9%85%d9%87\">\u5c0e\u5165<\/h2>\n<p>\u30b7\u30b9\u30c6\u30e0\u7ba1\u7406\u8005\u3068\u3057\u3066\u7fd2\u5f97\u3059\u3079\u304d\u5fc5\u9808\u30c4\u30fc\u30eb\u306e\u4e00\u3064\u304cSSH\u3067\u3059\u3002SSH\uff08Secure Shell\uff09\u306f\u3001\u30ea\u30e2\u30fc\u30c8\u30b7\u30b9\u30c6\u30e0\u306b\u5b89\u5168\u306b\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u305f\u3081\u306e\u30d7\u30ed\u30c8\u30b3\u30eb\u3067\u3059\u3002Linux\u30b5\u30fc\u30d0\u30fc\u306b\u30ea\u30e2\u30fc\u30c8\u30a2\u30af\u30bb\u30b9\u3059\u308b\u6700\u3082\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u3067\u3059\u3002\u3053\u306e\u30ac\u30a4\u30c9\u3067\u306f\u3001SSH\u3092\u4f7f\u7528\u3057\u3066\u30ea\u30e2\u30fc\u30c8\u30b7\u30b9\u30c6\u30e0\u306b\u63a5\u7d9a\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002.<\/p>\n<h2 id=\"%d9%86%d8%ad%d9%88-%d9%87%d8%b3%d8%aa%d9%87\">\u30b3\u30a2\u69cb\u6587<\/h2>\n<p>SSH \u3092\u4f7f\u7528\u3057\u3066\u30ea\u30e2\u30fc\u30c8\u30b7\u30b9\u30c6\u30e0\u306b\u63a5\u7d9a\u3059\u308b\u306b\u306f\u3001ssh \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002Windows \u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089 ssh \u3092\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u3001OpenSSH \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002PowerShell \u3067\u4f5c\u696d\u3057\u305f\u3044\u5834\u5408\u306f\u3001Microsoft \u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306b\u5f93\u3063\u3066\u3001PowerShell \u306b OpenSSH \u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u5b8c\u5168\u306a Linux \u74b0\u5883\u3092\u5229\u7528\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067 ssh \u304c\u542b\u307e\u308c\u308b WSL (Windows Subsystem for Linux) \u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3067\u304d\u307e\u3059\u3002\u6700\u5f8c\u306b\u30013 \u3064\u76ee\u306e\u8efd\u91cf\u306a\u30aa\u30d7\u30b7\u30e7\u30f3\u3068\u3057\u3066\u3001ssh \u30b3\u30de\u30f3\u30c9\u3092\u542b\u3080 Windows bash \u30bf\u30fc\u30df\u30ca\u30eb\u74b0\u5883\u3092\u63d0\u4f9b\u3059\u308b Git for Windows \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u3089\u306f\u3044\u305a\u308c\u3082\u5341\u5206\u306b\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u3069\u308c\u3092\u4f7f\u7528\u3059\u308b\u304b\u306f\u597d\u307f\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002Mac \u307e\u305f\u306f Linux \u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u306b\u65e2\u306b ssh \u30b3\u30de\u30f3\u30c9\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u306f\u305a\u3067\u3059\u3002.<\/p>\n<p>\u30b3\u30de\u30f3\u30c9\u306e\u6700\u3082\u5358\u7d14\u306a\u5f62\u5f0f\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>ssh remote_host<\/code><\/pre>\n<\/div>\n<p>\u3053\u306e\u4f8b\u306eremote_host\u306f\u3001\u63a5\u7d9a\u5148\u306eIP\u30a2\u30c9\u30ec\u30b9\u307e\u305f\u306f\u30c9\u30e1\u30a4\u30f3\u540d\u3067\u3059\u3002\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306f\u3001\u30ea\u30e2\u30fc\u30c8\u30b7\u30b9\u30c6\u30e0\u3067\u306e\u30e6\u30fc\u30b6\u30fc\u540d\u304c\u30ed\u30fc\u30ab\u30eb\u30b7\u30b9\u30c6\u30e0\u3067\u306e\u30e6\u30fc\u30b6\u30fc\u540d\u3068\u540c\u3058\u3067\u3042\u308b\u3053\u3068\u3092\u524d\u63d0\u3068\u3057\u3066\u3044\u307e\u3059\u3002.<\/p>\n<p>\u30ea\u30e2\u30fc\u30c8 \u30b7\u30b9\u30c6\u30e0\u4e0a\u3067\u30e6\u30fc\u30b6\u30fc\u540d\u304c\u7570\u306a\u308b\u5834\u5408\u306f\u3001\u6b21\u306e\u69cb\u6587\u3092\u4f7f\u7528\u3057\u3066\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>ssh remote_username@remote_host<\/code><\/pre>\n<\/div>\n<p>\u30b5\u30fc\u30d0\u30fc\u306b\u63a5\u7d9a\u5f8c\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u3066\u672c\u4eba\u78ba\u8a8d\u3092\u6c42\u3081\u3089\u308c\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u4ee3\u308f\u308a\u306b\u4f7f\u7528\u3059\u308b\u30ad\u30fc\u3092\u751f\u6210\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u5f8c\u307b\u3069\u8aac\u660e\u3057\u307e\u3059\u3002.<\/p>\n<p>ssh \u3092\u7d42\u4e86\u3057\u3066\u30ed\u30fc\u30ab\u30eb \u30b7\u30a7\u30eb\u306b\u623b\u308b\u306b\u306f\u3001\u6b21\u306e\u3088\u3046\u306b\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>exit<\/code><\/pre>\n<\/div>\n<h2 id=\"ssh-%da%86%da%af%d9%88%d9%86%d9%87-%da%a9%d8%a7%d8%b1-%d9%85%db%8c-%da%a9%d9%86%d8%af%d8%9f\">SSH \u306f\u3069\u306e\u3088\u3046\u306b\u6a5f\u80fd\u3057\u307e\u3059\u304b?<\/h2>\n<p>SSH\u306f\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30d7\u30ed\u30b0\u30e9\u30e0\u3092sshd\u3068\u547c\u3070\u308c\u308bssh\u30b5\u30fc\u30d0\u30fc\u306b\u63a5\u7d9a\u3059\u308b\u3053\u3068\u3067\u6a5f\u80fd\u3057\u307e\u3059\u3002\u524d\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3001ssh\u304c\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3057\u305f\u3002ssh\u30b5\u30fc\u30d0\u30fc\u306f\u3001\u6307\u5b9a\u3057\u305fremote_host\u4e0a\u3067\u65e2\u306b\u5b9f\u884c\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002\u307b\u3068\u3093\u3069\u3059\u3079\u3066\u306eLinux\u74b0\u5883\u3067\u306f\u3001sshd\u30b5\u30fc\u30d0\u30fc\u306f\u81ea\u52d5\u7684\u306b\u8d77\u52d5\u3059\u308b\u306f\u305a\u3067\u3059\u3002\u4f55\u3089\u304b\u306e\u7406\u7531\u3067\u8d77\u52d5\u3057\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001Web\u30d9\u30fc\u30b9\u306e\u30b3\u30f3\u30bd\u30fc\u30eb\u307e\u305f\u306f\u30ed\u30fc\u30ab\u30eb\u306e\u30b7\u30ea\u30a2\u30eb\u30b3\u30f3\u30bd\u30fc\u30eb\u3092\u4ecb\u3057\u3066\u4e00\u6642\u7684\u306b\u30b5\u30fc\u30d0\u30fc\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002ssh\u30b5\u30fc\u30d0\u30fc\u306e\u8d77\u52d5\u306b\u5fc5\u8981\u306a\u624b\u9806\u306f\u3001\u4f7f\u7528\u3057\u3066\u3044\u308bLinux\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002.<\/p>\n<p>Ubuntu \u3067\u306f\u3001\u6b21\u306e\u3088\u3046\u306b\u5165\u529b\u3057\u3066 ssh \u30b5\u30fc\u30d0\u30fc\u3092\u8d77\u52d5\u3067\u304d\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>sudo systemctl start ssh<\/code><\/pre>\n<\/div>\n<p>\u3053\u308c\u306b\u3088\u308a sshd \u30b5\u30fc\u30d0\u30fc\u304c\u8d77\u52d5\u3057\u3001\u30ea\u30e2\u30fc\u30c8\u3067\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002.<\/p>\n<h2 id=\"%d9%86%d8%ad%d9%88%d9%87-%d9%be%db%8c%da%a9%d8%b1%d8%a8%d9%86%d8%af%db%8c-ssh\">SSH\u306e\u8a2d\u5b9a\u65b9\u6cd5<\/h2>\n<p>SSH\u8a2d\u5b9a\u3092\u5909\u66f4\u3059\u308b\u3068\u3001sshd\u30b5\u30fc\u30d0\u30fc\u306e\u8a2d\u5b9a\u3082\u5909\u66f4\u3055\u308c\u307e\u3059\u3002Ubuntu\u3067\u306f\u3001\u30e1\u30a4\u30f3\u306esshd\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\/etc\/ssh\/sshd_config\u306b\u3042\u308a\u307e\u3059\u3002\u7de8\u96c6\u3059\u308b\u524d\u306b\u3001\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u73fe\u5728\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>sudo cp \/etc\/ssh\/sshd_config{,.bak}<\/code><\/pre>\n<\/div>\n<p>nano \u307e\u305f\u306f\u304a\u6c17\u306b\u5165\u308a\u306e\u30c6\u30ad\u30b9\u30c8 \u30a8\u30c7\u30a3\u30bf\u30fc\u3092\u4f7f\u7528\u3057\u3066\u958b\u304d\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>sudo nano \/etc\/ssh\/sshd_config<\/code><\/pre>\n<\/div>\n<p>\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u5185\u306e\u307b\u3068\u3093\u3069\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u305d\u306e\u307e\u307e\u306b\u3057\u3066\u304a\u304f\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u3044\u304f\u3064\u304b\u78ba\u8a8d\u3057\u3066\u304a\u304f\u3068\u826f\u3044\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>Port 22<\/code><\/pre>\n<\/div>\n<p>\u30dd\u30fc\u30c8\u5ba3\u8a00\u306f\u3001sshd\u30b5\u30fc\u30d0\u30fc\u304c\u63a5\u7d9a\u3092\u5f85\u3061\u53d7\u3051\u308b\u30dd\u30fc\u30c8\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f22\u3067\u3059\u3002\u7279\u5225\u306a\u7406\u7531\u304c\u306a\u3044\u9650\u308a\u3001\u3053\u306e\u8a2d\u5b9a\u306f\u305d\u306e\u307e\u307e\u306b\u3057\u3066\u304a\u304f\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002\u30dd\u30fc\u30c8\u3092\u5909\u66f4\u3059\u308b\u5834\u5408\u306f\u3001\u65b0\u3057\u3044\u30dd\u30fc\u30c8\u3078\u306e\u63a5\u7d9a\u65b9\u6cd5\u3092\u4ee5\u4e0b\u3067\u8aac\u660e\u3057\u307e\u3059\u3002.<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>HostKey \/etc\/ssh\/ssh_host_rsa_key\r\nHostKey \/etc\/ssh\/ssh_host_dsa_key\r\nHostKey \/etc\/ssh\/ssh_host_ecdsa_key<\/code><\/pre>\n<\/div>\n<p>\u30db\u30b9\u30c8\u30ad\u30fc\u5ba3\u8a00\u306f\u3001\u30b0\u30ed\u30fc\u30d0\u30eb\u30db\u30b9\u30c8\u30ad\u30fc\u3092\u691c\u7d22\u3059\u308b\u5834\u6240\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u30db\u30b9\u30c8\u30ad\u30fc\u3068\u306f\u4f55\u304b\u306b\u3064\u3044\u3066\u306f\u5f8c\u307b\u3069\u8aac\u660e\u3057\u307e\u3059\u3002.<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>SyslogFacility AUTH\r\nLogLevel INFO<\/code><\/pre>\n<\/div>\n<p>\u3053\u308c\u3089 2 \u3064\u306e\u9805\u76ee\u306f\u3001\u767a\u751f\u3059\u308b\u30ed\u30b0\u8a18\u9332\u306e\u30ec\u30d9\u30eb\u3092\u793a\u3057\u307e\u3059\u3002.<\/p>\n<p>SSH \u306b\u554f\u984c\u304c\u3042\u308b\u5834\u5408\u306f\u3001\u30ed\u30b0\u8a18\u9332\u30ec\u30fc\u30c8\u3092\u4e0a\u3052\u308b\u3068\u554f\u984c\u3092\u767a\u898b\u3067\u304d\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002.<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>LoginGraceTime 120\r\nPermitRootLogin yes\r\nStrictModes yes<\/code><\/pre>\n<\/div>\n<p>\u3053\u308c\u3089\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u306f\u3001\u30ed\u30b0\u30a4\u30f3\u60c5\u5831\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002.<\/p>\n<p>LoginGraceTime \u306f\u3001\u30ed\u30b0\u30a4\u30f3\u306b\u6210\u529f\u3057\u306a\u3044\u5834\u5408\u306b\u63a5\u7d9a\u3092\u4f55\u79d2\u7dad\u6301\u3059\u308b\u304b\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u3053\u306e\u6642\u9593\u306f\u3001\u901a\u5e38\u306e\u30ed\u30b0\u30a4\u30f3\u306b\u304b\u304b\u308b\u6642\u9593\u3088\u308a\u3082\u5c11\u3057\u9577\u3081\u306b\u8a2d\u5b9a\u3059\u308b\u306e\u304c\u826f\u3044\u3067\u3057\u3087\u3046\u3002PermitRootLogin \u306f\u3001root \u30e6\u30fc\u30b6\u30fc\u306e\u30ed\u30b0\u30a4\u30f3\u3092\u8a31\u53ef\u3059\u308b\u304b\u3069\u3046\u304b\u3092\u9078\u629e\u3057\u307e\u3059\u3002su \u307e\u305f\u306f sudo \u7d4c\u7531\u3067\u6607\u683c\u3057\u305f\u6a29\u9650\u3092\u6301\u3064\u30e6\u30fc\u30b6\u30fc\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f5c\u6210\u3057\u3001ssh \u7d4c\u7531\u3067\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u305f\u5834\u5408\u3001\u30b5\u30fc\u30d0\u30fc\u3078\u306e root \u30a2\u30af\u30bb\u30b9\u306e\u30ea\u30b9\u30af\u3092\u6700\u5c0f\u9650\u306b\u6291\u3048\u308b\u305f\u3081\u306b\u3001\u901a\u5e38\u306f\u3053\u306e\u8a2d\u5b9a\u3092 no \u306b\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002.strictModes \u306f\u3001\u8a8d\u8a3c\u30d5\u30a1\u30a4\u30eb\u304c\u516c\u958b\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306b\u30ed\u30b0\u30a4\u30f3\u8a66\u884c\u3092\u62d2\u5426\u3059\u308b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30ac\u30fc\u30c9\u3067\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u304c\u5b89\u5168\u3067\u306a\u3044\u5834\u5408\u306b\u30ed\u30b0\u30a4\u30f3\u8a66\u884c\u3092\u963b\u6b62\u3067\u304d\u307e\u3059\u3002.<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>X11Forwarding yes\r\nX11DisplayOffset 10<\/code><\/pre>\n<\/div>\n<p>\u3053\u308c\u3089\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u306f\u3001X11\u8ee2\u9001\u3068\u547c\u3070\u308c\u308b\u6a5f\u80fd\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30ea\u30e2\u30fc\u30c8\u30b7\u30b9\u30c6\u30e0\u306e\u30b0\u30e9\u30d5\u30a3\u30ab\u30eb\u30e6\u30fc\u30b6\u30fc\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\uff08GUI\uff09\u3092\u30ed\u30fc\u30ab\u30eb\u30b7\u30b9\u30c6\u30e0\u3067\u8868\u793a\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u30b5\u30fc\u30d0\u30fc\u5074\u3067\u6709\u52b9\u306b\u3057\u3001SSH\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3067-X\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4f7f\u7528\u3057\u3066\u63a5\u7d9a\u3059\u308b\u969b\u306b\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u5909\u66f4\u3092\u52a0\u3048\u305f\u3089\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u3066\u9589\u3058\u3066\u304f\u3060\u3055\u3044\u3002nano\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001Ctrl+X\u3092\u62bc\u3057\u3001\u30d7\u30ed\u30f3\u30d7\u30c8\u304c\u8868\u793a\u3055\u308c\u305f\u3089Y\u3092\u62bc\u3057\u3066Enter\u3092\u62bc\u3057\u3066\u304f\u3060\u3055\u3044\u3002\/etc\/ssh\/sshd_config\u3067\u8a2d\u5b9a\u3092\u5909\u66f4\u3057\u305f\u5834\u5408\u306f\u3001\u5909\u66f4\u3092\u9069\u7528\u3059\u308b\u305f\u3081\u306bsshd\u30b5\u30fc\u30d0\u30fc\u3092\u30ea\u30ed\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>sudo systemctl reload ssh<\/code><\/pre>\n<\/div>\n<p>\u5909\u66f4\u304c\u671f\u5f85\u901a\u308a\u306b\u52d5\u4f5c\u3059\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u3001\u5fb9\u5e95\u7684\u306b\u30c6\u30b9\u30c8\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u5909\u66f4\u3092\u884c\u3046\u969b\u306f\u3001\u8907\u6570\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u958b\u3044\u3066\u304a\u304f\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u8a2d\u5b9a\u3092\u5143\u306b\u623b\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u304c\u3001\u30ed\u30c3\u30af\u30a2\u30a6\u30c8\u3055\u308c\u308b\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u3002.<\/p>\n<h2 id=\"%d9%86%d8%ad%d9%88%d9%87-%d9%88%d8%b1%d9%88%d8%af-%d8%a8%d9%87-ssh-%d8%a8%d8%a7-%da%a9%d9%84%db%8c%d8%af%d9%87%d8%a7\">\u9375\u3092\u4f7f\u3063\u3066SSH\u306b\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u65b9\u6cd5<\/h2>\n<p>\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u305f\u30ea\u30e2\u30fc\u30c8 \u30ed\u30b0\u30a4\u30f3\u306f\u4fbf\u5229\u3067\u3059\u304c\u3001\u30ad\u30fc\u30d9\u30fc\u30b9\u306e\u8a8d\u8a3c\u3092\u8a2d\u5b9a\u3059\u308b\u3068\u3088\u308a\u9ad8\u901f\u304b\u3064\u5b89\u5168\u306b\u306a\u308a\u307e\u3059\u3002.<\/p>\n<h5 id=\"%d8%a7%d8%ad%d8%b1%d8%a7%d8%b2-%d9%87%d9%88%db%8c%d8%aa-%d9%85%d8%a8%d8%aa%d9%86%db%8c-%d8%a8%d8%b1-%da%a9%d9%84%db%8c%d8%af-%da%86%da%af%d9%88%d9%86%d9%87-%da%a9%d8%a7%d8%b1-%d9%85%db%8c-%da%a9%d9%86\">\u30ad\u30fc\u30d9\u30fc\u30b9\u306e\u8a8d\u8a3c\u306f\u3069\u306e\u3088\u3046\u306b\u6a5f\u80fd\u3057\u307e\u3059\u304b?<\/h5>\n<p>\u30ad\u30fc\u30d9\u30fc\u30b9\u8a8d\u8a3c\u306f\u3001\u79d8\u5bc6\u9375\u3068\u516c\u958b\u9375\u3068\u3044\u30462\u3064\u306e\u9375\u30da\u30a2\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3067\u6a5f\u80fd\u3057\u307e\u3059\u3002\u79d8\u5bc6\u9375\u306f\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30de\u30b7\u30f3\u4e0a\u306b\u4fdd\u5b58\u3055\u308c\u3001\u5b89\u5168\u306b\u79d8\u5bc6\u306b\u4fdd\u7ba1\u3055\u308c\u307e\u3059\u3002\u516c\u958b\u9375\u306f\u8ab0\u306b\u3067\u3082\u516c\u958b\u3067\u304d\u307e\u3059\u3057\u3001\u30a2\u30af\u30bb\u30b9\u3057\u305f\u3044\u4efb\u610f\u306e\u30b5\u30fc\u30d0\u30fc\u4e0a\u306b\u914d\u7f6e\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u30ad\u30fc\u30da\u30a2\u3092\u4f7f\u7528\u3057\u3066\u63a5\u7d9a\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3001\u30b5\u30fc\u30d0\u30fc\u306f\u516c\u958b\u9375\u3092\u4f7f\u7528\u3057\u3066\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u5b9b\u3066\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u79d8\u5bc6\u9375\u3067\u306e\u307f\u8aad\u307f\u53d6\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u306f\u9069\u5207\u306a\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u30b5\u30fc\u30d0\u30fc\u306b\u9001\u4fe1\u3057\u3001\u30b5\u30fc\u30d0\u30fc\u306f\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304c\u6b63\u5f53\u306a\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3067\u3042\u308b\u3053\u3068\u3092\u8a8d\u8b58\u3057\u307e\u3059\u3002\u3053\u306e\u30d7\u30ed\u30bb\u30b9\u306f\u3001\u9375\u3092\u8a2d\u5b9a\u3059\u308b\u3068\u81ea\u52d5\u7684\u306b\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002.<\/p>\n<h5 id=\"%d9%86%d8%ad%d9%88%d9%87-%d8%a7%db%8c%d8%ac%d8%a7%d8%af-%da%a9%d9%84%db%8c%d8%af%d9%87%d8%a7%db%8c-ssh\">SSH\u30ad\u30fc\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5<\/h5>\n<p>SSH\u30ad\u30fc\u306f\u3001\u30ed\u30b0\u30a4\u30f3\u5143\u306e\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u4e0a\u306b\u4f5c\u6210\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u901a\u5e38\u306f\u30ed\u30fc\u30ab\u30eb\u30de\u30b7\u30f3\u3067\u3059\u3002.<\/p>\n<p>\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u306b\u6b21\u306e\u3088\u3046\u306b\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>ssh-keygen -t rsa<\/code><\/pre>\n<\/div>\n<p>\u9375\u30d5\u30a1\u30a4\u30eb\u81ea\u4f53\u306b\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3059\u308b\u3088\u3046\u6c42\u3081\u3089\u308c\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u3053\u308c\u306f\u3042\u307e\u308a\u4e00\u822c\u7684\u3067\u306f\u306a\u3044\u305f\u3081\u3001\u30b3\u30de\u30f3\u30c9\u3092Enter\u30ad\u30fc\u3092\u62bc\u3057\u3066\u30c7\u30d5\u30a9\u30eb\u30c8\u8a2d\u5b9a\u3092\u53d7\u3051\u5165\u308c\u308b\u3088\u3046\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u9375\u306f~\/.ssh\/id_rsa.pub\u3068~\/.ssh\/id_rsa\u306b\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002.<\/p>\n<p>\u6b21\u306e\u30b3\u30fc\u30c9\u3092\u5165\u529b\u3057\u3066\u3001.ssh \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>cd ~\/.ssh<\/code><\/pre>\n<\/div>\n<p>\u30d5\u30a1\u30a4\u30eb\u306e\u6a29\u9650\u3092\u78ba\u8a8d\u3057\u307e\u3059:<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>ls -l<\/code><\/pre>\n<\/div>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>Output\r\n-rw-r--r-- 1 demo demo 807 Sep 9 22:15 authorized_keys\r\n-rw------- 1 demo demo 1679 Sep 9 23:13 id_rsa\r\n-rw-r--r-- 1 demo demo 396 Sep 9 23:13 id_rsa.pub<\/code><\/pre>\n<\/div>\n<p>\u3054\u89a7\u306e\u3068\u304a\u308a\u3001id_rsa\u30d5\u30a1\u30a4\u30eb\u306f\u6240\u6709\u8005\u306e\u307f\u304c\u8aad\u307f\u66f8\u304d\u53ef\u80fd\u3067\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u79d8\u5bc6\u6027\u304c\u4fdd\u305f\u308c\u307e\u3059\u3002.<\/p>\n<p>\u305f\u3060\u3057\u3001id_rsa.pub \u30d5\u30a1\u30a4\u30eb\u306f\u5171\u6709\u53ef\u80fd\u3067\u3042\u308a\u3001\u3053\u306e\u30a2\u30af\u30c6\u30a3\u30d3\u30c6\u30a3\u306b\u5bfe\u3059\u308b\u9069\u5207\u306a\u6a29\u9650\u304c\u3042\u308a\u307e\u3059\u3002.<\/p>\n<h5 id=\"%d9%86%d8%ad%d9%88%d9%87-%d8%a7%d9%86%d8%aa%d9%82%d8%a7%d9%84-%da%a9%d9%84%db%8c%d8%af-%d8%b9%d9%85%d9%88%d9%85%db%8c-%d8%a8%d9%87-%d8%b3%d8%b1%d9%88%d8%b1\">\u516c\u958b\u9375\u3092\u30b5\u30fc\u30d0\u30fc\u306b\u8ee2\u9001\u3059\u308b\u65b9\u6cd5<\/h5>\n<p>\u73fe\u5728\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u30d9\u30fc\u30b9\u306e\u30b5\u30fc\u30d0\u30fc\u3078\u306e\u30a2\u30af\u30bb\u30b9\u6a29\u9650\u3092\u6301\u3063\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u767a\u884c\u3057\u3066\u516c\u958b\u9375\u3092\u30b5\u30fc\u30d0\u30fc\u306b\u30b3\u30d4\u30fc\u3067\u304d\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>ssh-copy-id remote_host<\/code><\/pre>\n<\/div>\n<p>\u3053\u308c\u306b\u3088\u308aSSH\u30bb\u30c3\u30b7\u30e7\u30f3\u304c\u958b\u59cb\u3055\u308c\u307e\u3059\u3002\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3059\u308b\u3068\u3001\u516c\u958b\u9375\u304c\u30b5\u30fc\u30d0\u30fc\u306e\u8a8d\u8a3c\u6e08\u307f\u9375\u30d5\u30a1\u30a4\u30eb\u306b\u30b3\u30d4\u30fc\u3055\u308c\u3001\u6b21\u56de\u304b\u3089\u306f\u30d1\u30b9\u30ef\u30fc\u30c9\u306a\u3057\u3067\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002.<\/p>\n<h2 id=\"%da%af%d8%b2%db%8c%d9%86%d9%87-%d9%87%d8%a7%db%8c-%d8%b3%d9%85%d8%aa-%da%a9%d9%84%d8%a7%db%8c%d9%86%d8%aa\">\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u306e\u30aa\u30d7\u30b7\u30e7\u30f3<\/h2>\n<p>SSH\u63a5\u7d9a\u6642\u306b\u6307\u5b9a\u3067\u304d\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u30b3\u30de\u30f3\u30c9\u304c\u3044\u304f\u3064\u304b\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u30b3\u30de\u30f3\u30c9\u306e\u4e00\u90e8\u306f\u3001\u30ea\u30e2\u30fc\u30c8\u30db\u30b9\u30c8\u306esshd\u8a2d\u5b9a\u3068\u4e00\u81f4\u3055\u305b\u308b\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002.<\/p>\n<p>\u305f\u3068\u3048\u3070\u3001sshd \u8a2d\u5b9a\u3067\u30dd\u30fc\u30c8\u756a\u53f7\u3092\u5909\u66f4\u3057\u305f\u5834\u5408\u306f\u3001\u6b21\u306e\u3088\u3046\u306b\u5165\u529b\u3057\u3066\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u3067\u305d\u306e\u30dd\u30fc\u30c8\u3092\u4e00\u81f4\u3055\u305b\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>ssh -p port_number remote_host<\/code><\/pre>\n<\/div>\n<p>\u30ea\u30e2\u30fc\u30c8 \u30b7\u30b9\u30c6\u30e0\u3067\u30b3\u30de\u30f3\u30c9\u3092 1 \u3064\u3060\u3051\u5b9f\u884c\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u6b21\u306e\u3088\u3046\u306b\u30db\u30b9\u30c8\u306e\u5f8c\u306b\u30b3\u30de\u30f3\u30c9\u3092\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>ssh remote_host command_to_run<\/code><\/pre>\n<\/div>\n<p>\u30ea\u30e2\u30fc\u30c8 \u30c7\u30d0\u30a4\u30b9\u306b\u63a5\u7d9a\u3057\u3001\u8a8d\u8a3c\u3059\u308b\u3068\u3001\u30b3\u30de\u30f3\u30c9\u304c\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002.<\/p>\n<p>\u524d\u8ff0\u3057\u305f\u3088\u3046\u306b\u3001\u4e21\u65b9\u306e\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u3067 X11 \u8ee2\u9001\u304c\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u6b21\u306e\u3088\u3046\u306b\u5165\u529b\u3057\u3066\u305d\u306e\u6a5f\u80fd\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>ssh -X remote_host<\/code><\/pre>\n<\/div>\n<p>\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306b\u9069\u5207\u306a\u30c4\u30fc\u30eb\u304c\u3042\u308c\u3070\u3001\u30ea\u30e2\u30fc\u30c8 \u30b7\u30b9\u30c6\u30e0\u3067\u4f7f\u7528\u3059\u308b GUI \u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u3001\u30ed\u30fc\u30ab\u30eb \u30b7\u30b9\u30c6\u30e0\u3067\u72ec\u81ea\u306e\u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u958b\u304f\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002.<\/p>\n<h2 id=\"%d8%ba%db%8c%d8%b1%d9%81%d8%b9%d8%a7%d9%84-%da%a9%d8%b1%d8%af%d9%86-%d8%a7%d8%ad%d8%b1%d8%a7%d8%b2-%d9%87%d9%88%db%8c%d8%aa-%d8%b1%d9%85%d8%b2-%d8%b9%d8%a8%d9%88%d8%b1\">\u30d1\u30b9\u30ef\u30fc\u30c9\u8a8d\u8a3c\u3092\u7121\u52b9\u306b\u3059\u308b<\/h2>\n<p>SSH\u30ad\u30fc\u3092\u4f5c\u6210\u3057\u305f\u5834\u5408\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u307f\u306e\u8a8d\u8a3c\u3092\u7121\u52b9\u306b\u3059\u308b\u3053\u3068\u3067\u30b5\u30fc\u30d0\u30fc\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3092\u5f37\u5316\u3067\u304d\u307e\u3059\u3002\u30b3\u30f3\u30bd\u30fc\u30eb\u4ee5\u5916\u3067\u306f\u3001\u30b5\u30fc\u30d0\u30fc\u306b\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u552f\u4e00\u306e\u65b9\u6cd5\u306f\u3001\u30b5\u30fc\u30d0\u30fc\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u516c\u958b\u9375\u3068\u30da\u30a2\u306b\u306a\u3063\u3066\u3044\u308b\u79d8\u5bc6\u9375\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002.<\/p>\n<p>root \u307e\u305f\u306f sudo \u6a29\u9650\u3092\u6301\u3064\u30e6\u30fc\u30b6\u30fc\u3068\u3057\u3066\u3001sshd \u69cb\u6210\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304d\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>sudo nano \/etc\/ssh\/sshd_config<\/code><\/pre>\n<\/div>\n<p>\u300cpassword authentication\u300d\u3068\u3044\u3046\u884c\u3092\u63a2\u3057\u3001\u5148\u982d\u306e#\u3092\u524a\u9664\u3057\u3066\u524a\u9664\u3057\u307e\u3059\u3002\u305d\u306e\u5f8c\u3001\u5024\u3092\u300cno\u300d\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>PasswordAuthentication no<\/code><\/pre>\n<\/div>\n<p>\u5909\u66f4\u3059\u308b\u5fc5\u8981\u306e\u306a\u3044\u4ed6\u306e2\u3064\u306e\u8a2d\u5b9a\u306f\uff08\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u307e\u3060\u5909\u66f4\u3057\u3066\u3044\u306a\u3044\u3068\u4eee\u5b9a\u3057\u307e\u3059\uff09\u3001PubkeyAuthentication\u3068ChallengeResponseAuthentication\u3067\u3059\u3002\u3053\u308c\u3089\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u8a2d\u5b9a\u3055\u308c\u3066\u304a\u308a\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8aad\u307f\u8fbc\u307e\u308c\u307e\u3059\u3002<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>PubkeyAuthentication yes\r\nChallengeResponseAuthentication no<\/code><\/pre>\n<\/div>\n<p>\u5909\u66f4\u3092\u52a0\u3048\u305f\u3089\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u3066\u9589\u3058\u307e\u3059\u3002.<\/p>\n<p>SSH \u30c7\u30fc\u30e2\u30f3\u3092\u30ea\u30ed\u30fc\u30c9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<div class=\"hcb_wrap\" data-no-translation=\"\" data-no-auto-translation=\"\">\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>sudo systemctl reload ssh<\/code><\/pre>\n<\/div>\n<p>\u3053\u308c\u3067\u30d1\u30b9\u30ef\u30fc\u30c9\u8a8d\u8a3c\u306f\u7121\u52b9\u306b\u306a\u308a\u3001\u30b5\u30fc\u30d0\u30fc\u306f SSH \u30ad\u30fc\u8a8d\u8a3c\u7d4c\u7531\u3067\u306e\u307f\u30a2\u30af\u30bb\u30b9\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002.<\/p>\n<h2 id=\"%d9%86%d8%aa%db%8c%d8%ac%d9%87\">\u7d50\u679c<\/h2>\n<p>SSH\u306e\u4f7f\u3044\u65b9\u3092\u5b66\u3076\u3053\u3068\u306f\u3001\u4eca\u5f8c\u306e\u30af\u30e9\u30a6\u30c9\u30b3\u30f3\u30d4\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u306e\u53d6\u308a\u7d44\u307f\u306b\u975e\u5e38\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002\u69d8\u3005\u306a\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4f7f\u3044\u3053\u306a\u3057\u3066\u3044\u304f\u3046\u3061\u306b\u3001\u3088\u308a\u9ad8\u5ea6\u306a\u6a5f\u80fd\u3092\u767a\u898b\u3057\u3001\u4f5c\u696d\u304c\u697d\u306b\u306a\u308b\u3067\u3057\u3087\u3046\u3002SSH\u306f\u5b89\u5168\u3067\u8efd\u91cf\u3001\u305d\u3057\u3066\u69d8\u3005\u306a\u72b6\u6cc1\u3067\u5f79\u7acb\u3064\u3053\u3068\u304b\u3089\u3001\u4eba\u6c17\u304c\u8870\u3048\u3066\u3044\u307e\u305b\u3093\u3002.<\/p>","protected":false},"excerpt":{"rendered":"\u306f\u3058\u3081\u306b \u30b7\u30b9\u30c6\u30e0\u7ba1\u7406\u8005\u3068\u3057\u3066\u7fd2\u5f97\u3059\u3079\u304d\u5fc5\u9808\u30c4\u30fc\u30eb\u306e\u4e00\u3064\u304cSSH\u3067\u3059\u3002SSH\uff08Secure Shell\uff09\u3068\u306f\u2026","protected":false},"author":1,"featured_media":14680,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_yoast_wpseo_focuskw":"\u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 SSH \u0628\u0631\u0627\u06cc \u0627\u062a\u0635\u0627\u0644 \u0628\u0647 \u0633\u0631\u0648\u0631","_yoast_wpseo_title":"","_yoast_wpseo_metadesc":"","_yoast_wpseo_canonical":"","_yoast_wpseo_opengraph-description":"","_yoast_wpseo_opengraph-image":"","_yoast_wpseo_twitter-description":"","_yoast_wpseo_twitter-image":"","_yoast_wpseo_focuskeywords":"","_yoast_wpseo_primary_category":"193","footnotes":""},"categories":[193,204],"tags":[393,226],"class_list":{"0":"post-14678","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-tutorials","8":"category-servers","9":"tag-ssh","10":"tag-226"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u0646\u062d\u0648\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 SSH \u0628\u0631\u0627\u06cc \u0627\u062a\u0635\u0627\u0644 \u0628\u0647 \u0633\u0631\u0648\u0631 \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631 - \u0628\u0644\u0627\u06af ITPiran<\/title>\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.itpiran.net\/blog\/ja\/tutorials\/how-to-use-ssh-to-connect-to-a-remote-server\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0646\u062d\u0648\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 SSH \u0628\u0631\u0627\u06cc \u0627\u062a\u0635\u0627\u0644 \u0628\u0647 \u0633\u0631\u0648\u0631 \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631 - \u0628\u0644\u0627\u06af ITPiran\" \/>\n<meta property=\"og:description\" content=\"\u0645\u0642\u062f\u0645\u0647 \u06cc\u06a9\u06cc \u0627\u0632 \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc \u0636\u0631\u0648\u0631\u06cc \u0628\u0631\u0627\u06cc \u062a\u0633\u0644\u0637 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06cc\u06a9 \u0645\u062f\u06cc\u0631 \u0633\u06cc\u0633\u062a\u0645 SSH \u0627\u0633\u062a. SSH \u06cc\u0627 Secure Shell&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.itpiran.net\/blog\/ja\/tutorials\/how-to-use-ssh-to-connect-to-a-remote-server\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0628\u0644\u0627\u06af ITPiran\" \/>\n<meta property=\"article:published_time\" content=\"2024-02-03T15:34:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-04T06:06:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.itpiran.net\/2024\/02\/03190304\/SSH-BG.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1793\" \/>\n\t<meta property=\"og:image:height\" content=\"1110\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\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=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-ssh-to-connect-to-a-remote-server\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-ssh-to-connect-to-a-remote-server\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/person\\\/04ed27b919baca468a2273f8e4318f81\"},\"headline\":\"\u0646\u062d\u0648\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 SSH \u0628\u0631\u0627\u06cc \u0627\u062a\u0635\u0627\u0644 \u0628\u0647 \u0633\u0631\u0648\u0631 \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631\",\"datePublished\":\"2024-02-03T15:34:45+00:00\",\"dateModified\":\"2024-02-04T06:06:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-ssh-to-connect-to-a-remote-server\\\/\"},\"wordCount\":102,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-ssh-to-connect-to-a-remote-server\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/02\\\/03190304\\\/SSH-BG.jpg\",\"keywords\":[\"SSH\",\"\u0633\u0631\u0648\u0631\"],\"articleSection\":[\"\u0622\u0645\u0648\u0632\u0634\u06cc\",\"\u0633\u0631\u0648\u0631\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-ssh-to-connect-to-a-remote-server\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-ssh-to-connect-to-a-remote-server\\\/\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-ssh-to-connect-to-a-remote-server\\\/\",\"name\":\"\u0646\u062d\u0648\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 SSH \u0628\u0631\u0627\u06cc \u0627\u062a\u0635\u0627\u0644 \u0628\u0647 \u0633\u0631\u0648\u0631 \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631 - \u0628\u0644\u0627\u06af ITPiran\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-ssh-to-connect-to-a-remote-server\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-ssh-to-connect-to-a-remote-server\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/02\\\/03190304\\\/SSH-BG.jpg\",\"datePublished\":\"2024-02-03T15:34:45+00:00\",\"dateModified\":\"2024-02-04T06:06:25+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-ssh-to-connect-to-a-remote-server\\\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-ssh-to-connect-to-a-remote-server\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-ssh-to-connect-to-a-remote-server\\\/#primaryimage\",\"url\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/02\\\/03190304\\\/SSH-BG.jpg\",\"contentUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/02\\\/03190304\\\/SSH-BG.jpg\",\"width\":1793,\"height\":1110},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/how-to-use-ssh-to-connect-to-a-remote-server\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0622\u0645\u0648\u0632\u0634\u06cc\",\"item\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/category\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"\u0646\u062d\u0648\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 SSH \u0628\u0631\u0627\u06cc \u0627\u062a\u0635\u0627\u0644 \u0628\u0647 \u0633\u0631\u0648\u0631 \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/\",\"name\":\"\u0628\u0644\u0627\u06af ITPiran\",\"description\":\"\u0627\u062e\u0628\u0627\u0631 \u0648 \u0645\u0642\u0627\u0644\u0627\u062a \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#organization\",\"name\":\"\u0628\u0644\u0627\u06af \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646\",\"alternateName\":\"ITPIran Blog\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/cdn.itpiran.net\\\/2023\\\/12\\\/27150508\\\/cropped-ITPIRAN-BLOG-LOGO-2.png\",\"contentUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2023\\\/12\\\/27150508\\\/cropped-ITPIRAN-BLOG-LOGO-2.png\",\"width\":512,\"height\":512,\"caption\":\"\u0628\u0644\u0627\u06af \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646\"},\"image\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/person\\\/04ed27b919baca468a2273f8e4318f81\",\"name\":\"admin\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/ja\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SSH\u3092\u4f7f\u3063\u3066\u30ea\u30e2\u30fc\u30c8\u30b5\u30fc\u30d0\u30fc\u306b\u63a5\u7d9a\u3059\u308b\u65b9\u6cd5 - ITPiran Blog","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.itpiran.net\/blog\/ja\/tutorials\/how-to-use-ssh-to-connect-to-a-remote-server\/","og_locale":"ja_JP","og_type":"article","og_title":"\u0646\u062d\u0648\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 SSH \u0628\u0631\u0627\u06cc \u0627\u062a\u0635\u0627\u0644 \u0628\u0647 \u0633\u0631\u0648\u0631 \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631 - \u0628\u0644\u0627\u06af ITPiran","og_description":"\u0645\u0642\u062f\u0645\u0647 \u06cc\u06a9\u06cc \u0627\u0632 \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc \u0636\u0631\u0648\u0631\u06cc \u0628\u0631\u0627\u06cc \u062a\u0633\u0644\u0637 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06cc\u06a9 \u0645\u062f\u06cc\u0631 \u0633\u06cc\u0633\u062a\u0645 SSH \u0627\u0633\u062a. SSH \u06cc\u0627 Secure Shell&hellip;","og_url":"https:\/\/www.itpiran.net\/blog\/ja\/tutorials\/how-to-use-ssh-to-connect-to-a-remote-server\/","og_site_name":"\u0628\u0644\u0627\u06af ITPiran","article_published_time":"2024-02-03T15:34:45+00:00","article_modified_time":"2024-02-04T06:06:25+00:00","og_image":[{"width":1793,"height":1110,"url":"https:\/\/cdn.itpiran.net\/2024\/02\/03190304\/SSH-BG.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"admin","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-ssh-to-connect-to-a-remote-server\/#article","isPartOf":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-ssh-to-connect-to-a-remote-server\/"},"author":{"name":"admin","@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/person\/04ed27b919baca468a2273f8e4318f81"},"headline":"\u0646\u062d\u0648\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 SSH \u0628\u0631\u0627\u06cc \u0627\u062a\u0635\u0627\u0644 \u0628\u0647 \u0633\u0631\u0648\u0631 \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631","datePublished":"2024-02-03T15:34:45+00:00","dateModified":"2024-02-04T06:06:25+00:00","mainEntityOfPage":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-ssh-to-connect-to-a-remote-server\/"},"wordCount":102,"commentCount":0,"publisher":{"@id":"https:\/\/www.itpiran.net\/blog\/#organization"},"image":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-ssh-to-connect-to-a-remote-server\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.itpiran.net\/2024\/02\/03190304\/SSH-BG.jpg","keywords":["SSH","\u0633\u0631\u0648\u0631"],"articleSection":["\u0622\u0645\u0648\u0632\u0634\u06cc","\u0633\u0631\u0648\u0631"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-ssh-to-connect-to-a-remote-server\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-ssh-to-connect-to-a-remote-server\/","url":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-ssh-to-connect-to-a-remote-server\/","name":"SSH\u3092\u4f7f\u3063\u3066\u30ea\u30e2\u30fc\u30c8\u30b5\u30fc\u30d0\u30fc\u306b\u63a5\u7d9a\u3059\u308b\u65b9\u6cd5 - ITPiran Blog","isPartOf":{"@id":"https:\/\/www.itpiran.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-ssh-to-connect-to-a-remote-server\/#primaryimage"},"image":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-ssh-to-connect-to-a-remote-server\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.itpiran.net\/2024\/02\/03190304\/SSH-BG.jpg","datePublished":"2024-02-03T15:34:45+00:00","dateModified":"2024-02-04T06:06:25+00:00","breadcrumb":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-ssh-to-connect-to-a-remote-server\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-ssh-to-connect-to-a-remote-server\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-ssh-to-connect-to-a-remote-server\/#primaryimage","url":"https:\/\/cdn.itpiran.net\/2024\/02\/03190304\/SSH-BG.jpg","contentUrl":"https:\/\/cdn.itpiran.net\/2024\/02\/03190304\/SSH-BG.jpg","width":1793,"height":1110},{"@type":"BreadcrumbList","@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/how-to-use-ssh-to-connect-to-a-remote-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.itpiran.net\/blog\/"},{"@type":"ListItem","position":2,"name":"\u0622\u0645\u0648\u0632\u0634\u06cc","item":"https:\/\/www.itpiran.net\/blog\/category\/tutorials\/"},{"@type":"ListItem","position":3,"name":"\u0646\u062d\u0648\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 SSH \u0628\u0631\u0627\u06cc \u0627\u062a\u0635\u0627\u0644 \u0628\u0647 \u0633\u0631\u0648\u0631 \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631"}]},{"@type":"WebSite","@id":"https:\/\/www.itpiran.net\/blog\/#website","url":"https:\/\/www.itpiran.net\/blog\/","name":"ITPiran\u30d6\u30ed\u30b0","description":"\u30a4\u30e9\u30f3\u306e\u6301\u7d9a\u53ef\u80fd\u306a\u8cbf\u6613\u306b\u95a2\u3059\u308b\u30cb\u30e5\u30fc\u30b9\u3068\u8a18\u4e8b","publisher":{"@id":"https:\/\/www.itpiran.net\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.itpiran.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/www.itpiran.net\/blog\/#organization","name":"\u6301\u7d9a\u53ef\u80fd\u306a\u30a4\u30e9\u30f3\u30d3\u30b8\u30cd\u30b9\u30d6\u30ed\u30b0","alternateName":"ITPIran Blog","url":"https:\/\/www.itpiran.net\/blog\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdn.itpiran.net\/2023\/12\/27150508\/cropped-ITPIRAN-BLOG-LOGO-2.png","contentUrl":"https:\/\/cdn.itpiran.net\/2023\/12\/27150508\/cropped-ITPIRAN-BLOG-LOGO-2.png","width":512,"height":512,"caption":"\u0628\u0644\u0627\u06af \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646"},"image":{"@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/person\/04ed27b919baca468a2273f8e4318f81","name":"\u7ba1\u7406\u8005","url":"https:\/\/www.itpiran.net\/blog\/ja\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/posts\/14678","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/comments?post=14678"}],"version-history":[{"count":1,"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/posts\/14678\/revisions"}],"predecessor-version":[{"id":14679,"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/posts\/14678\/revisions\/14679"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/media\/14680"}],"wp:attachment":[{"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/media?parent=14678"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/categories?post=14678"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/ja\/wp-json\/wp\/v2\/tags?post=14678"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}