{"id":238630,"date":"2022-03-29T09:00:23","date_gmt":"2022-03-29T01:00:23","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=238630"},"modified":"2022-03-24T17:44:46","modified_gmt":"2022-03-24T09:44:46","slug":"xshell-ssh","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/xshell-ssh.html","title":{"rendered":"\u6bd4 Xshell \u66f4\u597d\u7528\u9177\u70ab\u7684 SSH \u7ec8\u7aef\u5de5\u5177"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u8fd9\u662f\u53c8\u4e00\u6b3e\u5f00\u6e90\u514d\u8d39\u7684 SSH\/SFTP \u5ba2\u6237\u7aef\u3002\u76f8\u5bf9\u4e8exshell\u6765\u8bf4\uff0c\u662f\u514d\u8d39\u7684\uff0c\u800c\u4e14\u4e2a\u4eba\u89c9\u5f97electerm\u754c\u9762\u66f4\u597d\u770b\u4e00\u4e9b\uff0c\u64cd\u4f5c\u90fd\u662f\u7c7b\u4f3c\u7684\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\"\"<\/p>\n

electerm\u662f\u4e00\u4e2a\u514d\u8d39\u9177\u70ab\u7684\u8de8\u5e73\u53f0\u7684Terminal\/SSH\/SFTP\u5ba2\u6237\u7aef\u5de5\u5177\uff0c\u540c\u65f6\u652f\u6301Linux\u3001MacOS\u3001Windows\uff0c\u57fa\u4e8eelectron\/ssh2\/node-pty\/xterm\/antd\/subx\u7b49\u5f00\u6e90\u7ec4\u4ef6\uff0c\u5b83\u662f\u5728 MIT \u8bb8\u53ef\u4e0b\u53d1\u5e03\u7684\u3002<\/p>\n

\u60a8\u53ef\u4ee5\u5c06electerm\u7528\u4f5c\u7ec8\u7aef\u5e94\u7528\u7a0b\u5e8f\u3001\u6587\u4ef6\u7ba1\u7406\u5668\u3001ssh \u5ba2\u6237\u7aef\u548c sftp \u5ba2\u6237\u7aef\u3002\u5b83\u662f\u5728 MIT \u8bb8\u53ef\u4e0b\u53d1\u5e03\u7684\uff0c\u5b83\u5e26\u6709\u4e32\u884c\u7aef\u53e3\u548c\u5feb\u901f\u547d\u4ee4\u652f\u6301\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528\u5185\u7f6e\u7f16\u8f91\u5668\u7f16\u8f91\u8fdc\u7a0b\u548c\u672c\u5730\u6587\u4ef6\u3002\u5176\u4ed6\u4e00\u4e9b\u529f\u80fd\u662f\u540c\u6b65\u652f\u6301\u3001Zmodem (rz, sz) \u652f\u6301\u548c\u4ee3\u7406\u652f\u6301\u3002<\/p>\n

\u4e0b\u9762\u5c31\u8bb2\u4e00\u4e0b\u4e0b\u8f7d\u5b89\u88c5\u8bbe\u7f6e\u7684\u8fc7\u7a0b\u3002<\/p>\n

\u5728Ubuntu\u4e2d\u5b89\u88c5 electterm <\/strong><\/div>\n

\u60a8\u53ef\u4ee5\u5728 Ubuntu \u4e0a\u901a\u8fc7 snap \u548c deb \u5305\u6587\u4ef6\u5b89\u88c5 Electerm\u3002\u5728\u60a8\u7684\u7ec8\u7aef (ctrl+alt+t) \u4e2d\u8fd0\u884c\u6b64\u4ee3\u7801\u4ee5\u901a\u8fc7 Snappy \u5305\u7ba1\u7406\u5668\u8fdb\u884c\u5b89\u88c5\u3002<\/p>\n

\u94fe\u63a5\uff1ahttps:\/\/electerm.github.io\/electerm<\/p>\n

linuxmi@linuxmi:~\/www.linuxmi.com$ sudo snap install electerm<\/pre>\n

\"\"<\/p>\n

\u5982\u6709\u5fc5\u8981\uff0c\u8f93\u5165\u60a8\u7684 Ubuntu \u7528\u6237\u5bc6\u7801\u4ee5\u786e\u8ba4 Electterm \u5b89\u88c5\u3002\u5728 Ubuntu \u4e0a\u6210\u529f\u5b89\u88c5 electerm \u540e\uff0c\u8fd0\u884c\u4e0b\u9762\u7684\u547d\u4ee4\u6765\u542f\u52a8\u5b83<\/p>\n

linuxmi@linuxmi:~\/www.linuxmi.com$ electerm<\/pre>\n
\u901a\u8fc7 deb \u5b89\u88c5 Electterm<\/strong><\/div>\n

\u9996\u5148\u4ece\u4ee5\u4e0b\u8f7d\u94fe\u63a5\u4e0b\u8f7d .deb \u6587\u4ef6\u683c\u5f0f\u7684Electterm\uff0c\u5e76\u5c06\u5176\u4fdd\u5b58\u5230\u60a8\u7684\u4e0b\u8f7d\u6587\u4ef6\u5939\u3002<\/p>\n

\u7136\u540e\u5bfc\u822a\u5230\u60a8\u7684\u4e0b\u8f7d\u6587\u4ef6\u5939\uff0c\u7136\u540e\u8fd0\u884c\u8fd9\u4e2a\u547d\u4ee4\u3002<\/p>\n

linuxmi@linuxmi:~\/linuxmi.com\/share$ sudo dpkg -i electerm-1.19.5-linux-amd64.deb<\/pre>\n

\"\"<\/p>\n

\u60a8\u53ef\u4ee5\u6839\u636e\u4e0b\u8f7d\u6587\u4ef6\u7684\u540d\u79f0\u66f4\u6539\u4e0a\u8ff0\u547d\u4ee4\u3002<\/p>\n

\u5bf9\u4e8e Mac \u7528\u6237<\/strong><\/span><\/div>\n
brew install --cask electerm<\/pre>\n

\u5bf9\u4e8e\u67d0\u4e9b Linux \u53d1\u884c\u7248\uff0c\u60a8\u53ef\u4ee5\u4ece\u64cd\u4f5c\u7cfb\u7edf\u9ed8\u8ba4\u5e94\u7528\u5546\u5e97\uff08Ubuntu\u3001Deepin\u3001Mint...\uff09\u4e2d\u627e\u5230\u5b83\u3002
\n\u5bf9\u4e8e\u67d0\u4e9b linux \u64cd\u4f5c\u7cfb\u7edf\uff0crpm\u3001deb\u6216snap\u53d1\u884c\u7248\u53ef\u80fd\u65e0\u6cd5\u6b63\u5e38\u5de5\u4f5c\uff0c\u60a8\u53ef\u4ee5\u5c1d\u8bd5tar.gz\u53d1\u884c\u7248\u3002
\n\u5bf9\u4e8e Windows \u7528\u6237\uff0c\u60a8\u53ef\u4ee5\u4eceWindows Store\u5b89\u88c5\u5b83\uff0c\u63a8\u8350\u547d\u4ee4\u884c\u5b89\u88c5\u7a0b\u5e8fwinget\u548cscoop\uff1a<\/p>\n

# winget https:\/\/github.com\/microsoft\/winget-cli\r\nwinget install electerm\r\n# scoop https:\/\/github.com\/lukesampson\/scoop\r\nscoop bucket add dorado https:\/\/github.com\/chawyehsu\/dorado\r\nscoop install dorado\/electerm<\/pre>\n
\u4ece npm \u5b89\u88c5<\/strong><\/span><\/div>\n
npm i -g electerm<\/pre>\n

#\u5b89\u88c5\u540e\uff0cwindows \u548c linux \u4f1a\u7acb\u5373\u6253\u5f00\uff0c<\/p>\n

# macOS \u4f1a\u6253\u5f00\u62d6\u62fd\u5b89\u88c5\u9762\u677f<\/p>\n

electerm \u7684\u529f\u80fd\u7279\u6027<\/strong><\/span><\/div>\n
  • \u7528\u4f5c\u7ec8\u7aef\/\u6587\u4ef6\u7ba1\u7406\u5668\u6216 ssh\/sftp \u5ba2\u6237\u7aef\uff08\u7c7b\u4f3c\u4e8e xshell\uff09<\/li>\n
  • \u5207\u6362\u7a97\u53e3\u53ef\u89c1\u6027\u7684\u5168\u5c40\u70ed\u952e\uff08\u7c7b\u4f3c\u4e8e guake\uff0c\u9ed8\u8ba4\u4e3actrl + 2\uff09<\/li>\n
  • \u591a\u5e73\u53f0\uff08linux\u3001mac\u3001win\uff09<\/li>\n
  • 🇺🇸 🇨🇳 🇧🇷 🇷🇺 🇪🇸 🇫🇷 🇹🇷 🇭🇰 🇯🇵 🇸🇦\u591a\u8bed\u8a00\u652f\u6301\uff08electerm\u8bed\u8a00\u73af\u5883\uff09<\/li>\n
  • \u53cc\u51fb\u76f4\u63a5\u7f16\u8f91\uff08\u5c0f\uff09\u8fdc\u7a0b\u6587\u4ef6\u3002<\/li>\n
  • \u4f7f\u7528\u5185\u7f6e\u7f16\u8f91\u5668\u7f16\u8f91\uff08\u5c0f\uff09\u672c\u5730\u6587\u4ef6\u3002<\/li>\n
  • \u4f7f\u7528\u516c\u94a5 + \u5bc6\u7801\u8fdb\u884c\u8eab\u4efd\u9a8c\u8bc1\u3002<\/li>\n
  • Zmodem(rz, sz)\u3002<\/li>\n
  • trzsz\uff08trz\/tsz\uff09\uff0c\u7c7b\u4f3c\u4e8erz\/sz\uff0c\u517c\u5bb9tmux\u3002<\/li>\n
  • \u900f\u660e\u7a97\u53e3\uff08Mac\uff0cwin\uff09\u3002<\/li>\n
  • \u7ec8\u7aef\u80cc\u666f\u56fe\u7247\u3002<\/li>\n
  • \u5168\u5c40\/\u4f1a\u8bdd\u4ee3\u7406\u3002<\/li>\n
  • \u5feb\u901f\u547d\u4ee4<\/li>\n
  • \u5c06\u4e66\u7b7e\/\u4e3b\u9898\/\u5feb\u901f\u547d\u4ee4\u540c\u6b65\u5230 github\/gitee \u79d8\u5bc6\u8981\u70b9<\/li>\n
  • \u4e32\u53e3\u652f\u6301\uff08\u5728 1.10.14 \u7248\u672c\u540e\u5220\u9664\uff09<\/li>\n
  • \u5feb\u901f\u8f93\u5165\u5230\u4e00\u4e2a\u6216\u6240\u6709\u7ec8\u7aef\u3002<\/li>\n
  • \u547d\u4ee4\u884c\u7528\u6cd5\uff1a\u67e5\u770bwiki<\/li>\n
  • \u538b\u7f29\/\u4f20\u8f93\/\u81ea\u52a8\u89e3\u538b\u7f29\u6587\u4ef6\u5939\u3002<\/li>\n
    \u8bbe\u7f6e\u53ca\u4f7f\u7528<\/strong><\/div>\n

    \u6253\u5f00Electterm\uff0c\u9ed8\u8ba4\u6253\u5f00\u662f\u82f1\u6587\uff0c\u5982\u4e0b\u56fe\uff1a<\/p>\n

    \"\"<\/p>\n

    \u9009\u62e9\u4e2d\u6587\u754c\u9762\uff0c\u70b9\u51fb \u8bbe\u7f6e\u2460\uff0c\u9009\u62e9\u8bed\u8a00\u2461\uff0c\u7136\u540e\u9009\u62e9\u7b80\u4f53\u4e2d\u6587\u2462\u3002\u5982\u4e0b\u56fe\uff1a<\/p>\n

    \"\"<\/p>\n

    \u4f7f\u7528 electerm \u8fdb\u884c SSH \u94fe\u63a5\uff0c\u70b9\u51fb\u5de6\u4fa7\u8fb9\u680f\u7684 +\u53f7<\/p>\n

    \"\"<\/p>\n

    \u8f93\u5165\u76f8\u5173\u6570\u636e\u94fe\u63a5\uff1a<\/p>\n

  • \u4e3b\u673a\u5730\u5740\u5c31\u662f\u4f60\u8981\u8fdb\u884c\u8fde\u63a5\u673a\u5668\u7684IP\u5730\u5740<\/li>\n
  • \u7528\u6237\u540d\u5c31\u662f\u4e3b\u673a\u7684\u7528\u6237\u540d<\/li>\n
  • \u5bc6\u7801\u4e5f\u4e00\u6837<\/li>\n
  • \u7aef\u53e3\u9ed8\u8ba4\u4e00\u822c\u90fd\u662f22<\/li>\n
  • \u8f93\u5165\u5b8c\u6210\u540e\u70b9\u51fb\u4fdd\u5b58\u5e76\u8fde\u63a5\u5373\u53ef<\/li>\n

    \"\"<\/p>\n

    \u8fd8\u652f\u6301\u5206\u5c4f\u529f\u80fd\uff0c\u5982\u4e0b\u56fe\uff1a<\/p>\n

    \"\"<\/p>\n

    sftp \u529f\u80fd<\/strong><\/div>\n

    \u5de6\u8fb9\u680f\u4e3a\u672c\u673a\u6587\u4ef6\uff0c\u53f3\u8fb9\u680f\u4e3a\u8fdc\u7a0b\u673a\u5668\u76ee\u5f55\uff0c\u53ef\u4ee5\u5f88\u65b9\u4fbf\u7684\u8fdb\u884c\u4e0a\u4f20\u4e0b\u8f7d\u3002\u4e5f\u53ef\u4ee5\u76f4\u63a5\u62d6\u62fd\u5373\u53ef\u4e0a\u4f20\u3002\u5982\u4e0b\u56fe\uff1a<\/p>\n

    \"\"<\/p>\n

    \u8fd8\u53ef\u4ee5\u7f16\u8f91\u8fdc\u7a0b\u6587\u4ef6\uff1a<\/p>\n

    \"\"<\/p>\n

    \u70b9\u51fb\u53f3\u4e0b\u89d2\u7684 Terminal Info \u53ef\u67e5\u770b\u670d\u52a1\u5668\u7684\u4f7f\u7528\u60c5\u51b5\uff0c\u5982\u4e0b\u56fe\uff1a<\/p>\n

    \"\"<\/p>\n

    OK\uff0c\u5176\u4ed6\u66f4\u591a\u529f\u80fd\u81ea\u5df1\u6162\u6162\u6478\u7d22\uff0c\u5e0c\u671b\u4f60\u559c\u6b22\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

    electerm\u662f\u4e00\u4e2a\u514d\u8d39\u9177\u70ab\u7684\u8de8\u5e73\u53f0\u7684Terminal\/SSH\/SFTP\u5ba2\u6237\u7aef\u5de5\u5177\uff0c\u540c\u65f6\u652f\u6301Linux\u3001Ma […]<\/p>\n","protected":false},"author":1920,"featured_media":225960,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-238630","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/238630","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1920"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=238630"}],"version-history":[{"count":5,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/238630\/revisions"}],"predecessor-version":[{"id":238846,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/238630\/revisions\/238846"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/225960"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=238630"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=238630"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=238630"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}