{"id":14340,"date":"2023-08-27T16:40:43","date_gmt":"2023-08-27T07:40:43","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=14340"},"modified":"2023-08-27T16:52:48","modified_gmt":"2023-08-27T07:52:48","slug":"debian-12","status":"publish","type":"post","link":"https:\/\/lab4ict.com\/system\/archives\/14340","title":{"rendered":"OpenSSH\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01\uff08Debian 12\uff09"},"content":{"rendered":"<p>Debian 12\u306b\u3001OpenSSH\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<br \/>\n<!--more--><\/p>\n<h2>\u52d5\u4f5c\u78ba\u8a8d\u3057\u305f\u74b0\u5883\u3092\u78ba\u8a8d\u3059\u308b\uff01<\/h2>\n<p>\u52d5\u4f5c\u78ba\u8a8d\u3057\u305f\u74b0\u5883\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ hostnamectl\r\n Static hostname: vmsdeb02\r\n       Icon name: computer-vm\r\n         Chassis: vm \ud83d\uddb4\r\n      Machine ID: d4da43afd557413bafb2c5c34a63131d\r\n         Boot ID: 92301b84c4554ddfb96a752c450dcb84\r\n  Virtualization: oracle\r\nOperating System: Debian GNU\/Linux 12 (bookworm)  \r\n          Kernel: Linux 6.1.0-11-amd64\r\n    Architecture: x86-64\r\n Hardware Vendor: innotek GmbH\r\n  Hardware Model: VirtualBox\r\nFirmware Version: VirtualBox\r\n<\/pre>\n<h2>OpenSSH\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01<\/h2>\n<p>root\u30e6\u30fc\u30b6\u3067\u3001\u6a19\u6e96\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089OpenSSH\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# apt install openssh-server\r\nReading package lists... Done\r\nBuilding dependency tree... Done\r\nReading state information... Done\r\nThe following additional packages will be installed:\r\n  openssh-sftp-server runit-helper\r\nSuggested packages:\r\n  molly-guard monkeysphere ssh-askpass ufw\r\nThe following NEW packages will be installed:\r\n  openssh-server openssh-sftp-server runit-helper\r\n0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.\r\nNeed to get 527 kB of archives.\r\nAfter this operation, 2,214 kB of additional disk space will be used.\r\nDo you want to continue? &#x5B;Y\/n] \r\nGet:1 http:\/\/deb.debian.org\/debian bookworm\/main amd64 openssh-sftp-server amd64 1:9.2p1-2 &#x5B;65.4 kB]\r\nGet:2 http:\/\/deb.debian.org\/debian bookworm\/main amd64 runit-helper all 2.15.2 &#x5B;6,520 B]\r\nGet:3 http:\/\/deb.debian.org\/debian bookworm\/main amd64 openssh-server amd64 1:9.2p1-2 &#x5B;455 kB]\r\nFetched 527 kB in 13s (41.2 kB\/s)       \r\nPreconfiguring packages ...\r\nSelecting previously unselected package openssh-sftp-server.\r\n(Reading database ... 151542 files and directories currently installed.)\r\nPreparing to unpack ...\/openssh-sftp-server_1%3a9.2p1-2_amd64.deb ...\r\nUnpacking openssh-sftp-server (1:9.2p1-2) ...\r\nSelecting previously unselected package runit-helper.\r\nPreparing to unpack ...\/runit-helper_2.15.2_all.deb ...\r\nUnpacking runit-helper (2.15.2) ...\r\nSelecting previously unselected package openssh-server.\r\nPreparing to unpack ...\/openssh-server_1%3a9.2p1-2_amd64.deb ...\r\nUnpacking openssh-server (1:9.2p1-2) ...\r\nSetting up runit-helper (2.15.2) ...\r\nSetting up openssh-sftp-server (1:9.2p1-2) ...\r\nSetting up openssh-server (1:9.2p1-2) ...\r\n\r\nCreating config file \/etc\/ssh\/sshd_config with new version\r\nCreating SSH2 RSA key; this may take some time ...\r\n3072 SHA256:S0txz1TGQBxmVbq38boOdJiIqwmEFoeR+KmWESxDHlM root@vmsdeb02 (RSA)\r\nCreating SSH2 ECDSA key; this may take some time ...\r\n256 SHA256:6lr173yYmHL85vcDe2WIEdh2AD0PJsFQkL4jA+Ht4cU root@vmsdeb02 (ECDSA)\r\nCreating SSH2 ED25519 key; this may take some time ...\r\n256 SHA256:tOzXKojemCgqrErum3d+t1E4YETs9INM26L4t7LnSSQ root@vmsdeb02 (ED25519)\r\nCreated symlink \/etc\/systemd\/system\/sshd.service \u2192 \/lib\/systemd\/system\/ssh.service.\r\nCreated symlink \/etc\/systemd\/system\/multi-user.target.wants\/ssh.service \u2192 \/lib\/systemd\/system\/ssh.service.\r\nrescue-ssh.target is a disabled or a static unit, not starting it.\r\nssh.socket is a disabled or a static unit, not starting it.\r\nProcessing triggers for man-db (2.11.2-2) ...\r\n<\/pre>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>Debian 12\u3067\u306f\u3001\u6a19\u6e96\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089OpenSSH\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u95a2\u9023\u8a18\u4e8b<\/h2>\n<div class=\"sc_getpost\"><a class=\"clearfix\" href=\"https:\/\/lab4ict.com\/system\/archives\/14015\" ><div class=\"sc_getpost_thumb post-box-thumbnail__wrap\"><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODdhAQABAPAAAN3d3QAAACwAAAAAAQABAAACAkQBADs=\" width=\"150\" height=\"150\" alt=\"\u3010\u8a18\u4e8b\u4e00\u89a7\u3011SSH\u3092\u4f7f\u7528\u3057\u3066\u30b5\u30fc\u30d0\u3092\u64cd\u4f5c\u3059\u308b\uff01\" loading=\"lazy\" data-src=\"https:\/\/lab4ict.com\/system\/wp-content\/uploads\/2018\/06\/fia0000001-150x150.gif\" class=\"lazyload\"><\/div><div class=\"title\">\u3010\u8a18\u4e8b\u4e00\u89a7\u3011SSH\u3092\u4f7f\u7528\u3057\u3066\u30b5\u30fc\u30d0\u3092\u64cd\u4f5c\u3059\u308b\uff01<\/div><div class=\"substr\">SSH\u3092\u4f7f\u7528\u3057\u3066\u30b5\u30fc\u30d0\u3092\u64cd\u4f5c\u3059\u308b\u305f\u3081\u306e\u8a18\u4e8b\u4e00\u89a7\u3092\u63b2\u8f09\u3057\u307e\u3059\u3002...<\/div><\/a><\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Debian 12\u306b\u3001OpenSSH\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":642,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[926],"tags":[966,967,323,52],"class_list":["post-14340","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ssh","tag-debian","tag-debian-12","tag-openssh","tag-52"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/14340","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/comments?post=14340"}],"version-history":[{"count":6,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/14340\/revisions"}],"predecessor-version":[{"id":14348,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/14340\/revisions\/14348"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media\/642"}],"wp:attachment":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media?parent=14340"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=14340"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=14340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}