{"id":3860,"date":"2025-04-23T02:39:48","date_gmt":"2025-04-22T17:39:48","guid":{"rendered":"https:\/\/www.dogrow.net\/linux\/?p=3860"},"modified":"2025-05-22T20:57:50","modified_gmt":"2025-05-22T11:57:50","slug":"blog166-ubuntu24-04%e3%81%a7ssh%e3%82%b5%e3%83%bc%e3%83%90%e3%82%92%e3%82%a2%e3%83%b3%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.dogrow.net\/linux\/blog166-ubuntu24-04%e3%81%a7ssh%e3%82%b5%e3%83%bc%e3%83%90%e3%82%92%e3%82%a2%e3%83%b3%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e3%80%82\/","title":{"rendered":"(166) Ubuntu24.04\u3067SSH\u30b5\u30fc\u30d0\u3092\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002"},"content":{"rendered":"<h1 class=\"my_h\">\u30101\u3011\u3084\u308a\u305f\u3044\u3053\u3068<\/h1>\n<p>\u4e0d\u8981\u306b\u306a\u3063\u305f OpenSSH Server\u3092\u524a\u9664\u3057\u305f\u3044\u3002<br \/>\n\u524a\u9664\u5bfe\u8c61\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u3001Ubuntu24.04\u4e0a\u306e APT\uff08Advanced Package Tool\uff09\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u3082\u306e\u3068\u3059\u308b\u3002<\/p>\n<h1 class=\"my_h\">\u30102\u3011\u3084\u3063\u3066\u307f\u308b<\/h1>\n<p>\u7279\u7b46\u3059\u3079\u304d\u3053\u3068\u306f\u306a\u3044\u3002\u5f8c\u65e5\u306e\u30b3\u30d4\u30da\u7528\u306b\u66f8\u3044\u3066\u304a\u304f\u3002<\/p>\n<p><span class=\"my_fc_deeppinkB\">&#45;&#45;purge<\/span> \u6307\u5b9a\uff08\uff1d\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u542b\u3081\u3066\u5b8c\u5168\u524a\u9664\u3092\u6307\u5b9a\uff09\u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<\/p>\n<pre class=\"my_pre_bgBlack\" style=\"margin:0\">\r\n$ <span class='my_fc_yellow'>sudo apt remove --purge openssh-server<\/span>\r\n<\/pre>\n<p>or<\/p>\n<pre class=\"my_pre_bgBlack\" style=\"margin:0\">\r\n$ <span class='my_fc_yellow'>sudo apt purge openssh-server<\/span>\r\n<\/pre>\n<p>APT\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3067\u3082 purge \u306f remove &#45;&#45;purge \u306b\u30de\u30c3\u30d4\u30f3\u30b0\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u4e21\u8005\u306f\u307e\u3063\u305f\u304f\u540c\u3058\u52d5\u4f5c\u3092\u3059\u308b\u3002<\/p>\n<p>\u7d9a\u3051\u3066\u3001\u4e0d\u8981\u306a\u4f9d\u5b58\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u524a\u9664\u3059\u308b\u3002<\/p>\n<pre class=\"my_pre_bgBlack\">\r\n$ <span class='my_fc_yellow'>sudo apt autoremove<\/span>\r\n<\/pre>\n<p>\u3053\u306e\u3068\u304d\u3001<span class=\"my_fc_crimsonBBig\">\u4e0d\u8981\u306a\u4f9d\u5b58\u30d1\u30c3\u30b1\u30fc\u30b8<\/span> \u306e\u5224\u65ad\u57fa\u6e96\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3002<\/p>\n<p><span class=\"my_fs_big1\">\u3010\u524a\u9664\u57fa\u6e961\u3011\u30e6\u30fc\u30b6\u30fc\u304c\u660e\u793a\u7684\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u306f\u306a\u3044\u3053\u3068\u3002<\/span><br \/>\n\u3064\u307e\u308a\u3001\u81ea\u52d5\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u4f9d\u5b58\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u3042\u308b\u3053\u3068\u3002<br \/>\n\u4f8b\u3048\u3070\u3001\u3042\u308b\u30d1\u30c3\u30b1\u30fc\u30b8 A \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u304d\u306b\u3001\u81ea\u52d5\u7684\u306b\u4f9d\u5b58\u30d1\u30c3\u30b1\u30fc\u30b8 B \u3082\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u3068\u3059\u308b\u3002<br \/>\n\u5f8c\u306b\u30d1\u30c3\u30b1\u30fc\u30b8 A \u3092\u524a\u9664\u3059\u308b\u3068\u3001\u305d\u306e\u4f9d\u5b58\u3060\u3063\u305f\u30d1\u30c3\u30b1\u30fc\u30b8 B \u306f\u3082\u306f\u3084\u660e\u793a\u7684\u306b\u306f\u5fc5\u8981\u306a\u3044\u3068\u307f\u306a\u3055\u308c\u308b\u3002<br \/>\n\u660e\u793a\u7684\u306b apt install \u30d1\u30c3\u30b1\u30fc\u30b8\u540d \u306a\u3069\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u3001\u81ea\u52d5\u524a\u9664\u306e\u5bfe\u8c61\u5916\u3068\u306a\u308b\u3002<\/p>\n<p><span class=\"my_fs_big1\">\u3010\u524a\u9664\u57fa\u6e962\u3011\u4ed6\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u4f9d\u5b58\u3055\u308c\u3066\u3044\u306a\u3044\u3053\u3068\u3002<\/span><br \/>\n\u73fe\u5728\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u3069\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u304b\u3089\u3082\u4f9d\u5b58\u3055\u308c\u3066\u3044\u306a\u3044\u3082\u306e\u304c\u5bfe\u8c61\u306b\u306a\u308b\u3002<\/p>\n<p>\u6700\u5f8c\u306b\u3001\u524a\u9664\u3067\u304d\u305f\u3053\u3068\u3092\u78ba\u8a8d\u3059\u308b\u3002<\/p>\n<pre class=\"my_pre_bgBlack\">\r\n$ <span class='my_fc_yellow'>systemctl status ssh<\/span>\r\n<\/pre>\n<hr class=\"my_hr_bottom\">\n","protected":false},"excerpt":{"rendered":"<p>\u30101\u3011\u3084\u308a\u305f\u3044\u3053\u3068 \u4e0d\u8981\u306b\u306a\u3063\u305f OpenSSH Server\u3092\u524a\u9664\u3057\u305f\u3044\u3002 \u524a\u9664\u5bfe\u8c61\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u3001Ubuntu24.04\u4e0a\u306e APT\uff08Advanced Package Tool\uff09\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.dogrow.net\/linux\/blog166-ubuntu24-04%e3%81%a7ssh%e3%82%b5%e3%83%bc%e3%83%90%e3%82%92%e3%82%a2%e3%83%b3%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%e3%80%82\/\">\u7d9a\u304d\u3092\u8aad\u3080 &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[152,39],"tags":[],"class_list":["post-3860","post","type-post","status-publish","format-standard","hentry","category-apt","category-39"],"views":1685,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.dogrow.net\/linux\/wp-json\/wp\/v2\/posts\/3860","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dogrow.net\/linux\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dogrow.net\/linux\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dogrow.net\/linux\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dogrow.net\/linux\/wp-json\/wp\/v2\/comments?post=3860"}],"version-history":[{"count":22,"href":"https:\/\/www.dogrow.net\/linux\/wp-json\/wp\/v2\/posts\/3860\/revisions"}],"predecessor-version":[{"id":3935,"href":"https:\/\/www.dogrow.net\/linux\/wp-json\/wp\/v2\/posts\/3860\/revisions\/3935"}],"wp:attachment":[{"href":"https:\/\/www.dogrow.net\/linux\/wp-json\/wp\/v2\/media?parent=3860"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dogrow.net\/linux\/wp-json\/wp\/v2\/categories?post=3860"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dogrow.net\/linux\/wp-json\/wp\/v2\/tags?post=3860"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}