{"id":178,"date":"2016-09-30T00:20:23","date_gmt":"2016-09-29T15:20:23","guid":{"rendered":"http:\/\/okamurax.com\/?p=178"},"modified":"2020-05-16T00:17:35","modified_gmt":"2020-05-15T15:17:35","slug":"teraterm%e8%b5%b7%e5%8b%95%e3%83%9e%e3%82%af%e3%83%ad","status":"publish","type":"post","link":"https:\/\/appbay.org\/?p=178","title":{"rendered":"TeraTerm \u8d77\u52d5\u30de\u30af\u30ed"},"content":{"rendered":"<p>\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u3063\u3066<br \/>\n<span style=\"color: #0000ff;\">ttpmacro.exe ttpmacro.ttl<\/span><br \/>\n\u3068\u8a18\u5165\u3059\u308b\u3002<\/p>\n<p><span style=\"color: #0000ff;\">ttpmacro.ttl<\/span><br \/>\n\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u5165\u3059\u308b\u3002<\/p>\n<pre class=\"lang:default decode:true\">msg = '1 - xxx.com'#13\r\nstrconcat msg '2 - xxx.com'#13\r\n\r\ninputbox msg ''\r\n\r\nstrcompare inputstr '1'\r\nif result = 0 then\r\nconnect 'xxx.com:10022 \/ssh \/2 \/auth=publickey \/user=root \/passwd=1234 \/keyfile=xxx.key'\r\nendif\r\n\r\nstrcompare inputstr '2'\r\nif result = 0 then\r\nconnect 'xxx.com:22 \/ssh \/2 \/auth=password \/user=root \/passwd=1234'\r\nendif<\/pre>\n<p>\u4f5c\u6210\u3057\u305f\u30d0\u30c3\u30c1\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u30c0\u30a4\u30a2\u30ed\u30b0\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001\u8a72\u5f53\u306e\u6570\u5b57\u3092\u5165\u529b\u3059\u308b\u3068\u81ea\u52d5\u3067\u63a5\u7d9a\u3055\u308c\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30d0\u30c3\u30c1\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u3063\u3066 ttpmacro.exe ttpmacro.ttl \u3068\u8a18\u5165\u3059\u308b\u3002 ttpmacro.ttl \u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u5165\u3059\u308b\u3002 msg = &#8216;1 &#8211; xxx.com&#8217;#13 strconcat msg &#8216;2 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/appbay.org\/?p=178\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;TeraTerm \u8d77\u52d5\u30de\u30af\u30ed&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[153],"class_list":["post-178","post","type-post","status-publish","format-standard","hentry","category-1","tag-153"],"_links":{"self":[{"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts\/178","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=178"}],"version-history":[{"count":5,"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts\/178\/revisions"}],"predecessor-version":[{"id":3567,"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts\/178\/revisions\/3567"}],"wp:attachment":[{"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=178"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=178"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=178"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}