{"id":14259,"date":"2023-08-27T10:32:05","date_gmt":"2023-08-27T01:32:05","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=14259"},"modified":"2023-08-27T10:32:26","modified_gmt":"2023-08-27T01:32:26","slug":"openssh%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%ef%bc%81%ef%bc%88ubuntu-desktop-22-04%ef%bc%89","status":"publish","type":"post","link":"https:\/\/lab4ict.com\/system\/archives\/14259","title":{"rendered":"OpenSSH\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01\uff08Ubuntu Desktop 22.04\uff09"},"content":{"rendered":"<p>Ubuntu Desktop 22.04\u306b\u3001OpenSSH\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<br \/>\n<!--more--><\/p>\n<h2>\u5b9f\u884c\u3057\u305f\u74b0\u5883\u3092\u78ba\u8a8d\u3059\u308b\uff01<\/h2>\n<p>\u5b9f\u884c\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: vmsubu06\r\n       Icon name: computer-vm\r\n         Chassis: vm\r\n      Machine ID: 516547b1d21f4fd2b0c3805ba6005f26\r\n         Boot ID: c6cd6bda28fc49719a49bdf3587585cd\r\n  Virtualization: oracle\r\nOperating System: Ubuntu 22.04.2 LTS              \r\n          Kernel: Linux 6.2.0-26-generic\r\n    Architecture: x86-64\r\n Hardware Vendor: innotek GmbH\r\n  Hardware Model: VirtualBox\r\n<\/pre>\n<h2>OpenSSH Server\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01<\/h2>\n<p>\u6a19\u6e96\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089OpenSSH Server\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ sudo apt install openssh-server\r\n&#x5B;sudo] password for usradmin: \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  ncurses-term openssh-client openssh-sftp-server ssh-import-id\r\nSuggested packages:\r\n  keychain libpam-ssh monkeysphere ssh-askpass molly-guard\r\nThe following NEW packages will be installed:\r\n  ncurses-term openssh-server openssh-sftp-server ssh-import-id\r\nThe following packages will be upgraded:\r\n  openssh-client\r\n1 upgraded, 4 newly installed, 0 to remove and 329 not upgraded.\r\nNeed to get 751 kB\/1,661 kB of archives.\r\nAfter this operation, 6,059 kB of additional disk space will be used.\r\nDo you want to continue? &#x5B;Y\/n] \r\nGet:1 http:\/\/jp.archive.ubuntu.com\/ubuntu jammy-updates\/main amd64 openssh-sftp-server amd64 1:8.9p1-3ubuntu0.3 &#x5B;38.8 kB]\r\nGet:2 http:\/\/jp.archive.ubuntu.com\/ubuntu jammy-updates\/main amd64 openssh-server amd64 1:8.9p1-3ubuntu0.3 &#x5B;434 kB]\r\nGet:3 http:\/\/jp.archive.ubuntu.com\/ubuntu jammy-updates\/main amd64 ncurses-term all 6.3-2ubuntu0.1 &#x5B;267 kB]\r\nGet:4 http:\/\/jp.archive.ubuntu.com\/ubuntu jammy\/main amd64 ssh-import-id all 5.11-0ubuntu1 &#x5B;10.1 kB]\r\nFetched 751 kB in 2s (307 kB\/s)     \r\nPreconfiguring packages ...\r\n(Reading database ... 199000 files and directories currently installed.)\r\nPreparing to unpack ...\/openssh-client_1%3a8.9p1-3ubuntu0.3_amd64.deb ...\r\nUnpacking openssh-client (1:8.9p1-3ubuntu0.3) over (1:8.9p1-3ubuntu0.1) ...\r\nSelecting previously unselected package openssh-sftp-server.\r\nPreparing to unpack ...\/openssh-sftp-server_1%3a8.9p1-3ubuntu0.3_amd64.deb ...\r\nUnpacking openssh-sftp-server (1:8.9p1-3ubuntu0.3) ...\r\nSelecting previously unselected package openssh-server.\r\nPreparing to unpack ...\/openssh-server_1%3a8.9p1-3ubuntu0.3_amd64.deb ...\r\nUnpacking openssh-server (1:8.9p1-3ubuntu0.3) ...\r\nSelecting previously unselected package ncurses-term.\r\nPreparing to unpack ...\/ncurses-term_6.3-2ubuntu0.1_all.deb ...\r\nUnpacking ncurses-term (6.3-2ubuntu0.1) ...\r\nSelecting previously unselected package ssh-import-id.\r\nPreparing to unpack ...\/ssh-import-id_5.11-0ubuntu1_all.deb ...\r\nUnpacking ssh-import-id (5.11-0ubuntu1) ...\r\nSetting up openssh-client (1:8.9p1-3ubuntu0.3) ...\r\nSetting up ssh-import-id (5.11-0ubuntu1) ...\r\nSetting up ncurses-term (6.3-2ubuntu0.1) ...\r\nSetting up openssh-sftp-server (1:8.9p1-3ubuntu0.3) ...\r\nSetting up openssh-server (1:8.9p1-3ubuntu0.3) ...\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:2k+U4CqwGFU\/Pi8Dw\/anb6SODzuETRmn06\/iCcfQyAs root@vmsubu06 (RSA)\r\nCreating SSH2 ECDSA key; this may take some time ...\r\n256 SHA256:AxjXIlW301xpjkNAAFZrwWOzXz5ZYU0UUzTai+QHyh8 root@vmsubu06 (ECDSA)\r\nCreating SSH2 ED25519 key; this may take some time ...\r\n256 SHA256:n4hCC85Dqycjgx9rKHgzhtB7IEnPam+F7MnHegsQRSk root@vmsubu06 (ED25519)\r\nCreated symlink \/etc\/systemd\/system\/sshd.service \u2192 \/lib\/systemd\/system\/ssh.servi\r\nce.\r\nCreated symlink \/etc\/systemd\/system\/multi-user.target.wants\/ssh.service \u2192 \/lib\/s\r\nystemd\/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.10.2-1) ...\r\nProcessing triggers for ufw (0.36.1-4build1) ...\r\n<\/pre>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>Ubuntu Desktop 22.04\u3067\u306f\u3001\u6a19\u6e96\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089OpenSSH\u306e\u30b5\u30fc\u30d0\u6a5f\u80fd\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>Ubuntu Desktop 22.04\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":[323,51,274,488,52,461],"class_list":["post-14259","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ssh","tag-openssh","tag-ubuntu","tag-ubuntu-desktop","tag-ubuntu-desktop-22-04","tag-52","tag-461"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/14259","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=14259"}],"version-history":[{"count":3,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/14259\/revisions"}],"predecessor-version":[{"id":14267,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/14259\/revisions\/14267"}],"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=14259"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=14259"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=14259"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}