{"id":1259,"date":"2020-04-13T11:20:32","date_gmt":"2020-04-13T02:20:32","guid":{"rendered":"http:\/\/sunao-mita.pgw.jp\/blog\/?p=1259"},"modified":"2020-04-13T11:30:18","modified_gmt":"2020-04-13T02:30:18","slug":"%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e6%b8%88%e3%81%bf%e3%81%ae%e3%83%aa%e3%82%b9%e3%83%88","status":"publish","type":"post","link":"http:\/\/sunao-mita.pgw.jp\/blog\/?p=1259","title":{"rendered":"\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u306e\u30ea\u30b9\u30c8"},"content":{"rendered":"\n<p>Debian \/ Raspbian \u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30ea\u30b9\u30c8\u3059\u308b\u30b3\u30de\u30f3\u30c9\u306e\u5099\u5fd8\u9332<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">APT \u30b3\u30de\u30f3\u30c9<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">sudo apt list &#8211;installed<\/h4>\n\n\n<pre>$ sudo apt list --installed | grep ssh\n\nWARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n\nlib<span style=\"color: #ff0000;\">ssh<\/span>-gcrypt-4\/oldstable,now 0.7.3-2+deb9u2 armhf [\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u3001\u81ea\u52d5]\nlib<span style=\"color: #ff0000;\">ssh<\/span>2-1\/oldstable,now 1.7.0-1+deb9u1 armhf [\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u3001\u81ea\u52d5]\nopen<span style=\"color: #ff0000;\">ssh<\/span>-client\/oldstable,now 1:7.4p1-10+deb9u7 armhf [\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u3001\u81ea\u52d5]\nopen<span style=\"color: #ff0000;\">ssh<\/span>-server\/oldstable,now 1:7.4p1-10+deb9u7 armhf [\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u3001\u81ea\u52d5]\nopen<span style=\"color: #ff0000;\">ssh<\/span>-sftp-server\/oldstable,now 1:7.4p1-10+deb9u7 armhf [\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u3001\u81ea\u52d5]\n<span style=\"color: #ff0000;\">ssh<\/span>\/oldstable,now 1:7.4p1-10+deb9u7 all [\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f]\n<\/pre>\n\n\n<h3 class=\"wp-block-heading\">DPKG \u30b3\u30de\u30f3\u30c9<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">dpkg &#8211;get-selections<\/h4>\n\n\n<pre>$ dpkg --get-selections | grep ssh\nlib<span style=\"color: #ff0000;\">ssh<\/span>-gcrypt-4:armhf                           install\nlib<span style=\"color: #ff0000;\">ssh<\/span>2-1:armhf                                 install\nopen<span style=\"color: #ff0000;\">ssh<\/span>-client                                  install\nopen<span style=\"color: #ff0000;\">ssh<\/span>-server                                  install\nopen<span style=\"color: #ff0000;\">ssh<\/span>-sftp-server                             install\n<span style=\"color: #ff0000;\">ssh<\/span>                                             install\n<\/pre>\n\n\n<h3 class=\"wp-block-heading\">dpkg-query \u30b3\u30de\u30f3\u30c9<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">dpkg-query -l<\/h4>\n\n\n<pre>$ sudo dpkg-query -l | grep ssh\nii  lib<span style=\"color: #ff0000;\">ssh<\/span>-gcrypt-4:armhf                 0.7.3-2+deb9u2                    armhf        tiny C SSH library (gcrypt flavor)\nii  lib<span style=\"color: #ff0000;\">ssh<\/span>2-1:armhf                       1.7.0-1+deb9u1                    armhf        SSH2 client-side library\nii  open<span style=\"color: #ff0000;\">ssh<\/span>-client                        1:7.4p1-10+deb9u7                 armhf        secure shell (SSH) client, for secure access to remote machines\nii  open<span style=\"color: #ff0000;\">ssh<\/span>-server                        1:7.4p1-10+deb9u7                 armhf        secure shell (SSH) server, for secure access from remote machines\nii  open<span style=\"color: #ff0000;\">ssh<\/span>-sftp-server                   1:7.4p1-10+deb9u7                 armhf        secure shell (SSH) sftp server module, for SFTP access from remote machines\nii  <span style=\"color: #ff0000;\">ssh<\/span>                                   1:7.4p1-10+deb9u7                 all          secure shell client and server (metapackage)\n<\/pre>","protected":false},"excerpt":{"rendered":"<p>Debian \/ Raspbian \u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30ea\u30b9\u30c8\u3059\u308b\u30b3\u30de\u30f3\u30c9\u306e\u5099\u5fd8\u9332 APT \u30b3\u30de\u30f3\u30c9 sudo apt list &#8211;installed $ sudo apt list &#8211;in &hellip; <a href=\"http:\/\/sunao-mita.pgw.jp\/blog\/?p=1259\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u306e\u30ea\u30b9\u30c8<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[22],"tags":[],"_links":{"self":[{"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1259"}],"collection":[{"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1259"}],"version-history":[{"count":6,"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1259\/revisions"}],"predecessor-version":[{"id":1266,"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1259\/revisions\/1266"}],"wp:attachment":[{"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1259"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1259"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1259"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}