{"id":3946,"date":"2023-12-21T20:07:00","date_gmt":"2023-12-21T11:07:00","guid":{"rendered":"https:\/\/matoken.org\/blog\/?p=3946"},"modified":"2023-12-21T09:08:31","modified_gmt":"2023-12-21T00:08:31","slug":"delegate-telnet-ssh-gateway","status":"publish","type":"post","link":"https:\/\/matoken.org\/blog\/2023\/12\/21\/delegate-telnet-ssh-gateway\/","title":{"rendered":"DeleGate \u3092Telnet SSH gateway \u3068\u3057\u3066\u52d5\u304b\u3059"},"content":{"rendered":"<div class=\"paragraph\">\n<p>\u9e7f\u5150\u5cf6Linux \u52c9\u5f37\u4f1a 2023.11 \u3067DelGate \u3092\u6700\u8fd1\u306e\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u3067\u3067\u52d5\u304b\u3059\u8a71\u304c\u3042\u3063\u305f\u306e\u3067\u30e1\u30e2\uff0e<\/p>\n<\/div>\n<p><!--more--><\/p>\n<div class=\"paragraph\">\n<p>\u4ee5\u4e0b\u306eDeleGate \u306e\u9805\u76ee\u306e\u901a\u308a\uff0e<\/p>\n<\/div>\n<div class=\"ulist\">\n<ul>\n<li><a href=\"https:\/\/i-red.info\/\">Resetting Linux ( and DeleGate + Postfix )<\/a><\/li>\n<\/ul>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"content\">\n<pre>$ wget ftp:\/\/ftp.delegate.org\/pub\/DeleGate\/delegate9.9.13.tar.gz ftp:\/\/ftp.delegate.org\/pub\/DeleGate\/delegate9.9.13.tar.sign\n$ tar xf delegate9.9.13.tar.gz\n$ wget https:\/\/i-red.info\/docs\/dg2204.patch\n$ cd delegate9.9.13\n$ patch -p0 &lt; ..\/dg2204.patch\n$ make CFLAGS=\"-Wno-narrowing -DHCASE=1\"<\/pre>\n<\/div>\n<\/div>\n<div class=\"admonitionblock note\">\n<table  class=\" table table-hover\" >\n<tbody>\n<tr>\n<td class=\"icon\">\n<div class=\"title\">Note<\/div>\n<\/td>\n<td class=\"content\">\n\u624b\u5143\u3067\u306f Debian sid amd64 \u53ca\u3073 Raspberry Pi OS bullseye armhf \u3067\u78ba\u8a8d\u3057\u307e\u3057\u305f\uff0e<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div class=\"paragraph\">\n<p>\u4eca\u56de\u8a66\u3057\u305f\u304b\u3063\u305f\u306e\u306f\u4ee5\u4e0b\u306e Telnet \u2192 SSH \u306e gateway<\/p>\n<\/div>\n<div class=\"ulist\">\n<ul>\n<li><a href=\"https:\/\/i-red.info\/docs\/Manual.htm?SSH_via_Telnet\">DeleGate version 9.9 \u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u30de\u30cb\u30e5\u30a2\u30eb \u306e\u65e5\u672c\u8a9e\u8a33 \/ Telnet gateway to &lt;A Href=Manual.htm?SSH id=hgen&gt;SSH&lt;\/A&gt; server<\/a><\/li>\n<\/ul>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"title\">ERROR\u306f\u51fa\u308b\u3051\u3069\u8d77\u52d5\u3057\u307e\u3059<\/div>\n<div class=\"content\">\n<pre>$ src\/delegated -P8023 SERVER=telnet:\/\/-ssh\n-- ERROR: can't link the SSL\/Crypto library.\n-- Hint: use -vl option to trace the required library,\n--- find it (ex. libssl.so.X.Y.Z) under \/usr\/lib or \/lib,\n--- then set the library version as DYLIB='+,lib*.so.X.Y.Z'\n&lt;DeleGate\/9.9.13&gt; [17373] -P8023 READY<\/pre>\n<\/div>\n<\/div>\n<div class=\"listingblock\">\n<div class=\"title\">DeleGate \u7d4c\u7531\u3067SSH \u51fa\u6765\u307e\u3059<\/div>\n<div class=\"content\">\n<pre>$ nc localhost 8023\n''--\n--  @ @  localhost PROXY-telnet server DeleGate\/9.9.13\n-- ( - ) { Hit '?' or enter `help' for help. }\nDeleGate\/9.9.13 (October 31, 2014)\nAIST-Product-ID: 2000-ETL-198715-01, H14PRO-049, H15PRO-165, H18PRO-443\nCopyright (c) 1994-2000 Yutaka Sato and ETL,AIST,MITI\nCopyright (c) 2001-2014 National Institute of Advanced Industrial Science and Technology (AIST)\nWWW: http:\/\/www.delegate.org\/delegate\/\n-- -- -- This (proxy) service is maintained by 'matoken@gmail.com'\n\n&gt;&gt; Host name: matoken@localhost<\/pre>\n<\/div>\n<\/div>\n<div class=\"paragraph\">\n<p>\u30ab\u30a8\u30eb\u61d0\u304b\u3057\u3044\u3067\u3059\u306d\uff0e<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u9e7f\u5150\u5cf6Linux \u52c9\u5f37\u4f1a 2023.11 \u3067DelGate \u3092\u6700\u8fd1\u306e\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u3067\u3067\u52d5\u304b\u3059\u8a71\u304c\u3042\u3063\u305f\u306e\u3067\u30e1\u30e2\uff0e<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"webmentions_disabled_pings":false,"webmentions_disabled":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[686,7,6,546,199],"tags":[797,341,798],"class_list":["post-3946","post","type-post","status-publish","format-standard","hentry","category-bullseye-raspberry-pi-os","category-debian-linux","category-linux","category-raspberry-pi-os","category-sid","tag-delegate","tag-ssh","tag-telnet"],"_links":{"self":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/3946","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/comments?post=3946"}],"version-history":[{"count":1,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/3946\/revisions"}],"predecessor-version":[{"id":3947,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/3946\/revisions\/3947"}],"wp:attachment":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/media?parent=3946"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/categories?post=3946"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/tags?post=3946"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}