{ "version": "https://jsonfeed.org/version/1", "title": "SSH", "description": "", "home_page_url": "go/ssh", "feed_url": "feed/ssh.json", "icon": "https://cdn.v2ex.com/navatar/a255/7a7b/189_large.png?m=1584400497", "favicon": "https://cdn.v2ex.com/navatar/a255/7a7b/189_normal.png?m=1584400497", "items": [ { "author": { "url": "member/5ssl", "name": "5ssl", "avatar": "https://cdn.v2ex.com/avatar/5a09/c449/746511_large.png?m=1773220755" }, "url": "t/1194206", "title": "\u6709\u6ca1\u6709\u80fd\u65ad\u7ebf\u91cd\u8fde\uff0c\u5e76\u81ea\u52a8\u8fd0\u884c\u811a\u672c\u7684 SSH \u5de5\u5177\uff1f", "id": "t/1194206", "date_published": "2026-02-26T03:46:11+00:00", "content_html": "

https://i.imgur.com/MMsfU1F.png

\n

\u6c42\u63a8\u8350\u4e2a\u65ad\u7ebf\u91cd\u8fde\uff0c\u5e76\u80fd\u518d\u6b21\u542f\u52a8\u4e00\u4e2a PY \u811a\u672c\u7684 SSH \u5de5\u5177

\n" }, { "author": { "url": "member/Admstor", "name": "Admstor", "avatar": "https://cdn.v2ex.com/avatar/9804/9118/39005_large.png?m=1649674034" }, "url": "t/1190517", "date_modified": "2026-02-03T18:56:40+00:00", "content_html": "\u6211\u7406\u89e3\u516c\u94a5\u79c1\u94a5\u53ea\u662f\u4e00\u4e2a\u66f4\u52a0\u590d\u6742\u7684\u5bc6\u7801

\u5018\u82e5\u6211\u672c\u8eab\u5bc6\u7801\u5c31\u662f 16 \u4f4d\u4ee5\u4e0a\u5927\u5c0f\u5199\u82f1\u6587\u6570\u5b57\u7b26\u53f7\u6df7\u5408\uff0c\u5e76\u4e14\u6bcf\u4e2a\u670d\u52a1\u5668\u5bc6\u7801\u5747\u968f\u673a\u751f\u6210\u4e0d\u4e00\u6837
\u5e76\u4e14\u6211\u5f00\u542f\u4e86 auto-ban \u4e4b\u7c7b\u7684\u670d\u52a1\uff0c\u9632\u6b62\u7a77\u4e3e\u731c\u6d4b\u5bc6\u7801

\u90a3\u662f\u5426\u53ef\u4ee5\u8ba4\u4e3a\u5b89\u5168\u6027\u662f\u63a5\u8fd1\u7684
\u7279\u522b\u5982\u679c\u662f\u79c1\u94a5\u6cc4\u9732\u610f\u5473\u4f60\u51e0\u4e4e\u6240\u6709\u670d\u52a1\u5668\u7b49\u4e8e\u5bc6\u7801\u6cc4\u9732\uff0c\u96be\u9053\u662f\u6bcf\u4e2a\u670d\u52a1\u5668\u79c1\u94a5\u90fd\u4e0d\u4e00\u6837\uff1f", "date_published": "2026-02-03T13:12:00+00:00", "title": "\u6211\u4e0d\u7406\u89e3\u51e0\u4e4e\u6240\u6709 SSH \u52a0\u56fa\u90fd\u63d0\u5230\u914d\u7f6e\u516c\u94a5", "id": "t/1190517" }, { "author": { "url": "member/diudiuu", "name": "diudiuu", "avatar": "https://cdn.v2ex.com/avatar/53c0/4118/1055_large.png?m=1776676880" }, "url": "t/1174261", "date_modified": "2025-11-21T08:26:11+00:00", "content_html": "

\ud83e\uddd1\u200d\ud83d\udcbb \u6211\u7684\u75db\u70b9 & \u6700\u7ec8\u89e3\u51b3\u65b9\u6848\u601d\u8def\uff08\u5e76\u975e\u6708\u7ecf\u8d34\uff0c\u7ad9\u5185\u5e16\u5b50\u57fa\u672c\u4e0a\u6211\u90fd\u770b\u8fc7\u4e86\uff0c\u76ee\u524d\u6ca1\u6709\u627e\u5230\u5408\u9002\u7684\uff09

\n

\u6bcf\u5929\u90fd\u8981\u540c\u65f6\u64cd\u4f5c AWS \u3001Oracle Cloud \u7b49\u4e91\u670d\u52a1\u5668\uff0c\u4e0a\u4f20\u6587\u4ef6\u3001\u6539\u914d\u7f6e\u975e\u5e38\u9891\u7e41\u3002\u6700\u5927\u7684\u95ee\u9898\u5c31\u662f\uff1a

\n\n

Windows \u4e0b\u6211\u4e00\u76f4\u7528 MobaXterm\uff0c\u771f\u662f\u4e1d\u6ed1\u5230\u98de\u8d77\uff1a

\n\n

\u8fd9\u4e2a\u529f\u80fd\u770b\u4f3c\u4e0d\u8d77\u773c\uff0c\u4f46\u5982\u679c\u4f60\u6bcf\u5929\u8981\u4e0a\u4f20\u51e0\u5341\u4e0a\u767e\u6b21\u6587\u4ef6\uff0c\u4f60\u5c31\u4f1a\u660e\u767d\uff1a

\n
\n

MobaXterm = \u52b3\u52a8\u751f\u4ea7\u529b\u7206\u8868

\n
\n
\n

\ud83e\udde8 \u8bd5\u8fc7\u4f46\u4e0d\u4e1d\u6ed1\u7684\u5de5\u5177\uff08\u5927\u5bb6\u90fd\u633a\u7d2f\u7684\uff0c\u5c31\u4e0d\u5199\u4e86\uff0c\u8111\u8865\uff09

\n

\u274c \u5bb9\u6613\u5d29 / \u6570\u636e\u7ffb\u8f66

\n\n

\u274c \u529f\u80fd\u4e0d\u5bf9\u8def

\n\n
\n

\ud83c\udf4e \u5230\u4e86 macOS\u2026\u60f3\u54ed

\n

\u73b0\u5728\u6211\u5728\u7528 macOS \uff0c\u5f00\u59cb\u6298\u817e iTerm2

\n
\n

\u611f\u89c9\u80af\u5b9a\u80fd\u641e\u51fa\u65b9\u6848\uff0c\u4f46\u6682\u65f6\u6ca1\u8c03\u51fa \u201cMobaXterm \u90a3\u79cd\u4e00\u952e sudo \u4e0a\u4f20\u201d \u7684\u4e1d\u6ed1\u4f53\u9a8c\u3002

\n
\n

\u6240\u4ee5\u95ee\u9898\u6765\u4e86\uff1a

\n
\n

\u2753 \u60f3\u89e3\u51b3\u7684\u95ee\u9898

\n

1\ufe0f\u20e3 \u5982\u4f55\u5728 iTerm2 \u91cc\u5b9e\u73b0\u7c7b\u4f3c MobaXterm \u7684 sudo \u6587\u4ef6\u4f20\u8f93\uff1f

\n

2\ufe0f\u20e3 \u6709\u6ca1\u6709\uff1a

\n\n

\u80fd\u8ba9\u4e0a\u4f20\u6587\u4ef6\uff1a

\n
\n

\u65e0\u8111\u76f4\u63a5\u8d70 root \uff0c\u4e0d\u7528\u624b\u52a8 sudo chmod scp \uff1f

\n
\n
\n", "date_published": "2025-11-21T08:24:41+00:00", "title": "Mac \u4e0a\u627e\u4e0d\u5230\u80fd\u66ff\u4ee3 MobaXterm \u7684 SSH \u5de5\u5177\uff0c\u6c42\u63a8\u8350\uff01", "id": "t/1174261" }, { "author": { "url": "member/elboble", "name": "elboble", "avatar": "https://cdn.v2ex.com/gravatar/3427d21885aca1e4e2149b2fdcf1b799?s=73&d=retro" }, "url": "t/1150182", "title": "\u4e3a\u4ec0\u4e48\u5173\u4e86\u5bc6\u7801\u767b\u5f55\uff0c auth.log \u91cc\u8fd8\u6709\u8d26\u53f7\u5bc6\u7801\u767b\u5f55\u9519\u8bef\u7684\u8bb0\u5f55\uff0c\u96be\u9053\u4e0d\u662f\u76f4\u63a5\u65ad\u5f00\u5417\uff1f", "id": "t/1150182", "date_published": "2025-08-05T11:12:25+00:00", "content_html": "

Aug 4 23:33:37 debian99 sshd[2262432]: Received disconnect from 192.168.11.36 port 45068:11: Bye Bye [preauth]\nAug 4 23:33:37 debian99 sshd[2262432]: Disconnected from invalid user yangww 192.168.11.36 port 45068 [preauth]\nAug 4 23:33:37 debian99 sshd[2262509]: Received disconnect from 192.168.11.36 port 45478:11: Bye Bye [preauth]\nAug 4 23:33:37 debian99 sshd[2262509]: Disconnected from invalid user yangxsh 192.168.11.36 port 45478 [preauth]\nAug 4 23:33:37 debian99 sshd[2262460]: Received disconnect from 192.168.11.36 port 45150:11: Bye Bye [preauth]\nAug 4 23:33:37 debian99 sshd[2262460]: Disconnected from invalid user yangxh 192.168.11.36 port 45150 [preauth]\nAug 4 23:33:37 debian99 sshd[2262506]: Received disconnect from 192.168.11.36 port 45448:11: Bye Bye [preauth]\nAug 4 23:33:37 debian99 sshd[2262506]: Disconnected from invalid user yangxsh 192.168.11.36 port 45448 [preauth]\nAug 4 23:33:37 debian99 sshd[2262536]: Invalid user yangxt from 192.168.11.36 port 45606\nAug 4 23:33

\n" }, { "author": { "url": "member/chinni", "name": "chinni", "avatar": "https://cdn.v2ex.com/avatar/43b1/36e4/13816_large.png?m=1736305842" }, "url": "t/1114556", "title": "warp windows \u7248\u672c\u51fa\u4e86", "id": "t/1114556", "date_published": "2025-02-27T02:49:00+00:00", "content_html": "

https://www.warp.dev/windows-terminal

\n

\u770b\u4e86\u4e0b \u4e3b\u8981\u8fd8\u662f \u7ec8\u7aef\u6a21\u62df\u5668\uff0cssh \u662f\u9644\u5e26\u7684\uff08

\n" }, { "author": { "url": "member/SeduceQAQ", "name": "SeduceQAQ", "avatar": "https://cdn.v2ex.com/avatar/c314/7a5d/604701_large.png?m=1739436837" }, "url": "t/1113516", "title": "\u4ee3\u7406\u8f6f\u4ef6\u5f00\u542f tun \u6a21\u5f0f\u7684\u65f6\u5019 Termius \u5c31\u6ca1\u529e\u6cd5 ssh \u4e86", "id": "t/1113516", "date_published": "2025-02-22T12:29:09+00:00", "content_html": "\u6709\u4eba\u9047\u5230\u540c\u6837\u7684\u95ee\u9898\u5417

clash-verge
\u5f00\u542f tun \u6a21\u5f0f\u7684\u65f6\u5019\uff0ctermius \u6ca1\u529e\u6cd5\u8fdb\u884c ssh \uff0c\u5173\u6389 tun \u5c31\u53ef\u4ee5\u8fde\u4e0a\u4e86

\u6709\u4ec0\u4e48\u89e3\u51b3\u529e\u6cd5\u5417" }, { "author": { "url": "member/ificando", "name": "ificando", "avatar": "https://cdn.v2ex.com/avatar/1a98/210e/722181_large.png?m=1736235336" }, "url": "t/1104296", "title": "mosh ssh \u95ee\u9898", "id": "t/1104296", "date_published": "2025-01-10T16:57:03+00:00", "content_html": "

\u624d\u77e5\u9053\u6709 mosh \u8fd9\u4e2a

\n

\u7ba1\u7406 vps \u7279\u522b\u9700\u8981

\n

\u4f46\u662f\u670d\u52a1\u5668\u5b89\u88c5\u4e86 mosh \uff0cmac \u8fde\u63a5\u5c31\u663e\u793a\u84dd\u8272\u5c4f

\n

mosh: Nothing received from server on UDP port 60001. [To quit: Ctrl-^ .]

\n

\u5565\u539f\u56e0\uff0c\u6211\u770b\u597d\u591a\u4eba\u4e5f\u53d1\u8fd9\u4e2a

\n

\u8bf7\u5927\u4f6c\u5e2e\u5fd9\u770b\uff0c\u670d\u52a1\u5668\u652f\u6301 udp \uff0c\u4e5f\u5b89\u88c5 gpt \u4e00\u4e9b\u65b9\u5f0f\u786e\u8ba4\u4e86 \u4ec0\u4e48\u9632\u706b\u5899\u5173\u95ed\u5565\u7684

\n

\u5c31\u662f\u5ba2\u6237\u7aef\u8fde\u4e0d\u4e0a\u670d\u52a1\u5668\u90a3\u8fb9

\n" }, { "author": { "url": "member/ztq100", "name": "ztq100", "avatar": "https://cdn.v2ex.com/gravatar/443bd704aaee029c2931e6abdbc578bb?s=73&d=retro" }, "url": "t/1100067", "title": "\u6c42\u4e00\u4e2a mac \u4e0b\u7684 ssh \u7ec8\u7aef\u7ba1\u7406\u8f6f\u4ef6\uff0c\u521a\u9700\u591a\u5f00\u548c\u5e7f\u64ad\u8f93\u5165", "id": "t/1100067", "date_published": "2024-12-25T01:13:14+00:00", "content_html": "\u4e4b\u524d\u7528 win \u7684\u65f6\u5019\u7528\u7684 xshell \u5f88\u8212\u670d\uff0c\u4e00\u6b21\u80fd\u5f00 28 \u4e2a\u5de6\u53f3\u7684\u7ec8\u7aef\u8fd8\u53ef\u4ee5\u81ea\u52a8\u6392\u5217\uff0c\u5e7f\u64ad\u8f93\u5165
\u73b0\u5728\u6362\u5230 mac \u6682\u65f6\u6ca1\u627e\u5230\u76f8\u540c\u529f\u80fd\u7684\u8f6f\u4ef6
\u521a\u9700\u591a\u5f00\uff0c\u6700\u597d\u80fd\u4e00\u6b21\u5f00\u51e0\u5341\u4e2a\uff0c\u5c4f\u5e55\u80fd\u653e\u4e0b\u591a\u5c11\u5c31\u5f00\u591a\u5c11
\u7b2c\u4e8c\u4e2a\u521a\u9700\u5c31\u662f\u5e7f\u64ad\uff0c\u5728\u4e00\u4e2a\u7ec8\u7aef\u5185\u8f93\u5165\u547d\u4ee4\u6240\u6709\u5176\u4ed6\u7ec8\u7aef\u4e00\u8d77\u8f93\u5165
\u8bd5\u8fc7\u4e86 termius \u4f46\u662f\u4ed6\u597d\u50cf\u4e00\u6b21\u53ea\u652f\u6301\u5206\u56db\u4e2a\u5c4f
\u6c42\u4e00\u4e2a\u80fd\u5b9e\u73b0\u8fd9\u79cd\u529f\u80fd\u7684 ssh \u8f6f\u4ef6
\u8c22\u8c22" }, { "author": { "url": "member/kady", "name": "kady", "avatar": "https://cdn.v2ex.com/avatar/49f9/b0eb/591584_large.png?m=1757915574" }, "url": "t/1090481", "title": "Tabby \u7ec8\u4e8e\u53c8\u53ef\u4ee5\u4e91\u540c\u6b65\u4e86\uff0c\u8d85\u7ea7\u7b80\u5355\uff01", "id": "t/1090481", "date_published": "2024-11-18T05:36:14+00:00", "content_html": "Tabby \u7684\u63d2\u4ef6 Cloud Sync Setting \u66f4\u65b0\u4e3a 1.6.5 \u7248\uff0c\u652f\u6301\u4f7f\u7528 Dropbox \u4e91\u540c\u6b65\uff0c\u8fd9\u6837\u5c31\u80fd\u4ee5\u6700\u7b80\u5355\u7684\u65b9\u5f0f\uff0c\u5b9e\u73b0\u4e91\u540c\u6b65\u4e86\uff01

\u53ef\u4ee5\u7528\u6211\u7684\u63a8\u8350\u94fe\u63a5 https://www.dropbox.com/referrals/AAA762A71g7Yy2hedMM2h64khedqWGlOrAo?src=global9 \u6ce8\u518c\uff0c\u6ce8\u518c\u7684\u65f6\u5019\u9009\u514d\u8d39\u7684 Basic \u5957\u9910\uff0c\u8fd9\u6837\u6ce8\u518c\u540e\u4f60\u548c\u6211\u90fd\u6709 500M \u7684\u5956\u52b1\uff0c\u6700\u591a\u53ef\u4ee5\u5956\u52b1 16G \u3002\u7279\u522b\u6ce8\u610f\uff0c\u6ce8\u518c\u540e\uff0c\u8981\u5728\u90ae\u7bb1\u70b9\u51fb\u9a8c\u8bc1\uff0c\u5e76\u5b89\u88c5\u684c\u9762 APP \u5e94\u7528\uff0c\u8fd9\u6837\u624d\u80fd\u83b7\u5f97\u5956\u52b1\u54df\uff01" }, { "author": { "url": "member/GopherDaily", "name": "GopherDaily", "avatar": "https://cdn.v2ex.com/gravatar/89208b8c3493547fe544b2d5142dc131?s=73&d=retro" }, "url": "t/1087392", "title": "\u901a\u8fc7 OSC 52 \u5728 SSH \u4e2d\u8c03\u7528\u672c\u5730 clipboard", "id": "t/1087392", "date_published": "2024-11-07T04:22:16+00:00", "content_html": "

\u6211\u65e5\u5e38\u4f7f\u7528 MacbookPro, \u4f46\u6709\u4e00\u534a\u7684\u5f00\u53d1\u5de5\u4f5c\u901a\u8fc7 SSH \u5728 Linux/amd64 \u7684\u73af\u5883\u4e0b\u5b8c\u6210.\n\u8003\u8651\u5230\u6211\u57fa\u672c\u4f7f\u7528 vim \u505a\u4e3a\u7f16\u8f91\u5668, \u4e0a\u8ff0\u65b9\u6848\u7684\u552f\u4e00\u75db\u70b9\u5728\u4e8e\u4e24\u53f0\u673a\u5668\u65e0\u6cd5\u5171\u4eab\u526a\u8d34\u76d8.

\n

\u6628\u5929\u4e58\u7740\u914d\u7f6e\u65b0\u73af\u5883\u7684\u673a\u4f1a, \u641c\u7d22\u4e86\u4e00\u4e0b\u89e3\u51b3\u65b9\u6848, \u9009\u62e9\u4e86 OSC 52.

\n

OSC \u662f Operating System Command \u7684\u7f29\u5199, \u5176\u7ea6\u5b9a\u4e86\u4e00\u7cfb\u5217\u7279\u6b8a\u7b26\u53f7\u7684\u542b\u4e49.\nOSC 52\n\u662f\u5176\u4e00\u4e2a\u5b50\u7c7b, \u7528\u4e8e\u63a7\u5236\u7cfb\u7edf\u526a\u8d34\u677f. \u6211\u4eec\u5f15\u7528 tmux \u7684\u6587\u6863\u6765\u603b\u7ed3\u5176\u539f\u7406:

\n
\n

Some terminals offer an escape sequence to set the clipboard.\nThis is one of the operating system control sequences so it is known as OSC 52.

\n

The way it works is that when text is copied in tmux it is packaged up and sent to the outside terminal in a similar way to how tmux draws the text and colours and attributes. The outside terminal recognises the clipboard escape sequence and sets the system clipboard.

\n
\n

\u5f53\u524d\u5927\u90e8\u5206\u7684\u7ec8\u7aef\u90fd\u5df2\u7ecf\u652f\u6301\u4e86\u8fd9\u9879\u529f\u80fd,\n\u5f53\u4f60\u5728\u7ec8\u7aef\u6267\u884c echo -en \"\\e]52;c;$(base64 <<< OSC)\\a\" \u540e\u518d\u9ecf\u8d34\u53ef\u4ee5\u770b\u5230 OSC \u8fd9\u4e09\u4e2a\u5b57\u7b26\u4e32.

\n

OSC 52 \u5728 tmux \u4e2d\u7684\u5b9a\u4e49\u662f \\033]52;%p1%s;%p2%s\\a, \u5176\u4e2d\u5404\u9879\u7684\u542b\u4e49\u662f:

\n\n

\u6211\u5728 iterm2 \u4e2d\u4f7f\u7528 tmux, \u53c2\u8003 tmux \u7684\u5b98\u65b9\u6587\u6863, \u53ef\u4ee5\u77e5\u9053\u5173\u952e\u7684\u51e0\u9879\u8bbe\u7f6e:

\n
    \n
  1. iterm2 \u9700\u8981\u5141\u8bb8\u5185\u90e8\u5e94\u7528\u8bbf\u95ee\u7cfb\u7edf\u526a\u8d34\u677f, Link
  2. \n
  3. tmux \u914d\u7f6e TERM, \u68c0\u67e5\u65b9\u5f0f\u4e3a tmux info | grep Ms, \u8bbe\u7f6e\u65b9\u5f0f\u4e3a set-option -as terminal-overrides \",xterm-256color:clipboard\"
  4. \n
  5. tmux \u914d\u7f6e set-clipboard, \u8bbe\u7f6e\u8bbf\u95ee\u662f set -g set-clipboard on
  6. \n
  7. \u901a\u8fc7 tmux source-file \u66f4\u65b0\u914d\u7f6e
  8. \n
\n

\u9700\u8981\u989d\u5916\u8c08\u7684\u662f set-clipboard, \u6587\u6863\u63a8\u8350\u7684\u8bbe\u7f6e\u662f external, \u4f46\u6211\u9009\u62e9\u7684\u662f on.\n\u4e8c\u8005\u7684\u533a\u522b\u5728\u4e8e on \u5141\u8bb8 tmux \u548c tmux \u5185\u7684\u5e94\u7528\u8bbe\u7f6e\u526a\u8d34\u677f, external \u4ec5\u5141\u8bb8 tmux \u8bbe\u7f6e\u526a\u8d34\u677f.\n\u6240\u4ee5\u5f53\u6211\u901a\u8fc7 ssh \u8bbf\u95ee\u5f00\u53d1\u673a\u5e76\u5e0c\u671b\u5728\u5f00\u53d1\u673a\u5185\u8bbf\u95ee\u672c\u673a\u7684\u526a\u8d34\u677f\u65f6\u9700\u8981\u5c06 set-clipboard \u8bbe\u7f6e\u4e3a on.

\n

\u6700\u540e\u901a\u8fc7 remote-pbcopy-iterm2 \u5c06 OSC 52 \u7684\u903b\u8f91\u5c01\u88c5\u6210\u4e86\u547d\u4ee4 pbcopy.

\n" }, { "author": { "url": "member/Edsie", "name": "Edsie", "avatar": "https://cdn.v2ex.com/avatar/1f14/2639/306993_large.png?m=1536158369" }, "url": "t/1087070", "date_modified": "2024-11-10T08:46:55+00:00", "content_html": "

\u7ec8\u7aef\u6a21\u62df\u5de5\u5177\u4f7f\u7528\u7684\u662f Kitty \uff0c\u6211\u633a\u559c\u6b22\u7684\n\u4f46\u662f\u65e5\u5e38\u5de5\u4f5c\u9700\u8981\u8fde\u63a5\u5927\u91cf\u7684 ssh \uff0ckitty \u65e0\u6cd5\u5e2e\u6211\u505a\u5230\u4ee5\u4e0b\u4e8b\u60c5

\n
    \n
  1. \u8bb0\u4f4f ssh \u8fde\u63a5\u8bb0\u5f55
  2. \n
  3. \u8bb0\u4f4f ssh \u8fde\u63a5\u5bc6\u7801\uff08\u516c\u53f8\u5185\u7f51\u673a\u5668\uff0c\u5bc6\u7801\u4e5f\u90fd\u6bd4\u8f83\u7b80\u5355\uff09
  4. \n
\n

\u4e0d\u50cf\u6362\u7ec8\u7aef\u5de5\u5177\uff0c\u867d\u7136 Kitty \u672c\u8eab\u6709 Kitten \u53ef\u4ee5\u8fdb\u884c\u4e00\u4e9b\u62d3\u5c55\uff0c\u4f46\u662f\u6ca1\u6709\u76f8\u5173\u7ecf\u9a8c\uff0c\u5982\u679c\u80fd\u63d0\u4f9b\u76f8\u5173\u6307\u5bfc\u4e5f\u53ef

\n", "date_published": "2024-11-06T03:12:40+00:00", "title": "\u6709\u4ec0\u4e48\u80fd\u5f88\u597d\u7ba1\u7406 ssh \u8fde\u63a5\u7684\u5de5\u5177\u5417", "id": "t/1087070" }, { "author": { "url": "member/wljn", "name": "wljn", "avatar": "https://cdn.v2ex.com/avatar/4cbd/c875/620983_large.png?m=1697188088" }, "url": "t/1075360", "date_modified": "2024-09-24T23:57:58+00:00", "content_html": "

\u7528 nat \u9e21\u642d\u5efa\u7684\u8282\u70b9\uff0c\u8fde\u63a5 nat \u9e21 ssh \u51fa\u9519

\n

\u5176\u4ed6\u8282\u70b9\u8fde\u63a5 nat \u9e21 ssh \u6b63\u5e38

\n

\u95ee\u4e86 gpt \u6ca1\u627e\u5230\u9760\u8c31\u7684\u7b54\u6848

\n", "date_published": "2024-09-24T04:19:01+00:00", "title": "\u6c42\u52a9 \u8bf7\u6559\u4e00\u4e2a ssh \u95ee\u9898", "id": "t/1075360" }, { "author": { "url": "member/BlackSnow", "name": "BlackSnow", "avatar": "https://cdn.v2ex.com/avatar/077f/9542/682408_large.png?m=1724034304" }, "url": "t/1068605", "title": "SSHD \u914d\u7f6e\u95ee\u9898", "id": "t/1068605", "date_published": "2024-08-29T00:53:16+00:00", "content_html": "

\u8bf7\u6559\u4e00\u4e0b\u65ad\u8054\u95ee\u9898\u7684\u89e3\u51b3\u65b9\u6848\n\u672c\u4eba\u7528\u81ea\u5df1\u7684 windows \u8fde\u63a5\u67d0\u670d\u52a1\u5668\uff0c\u4e00\u6bb5\u65f6\u95f4\u540e\u5c31\u4f1a\u65ad\u8054\uff0c\u6309\u7167\u6211\u8bbe\u7f6e\u7684\u5e94\u8be5\u662f 900 \u5206\u949f\u624d\u5bf9\u3002\n\u5bf9\u6bd4\u516c\u53f8\u90a3\u53f0 window \uff0c\u5c31\u6ca1\u6709\u8fd9\u79cd\u60c5\u51b5\u3002\n\u8fd9\u91cc\u5217\u4e00\u4e0b\u4e0d\u540c\u7684\u73af\u5883\uff0c\u770b\u6709\u6ca1\u6709\u5e2e\u5c0f\u767d\u6307\u70b9\u7684\u3002

\n

\u79c1\u7528 windows\uff1a\nopenssh\nSSHD \u6309\u7167\u67d0\u4e2a\u535a\u4e3b\u7684\u65b9\u5f0f\u4fee\u6539\u4ee3\u7801\u5982\u4e0b\uff1a\nClientAliveInterval 30\nClientAliveCountMax 30

\n

\u516c\u53f8 windows\n\u539f\u751f git for windows \u9644\u5e26\u7684 ssh,\n\u672a\u505a\u4efb\u4f55\u4fee\u6539

\n" }, { "author": { "url": "member/icegogh", "name": "icegogh", "avatar": "https://cdn.v2ex.com/gravatar/876ca7eabf063a078762c77e7d16eb3f?s=73&d=retro" }, "url": "t/1055740", "title": "\u901a\u8fc7 frp \u5185\u7f51\u7a7f\u900f ssh \u8fde\u63a5\u5bb6\u91cc\u672c\u5b50", "id": "t/1055740", "date_published": "2024-07-08T09:54:58+00:00", "content_html": "\u5982\u9898\u901a\u8fc7 frp \u670d\u52a1\uff0c\u8fdc\u7a0b ssh \u4fe1\u4efb\u8bc1\u4e66\u7684\u65b9\u5f0f\uff0c\u53d1\u73b0\u65e0\u6cd5\u8fdc\u7a0b\u6210\u529f\uff0c

\u5c1d\u8bd5\u4e86 \u6a31\u82b1 frp 0.45 \u7248\u672c\u7684 \u5c31\u662f.ini \u914d\u7f6e\u6587\u4ef6\u7684

\u4ee5\u53ca\u81ea\u5efa\u7684 0.53 \u7248\u672c \u5c31\u662f .toml \u914d\u7f6e\u6587\u4ef6\u7684 \u90fd\u4e0d\u884c\u3002

\u4e3a\u4e86\u786e\u8ba4\u662f\u5426\u662f\u79d8\u94a5\u6587\u4ef6\u76f8\u5173\u914d\u7f6e\u7684\u95ee\u9898\uff0c\u76f4\u63a5\u914d\u7f6e\u8fdc\u7a0b\u670d\u52a1\u5668 ssh \u6210\u529f

\u8bf7\u6559 frp \u662f\u4e0d\u652f\u6301 ssh \u5bc6\u94a5\u65b9\u5f0f\u5417\uff1f" }, { "author": { "url": "member/FrankAdler", "name": "FrankAdler", "avatar": "https://cdn.v2ex.com/gravatar/783e61f6fe72b7f9527e20d21542369a?s=73&d=retro" }, "url": "t/1044356", "title": "iTerm2 \u66f4\u65b0\u91cd\u542f\uff0c session \u5c45\u7136\u4e0d\u4f1a\u65ad\u7684\uff1f\u4ec0\u4e48\u539f\u7406", "id": "t/1044356", "date_published": "2024-05-27T07:40:38+00:00", "content_html": "

\u5f00\u4e86 12 \u4e2a ssh \u7a97\u53e3\uff0c\u66f4\u65b0\u91cd\u542f\u540e\u8ddf\u4e4b\u524d\u4e00\u6bdb\u4e00\u6837\u3002

\n" }, { "author": { "url": "member/PatrickLe", "name": "PatrickLe", "avatar": "https://cdn.v2ex.com/avatar/66c0/91ce/543209_large.png?m=1752148431" }, "url": "t/1037989", "date_modified": "2024-05-08T04:19:19+00:00", "content_html": "\u4e00\u4e2a\u6d77\u5916\u7684 VPS \u88ab\u5899\u4e86,\u8bd5\u7740\u5728 surge \u91cc\u5bf9\u8fd9\u4e2a IP \u52a0\u4e0a\u4ee3\u7406\uff0c\u4f46\u662f\u4e0d\u8d77\u4f5c\u7528,\u8bf7\u95ee\u4e0b\u8be5\u600e\u4e48\u89e3\u51b3\u5462?", "date_published": "2024-05-06T02:57:28+00:00", "title": "mac \u7684 SSH \u8fde\u63a5\u53ef\u4ee5\u5957\u4ee3\u7406\u5417\uff1f", "id": "t/1037989" }, { "author": { "url": "member/AlghaPorthos", "name": "AlghaPorthos", "avatar": "https://cdn.v2ex.com/avatar/b74b/bb22/449220_large.png?m=1745496388" }, "url": "t/1012116", "title": "\u6c42\u5927\u4f6c\u6307\u6761\u8def\uff0c\u63d0\u4f9b\u4e00\u4e2a\u80fd\u8ba9\u5b66\u6821\u670d\u52a1\u5668\u8bbf\u95ee hugging face \u7684\u624b\u6bb5", "id": "t/1012116", "date_published": "2024-01-27T15:28:25+00:00", "content_html": "

RT

\n

\u5b66\u6821\u7684\u670d\u52a1\u5668\u662f\u901a\u8fc7 ssh \u548c\u7ec8\u7aef\u8bbf\u95ee\u7684\u3002\u6211\u5728\u8dd1\u4e00\u4e2a\u9879\u76ee\u7684\u65f6\u5019\uff0c\u53d1\u73b0\u9700\u8981\u4ece hugging face \u4e0b\u8f7d\u4e00\u5806\u7684\u6a21\u578b\uff08~50GB \uff09\uff0c\u7136\u800c\u670d\u52a1\u5668\u53d7\u5230\u795e\u79d8\u529b\u91cf\u7684\u5f71\u54cd\u5e76\u4e0d\u80fd\u505a\u5230\u3002\u8bf7\u95ee\u5404\u4f4d\u5927\u4f6c\u6709\u6ca1\u6709\u6bd4\u8f83\u6210\u719f\u5e76\u4e14\u4e0d\u6298\u817e\u7684\u65b9\u6848\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff1f

\n" }, { "author": { "url": "member/BeforeTooLate", "name": "BeforeTooLate", "avatar": "https://cdn.v2ex.com/avatar/0dae/9391/455039_large.png?m=1769153923" }, "url": "t/991522", "date_modified": "2023-11-13T08:46:46+00:00", "content_html": "

\u670d\u52a1\u5668\u73af\u5883\uff1aDebian 12\nssh\uff1aOpenSSH_9.2p1 Debian-2+deb12u1, OpenSSL 3.0.11 19 Sep 2023

\n

1.\u672c\u5730\u7ec8\u7aef\u5982 Microsoft terminal \u53ef\u4ee5\u6b63\u5e38 ssh \u8fde\u63a5
\n2.\u540c\u6b65\u5bf9\u6bd4\u8f6f\u4ef6 beyond compare \u65e0\u6cd5\u8fde\u63a5\u6b64\u670d\u52a1\u5668\uff0c\u4f46\u662f\u53ef\u4ee5\u6b63\u5e38\u8fde\u63a5\u5176\u4ed6\u8001\u7684 centos \u670d\u52a1\u5668
\n3.\u8fd8\u662f\u6000\u7591\u662f\u6211 beyond compare \u7248\u672c\u592a\u8001\u4e86\uff0c\u4e0b\u4e86\u6700\u65b0\u7684 beyond compare4 \uff0c\u53ef\u4ee5\u6b63\u5e38\u8fde\u63a5
\n4.sshd \u6211\u5f00\u542f\u4e86\u5bc6\u7801\u548c\u5bc6\u94a5\u90fd\u53ef\u4ee5\u8ba4\u8bc1\uff0c\u4e3a\u5565 beyond compare3 \u8fd8\u662f\u4e0d\u80fd\u8fde\u63a5\uff0c\u6211\u5c31\u5f00\u542f\u4e86\u65e5\u5fd7 debug \u6a21\u5f0f\uff0c\u770b\u770b\u53d1\u751f\u4ec0\u4e48\u95ee\u9898\uff0c\u53d1\u73b0\u5728 SSH2_MSG_KEXINIT sent \u540e\u5c31\u76f4\u63a5\u5173\u95ed\u4e86\uff0c\u4e0b\u9762\u662f\u65e5\u5fd7\uff0c\u800c\u672c\u5730\u5ba2\u6237\u7aef\u662f\u770b\u4e0d\u5230\u65e5\u5fd7\u7684\uff0c\u6211\u67e5\u4e86\u4e0b\u6709\u8bf4\u8ba9\u6211\u91cd\u65b0\u751f\u6210\u4e00\u4e0b ssh_host*,\u6709\u7684\u8bf4 mtu \u8bbe\u7f6e\u4e0d\u5bf9\u3002\u8bd5\u4e86\u90fd\u4e0d\u884c\u3002
\n2023-11-13T15:50:26.806667+08:00 xxxxx sshd[222683]: debug1: Forked child 222693.
\n2023-11-13T15:50:26.807145+08:00 xxxxx sshd[222693]: debug1: Set /proc/self/oom_score_adj to 0
\n2023-11-13T15:50:26.807247+08:00 xxxxx sshd[222693]: debug1: rexec start in 4 out 4 newsock 4 pipe 6 sock 7
\n2023-11-13T15:50:26.816725+08:00 xxxxx sshd[222693]: debug1: inetd sockets after dupping: 4, 4
\n2023-11-13T15:50:26.816825+08:00 xxxxx sshd[222693]: Connection from 1.1.1.1 port 62336 on 2.1.1.1 port 10011 rdomain \"\"
\n2023-11-13T15:50:26.816891+08:00 xxxxx sshd[222693]: debug1: Local version string SSH-2.0-OpenSSH_9.2p1 Debian-2+deb12u1
\n2023-11-13T15:50:26.824087+08:00 xxxxx sshd[222693]: debug1: Remote protocol version 2.0, remote software version Beyond
\n2023-11-13T15:50:26.824194+08:00 xxxxx sshd[222693]: debug1: compat_banner: no match: Beyond
\n2023-11-13T15:50:26.825178+08:00 xxxxx sshd[222693]: debug1: permanently_set_uid: 101/65534 [preauth]
\n2023-11-13T15:50:26.825337+08:00 xxxxx sshd[222693]: debug1: list_hostkey_types: rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519 [preauth]
\n2023-11-13T15:50:26.825398+08:00 xxxxx sshd[222693]: debug1: SSH2_MSG_KEXINIT sent [preauth]
\n2023-11-13T15:50:26.833071+08:00 xxxxx sshd[222693]: Connection closed by 1.1.1.1 port 62336 [preauth]
\n2023-11-13T15:50:26.833245+08:00 xxxxx sshd[222693]: debug1: do_cleanup [preauth]
\n2023-11-13T15:50:26.833372+08:00 xxxxx sshd[222693]: debug1: monitor_read_log: child log fd closed
\n2023-11-13T15:50:26.833414+08:00 xxxxx sshd[222693]: debug1: do_cleanup
\n2023-11-13T15:50:26.833454+08:00 xxxxx sshd[222693]: debug1: Killing privsep child 222694
\n2023-11-13T15:50:26.833487+08:00 xxxxx sshd[222693]: debug1: audit_event: unhandled event 12

\n", "date_published": "2023-11-13T08:26:03+00:00", "title": "\u8bf7\u6559\u4e2a\u7684 ssh \u8fde\u63a5\u4e0d\u4e0a\u7684\u95ee\u9898\uff0c SSH2_MSG_KEXINIT sent \u540e\u9a6c\u4e0a\u5173\u95ed\u4e86", "id": "t/991522" }, { "author": { "url": "member/alanying", "name": "alanying", "avatar": "https://cdn.v2ex.com/avatar/8a47/461b/175093_large.png?m=1765461081" }, "url": "t/989621", "title": "2024 \u5e74\u4e86\uff0c macOS \u4e0a\u6700\u597d\u7528\u7684 SSH \u5de5\u5177\u662f\u5565\uff1f", "id": "t/989621", "date_published": "2023-11-07T10:19:26+00:00", "content_html": "

\u4e0d\u7792\u5927\u5bb6\u8bf4\uff0c\u6211 VMWare Fusion + XShell

\n

\u4f46\u662f\u611f\u89c9\u592a\u539a\u91cd\u4e86\u3002

\n" }, { "author": { "url": "member/xianzhe", "name": "xianzhe", "avatar": "https://cdn.v2ex.com/avatar/6883/3c39/433692_large.png?m=1684926609" }, "url": "t/989419", "date_modified": "2023-11-17T00:11:29+00:00", "content_html": "\u8bc1\u4e66\u767b\u5f55\u662f\u5565\u53c2\u89c1\u962e\u5927\u7684\u535a\u5ba2\uff1a https://www.ruanyifeng.com/blog/2020/07/ssh-certificate.html
\u516c\u53f8\u73b0\u5728\u7528\u7684\u5c31\u662f\u8fd9\u73a9\u610f\uff0c\u76ee\u524d\u8bd5\u4e0b\u6765\u53ea\u6709 termius \u652f\u6301\u7684\u5f88\u597d\uff0c\u4f46\u662f\u8fd9\u4e1c\u897f\u6536\u8d39\uff0cxshell \u8bf4\u662f\u652f\u6301\uff0c\u4f46\u662f\u6363\u9f13\u4e86\u4e0b\u6ca1\u6210\u529f\u3002", "date_published": "2023-11-07T03:05:35+00:00", "title": "\u6709\u4ec0\u4e48\u5bf9 ssh \u8bc1\u4e66\u767b\u5f55\u652f\u6301\u6bd4\u8f83\u597d\u7684\u514d\u8d39\u5de5\u5177\u5417\uff1f", "id": "t/989419" }, { "author": { "url": "member/serafin", "name": "serafin", "avatar": "https://cdn.v2ex.com/avatar/ddaf/7334/527646_large.png?m=1710953575" }, "url": "t/987295", "title": "1panel \u81ea\u5e26\u7684\u7ec8\u7aef \u5f53 web SSH \u5f88\u597d\u7528\uff0c\u6709\u5355\u72ec docker \u7248\u5417\uff1f", "id": "t/987295", "date_published": "2023-10-31T21:44:12+00:00", "content_html": "" }, { "author": { "url": "member/thunderbuddy", "name": "thunderbuddy", "avatar": "https://cdn.v2ex.com/avatar/8d37/3d42/153675_large.png?m=1770198882" }, "url": "t/986278", "date_modified": "2023-10-29T00:09:10+00:00", "content_html": "

\u540e\u53f0\u65b9\u5f0f\u6267\u884c\u547d\u4ee4\u65f6\uff0cPATH \u53d8\u91cf\u4e3a\"$PATH:/usr/local/bin\"\uff0c\u5bfc\u81f4\u5f88\u591a\u547d\u4ee4\u627e\u4e0d\u5230

\n

ssh \u767b\u5165\u540e\u518d\u6267\u884c\uff0cPATH \u5c31\u6b63\u5e38\u4e86\uff0c\u8bf7\u5927\u5bb6\u5e2e\u5fd9\u770b\u770b\u95ee\u9898\u5728\u54ea\u5462

\n
aaron@Aaron-PC:~$ ssh 192.168.2.11 'export'\ndeclare -x HOME=\"/var/services/homes/aaron\"\ndeclare -x LOGNAME=\"aaron\"\ndeclare -x MAIL=\"/var/mail/aaron\"\ndeclare -x OLDPWD\ndeclare -x PATH=\"\\$PATH:/usr/local/bin\"\ndeclare -x PWD=\"/volume2/homes/aaron\"\ndeclare -x SHELL=\"/bin/ash\"\ndeclare -x SHLVL=\"1\"\ndeclare -x SSH_CLIENT=\"192.168.2.97 57086 22\"\ndeclare -x SSH_COnNECTION=\"192.168.2.97 57086 192.168.2.11 22\"\ndeclare -x USER=\"aaron\"\n
\n", "date_published": "2023-10-28T09:35:57+00:00", "title": "ssh \u6267\u884c\u65f6$PATH \u53d8\u91cf\u672a\u66ff\u6362", "id": "t/986278" }, { "author": { "url": "member/ZettarYuFan", "name": "ZettarYuFan", "avatar": "https://cdn.v2ex.com/avatar/9d15/8e4c/644798_large.png?m=1764817237" }, "url": "t/979520", "date_modified": "2023-10-08T01:32:43+00:00", "content_html": "\u6211\u662f\u7b2c\u4e00\u6b21\u8d2d\u4e70\u56fd\u5916\u7684\u670d\u52a1\u5668\uff0c\u7528 ssh \u8fde\u63a5\u5de5\u5177\u8fde\u63a5\u660e\u663e\u5361\u987f\uff0c\u6bd4\u5728\u56fd\u5185\u7684\u670d\u52a1\u5668\u8f93\u5165\u5361\u987f\uff0c\u6709\u4ec0\u4e48\u89e3\u51b3\u65b9\u6cd5\u5417\uff1f", "date_published": "2023-10-07T07:04:03+00:00", "title": "\u8bf7\u95ee\u4e0b v \u53cb\u4eec\uff0c\u7528 ssh \u8fde\u63a5\u56fd\u5916\u670d\u52a1\u5668\u5361\u987f\u6709\u4ec0\u4e48\u89e3\u51b3\u65b9\u6cd5\u5417\uff1f", "id": "t/979520" }, { "author": { "url": "member/xiaopanzi", "name": "xiaopanzi", "avatar": "https://cdn.v2ex.com/avatar/a2a3/d5b8/206459_large.png?m=1699876192" }, "url": "t/978695", "date_modified": "2023-10-03T03:59:45+00:00", "content_html": "

\u5f53\u6211\u4f7f\u7528\u672c\u5730\u673a\u5668\uff08 A \uff09\u901a\u8fc7 SSH \u8fde\u63a5\u5230\u8fdc\u7a0b\u673a\u5668\uff08 B \uff09\u65f6\uff0c\u5728 A \u673a\u5668\u590d\u5236\u7684\u5185\u5bb9\u53ef\u4ee5\u901a\u8fc7 Ctrl-Shift-V \u7c98\u8d34\u5230 B \u673a\u5668\u3002\u4f46\u662f\uff0c\u5982\u4f55\u53cd\u5411\u64cd\u4f5c\u5462\uff1f\u5373\u5728 B \u673a\u5668\u590d\u5236\u7684\u5185\u5bb9\u80fd\u76f4\u63a5\u5728 A \u673a\u5668\u7c98\u8d34\u3002

\n

\u6211\u5728 StackOverflow \u770b\u5230\u5f88\u591a\u7c7b\u4f3c\u7684\u95ee\u9898\uff0c\u6bd4\u5982How to send data to local clipboard from a remote SSH session\uff0c\u4f46\u611f\u89c9\u8fd9\u4e9b\u65b9\u6848\u90fd\u6709\u70b9\u9ebb\u70e6\u3002

\n

\u6211\u76ee\u524d\u4f7f\u7528\u7684\u7ec8\u7aef\u662f Kitty \uff0c\u6240\u4ee5\u4e5f\u63a5\u53d7 terminal-specific \u7684\u65b9\u6848\u3002

\n

\u5927\u5bb6\u76ee\u524d\u662f\u4f7f\u7528\u4ec0\u4e48\u65b9\u6848\uff1f

\n", "date_published": "2023-10-03T03:55:10+00:00", "title": "\u5982\u4f55\u540c\u6b65\u8fdc\u7a0b SSH \u673a\u5668\u7c98\u8d34\u677f\u7684\u5185\u5bb9", "id": "t/978695" }, { "author": { "url": "member/JeffyChen", "name": "JeffyChen", "avatar": "https://cdn.v2ex.com/gravatar/8645ed622f9794bcf7a3926c507620e8?s=73&d=retro" }, "url": "t/975447", "date_modified": "2023-09-20T02:52:38+00:00", "content_html": "", "date_published": "2023-09-20T02:31:30+00:00", "title": "wrap \u7ec8\u7aef\u8981\u600e\u4e48\u4fdd\u5b58 ssh \u4f1a\u8bdd\uff1f", "id": "t/975447" }, { "author": { "url": "member/allAboutDbmss", "name": "allAboutDbmss", "avatar": "https://cdn.v2ex.com/gravatar/768eb37d1b27ae383484fb24b43bd5e0?s=73&d=retro" }, "url": "t/975352", "date_modified": "2023-09-20T02:53:51+00:00", "content_html": "

\u5728\u7ad9\u91cc\u9762\u770b\u5230 xterminal
\n\u4f46\u662f\u6211\u662f arch \u4e0d\u592a\u80fd\u7528\u3002\u800c\u4e14\u60f3\u95ee\u4e00\u4e0b\u6709\u65e0\u5927\u5bb6\u63a8\u8350\u5f00\u6e90\u7684\u597d\u7528\u7684 ssh \u5de5\u5177
\n\u611f\u8c22

\n", "date_published": "2023-09-19T14:59:57+00:00", "title": "\u6c42\u63a8\u8350 SSH \u5de5\u5177", "id": "t/975352" }, { "author": { "url": "member/sickoo", "name": "sickoo", "avatar": "https://cdn.v2ex.com/avatar/97d0/0df2/547448_large.png?m=1745990885" }, "url": "t/950586", "title": "\u6709\u4e2a\u7591\u60d1\uff0c\u65b0\u673a\u5668\u8fde\u63a5\u670d\u52a1\u5668\u5982\u4f55\u6dfb\u52a0\u5bc6\u94a5\uff1f\u590d\u5236\u539f\u6765\u5bc6\u94a5\uff1f", "id": "t/950586", "date_published": "2023-06-21T03:36:50+00:00", "content_html": "\u670d\u52a1\u5668\u4e0a\u5df2\u7ecf\u6709\u4e00\u4e2a\u516c\u94a5\uff0c\u590d\u5236\u539f\u6765\u673a\u5668\u5bc6\u94a5\u786e\u5b9e\u884c\uff0c\u4f46\u662f\u5f97\u57fa\u4e8e\u6709\u5bc6\u94a5\u7684\u673a\u5668\u4e0a\u64cd\u4f5c\uff0c\u65b0\u673a\u5668 gen \u4e86\u5bc6\u94a5\uff0cssh-copy-id \u4f1a\u63d0\u793a\u4e0d\u7ed9\u8fde\u63a5\u300c\u5927\u6982\u539f\u56e0\u662f\u6ca1\u6709\u5bc6\u94a5 \u767b\u5f55\u4e0d\u8fdb\u53bb\uff0c\u6ca1\u6743\u9650\u64cd\u4f5c\u300d" }, { "author": { "url": "member/sickoo", "name": "sickoo", "avatar": "https://cdn.v2ex.com/avatar/97d0/0df2/547448_large.png?m=1745990885" }, "url": "t/933297", "title": "\u6551\u4e00\u4e0b\uff0c\u7535\u8111\u8fde\u624b\u673a\u70ed\u70b9\u80fd\u8fde\u4e0a ssh\uff0c\u56de\u5bb6\u8fde wifi \u540e\u5c31\u4e0d\u884c\u3002", "id": "t/933297", "date_published": "2023-04-17T15:29:10+00:00", "content_html": "\u624b\u673a\u70ed\u70b9\u662f\u7535\u4fe1\u7684\uff0c\u5bb6\u91cc wifi \u662f\u79fb\u52a8\u7684\u3002

\u673a\u5b50\u662f RN \u5bb6\u7684\uff0c\u624b\u673a\u70ed\u70b9\u80fd\u88f8\u8fde\uff0c\u5bb6\u91cc\u79fb\u52a8\u5bbd\u5e26\u76f4\u63a5\u5d29\u4e86\u3002" }, { "author": { "url": "member/chaleaochexist", "name": "chaleaochexist", "avatar": "https://cdn.v2ex.com/avatar/7fd3/2e05/313174_large.png?m=1710590092" }, "url": "t/932436", "title": "\u6c42\u63a8\u8350\u80fd\u4fdd\u5b58\u5bc6\u7801\u7684 ssh comand line tools", "id": "t/932436", "date_published": "2023-04-14T02:42:27+00:00", "content_html": "

\u5ba2\u6237\u7684\u73af\u5883 \u8df3\u677f\u673a \u8df3\u56db\u6b21, \u4e5f\u5c31\u662f\u8bf4\u9700\u8981\u8f93\u5165\u56db\u6b21\u5bc6\u7801.

\n

\u4e0d\u6562 /\u4e0d\u5141\u8bb8\u4f7f\u7528 public key \u514d\u5bc6\u767b\u5f55.

\n

linux \u73af\u5883.

\n

\u6700\u597d\u80fd\u517c\u5bb9 ssh config. \u4e0d\u8f93\u5165\u5bc6\u7801.

\n

\u7c7b\u4f3c windows \u4e0b\u9762\u7684 tabby. \u4f46\u662f\u662f cmd \u5de5\u5177 \u6709\u63a8\u8350\u5417?

\n

sshpass \u6211\u4e5f\u6ca1\u8bd5\u9a8c\u6210\u529f, \u8fde\u8df3\u56db\u6b21...

\n" }, { "author": { "url": "member/xiaopanzi", "name": "xiaopanzi", "avatar": "https://cdn.v2ex.com/avatar/a2a3/d5b8/206459_large.png?m=1699876192" }, "url": "t/925074", "title": "22 \u7aef\u53e3\u65e0\u6cd5\u4f7f\u7528", "id": "t/925074", "date_published": "2023-03-18T05:33:26+00:00", "content_html": "

\u4e4b\u524d\u5728 Racknerd \u4e70\u4e86\u4e00\u53f0 VPS \uff0c\u4e00\u76f4\u6bd4\u8f83\u7a33\u5b9a\u3002\u4eca\u5929\u53d1\u73b0\uff0cssh\u7a81\u7136\u65e0\u6cd5\u4f7f\u7528\u4e86\uff1a

\n
ssh -vv xxx@23.xx.xx.xx\n
\n

\u663e\u793adebug1: Connecting to 23.xx.xx.xx [23.xx.xx.xx] port 22\u540e\u4e00\u76f4\u5728\u7b49\u5f85\u8fde\u63a5\u3002

\n

\u80fd ping \u901a\uff1bnc -vz 23.xx.xx.xx 22\u4e5f\u662f\u6ca1\u6709\u7ed3\u679c\uff0c\u4f46\u662f\u6d4b\u8bd5\u5176\u4ed6\u7aef\u53e3\uff08\u5982 443 \u662f\u6b63\u5e38\u7684\uff09\u3002\u53e6\u4e00\u65b9\u9762\uff0c\u6211\u901a\u8fc7\u5728\u7ebf\u7684\u7aef\u53e3\u68c0\u6d4b\u5de5\u5177\uff08\u5982yougetsignal\uff09\u663e\u793a 22 \u7aef\u53e3\u662f\u5f00\u653e\u7684\u3002

\n

\u6211\u4f30\u8ba1\u662f\u6211\u81ea\u5df1\u7f51\u7edc\u7684\u95ee\u9898\uff0c\u8fd9\u5e94\u8be5\u5982\u4f55\u8bca\u65ad\u5462\uff1f

\n" }, { "author": { "url": "member/msn1983aa", "name": "msn1983aa", "avatar": "https://cdn.v2ex.com/avatar/ab93/d220/91341_large.png?m=1425863774" }, "url": "t/924455", "title": "\u540c\u4e00\u4e2a wifi \u4e0b\uff0c\u624b\u673a\u53ef\u4ee5 ssh \u987a\u5229\u8fde\u4e0a\uff0c\u7535\u8111\u7aef\u5374\u5361\u5728\u8fde\u63a5\u4e2d\uff0c\u6c42\u89e3\u60d1", "id": "t/924455", "date_published": "2023-03-16T03:18:48+00:00", "content_html": "

\u8fde\u63a5\u7684\u662f\u540c\u4e00\u4e2a\u670d\u52a1\u5668\uff0c\u624b\u673a\u4e0a\u7684\u8fde\u63a5\u4fe1\u606f\u90fd\u662f\u7528 termius \u4e91\u81ea\u52a8\u540c\u6b65\u8fc7\u53bb

\n

\u7ed3\u679c\u624b\u673a\u4e0a\u53ef\u4ee5\u987a\u5229\u8fde\u63a5\uff0c\u7535\u8111\u4e0a\u5c31\u5361\u5728 connection time out

\n

\u670d\u52a1\u5668\u7684 ip \u548c\u57df\u540d ping \u90fd\u662f\u901a\u7684\uff0c\u9632\u706b\u5899\u4e5f\u5f00\u653e\u4e86\u7aef\u53e3

\n

\u767e\u601d\u4e0d\u5f97\u5176\u89e3\uff0c\u6c42\u5927\u795e\u6307\u5f15

\n" }, { "author": { "url": "member/xiaopanzi", "name": "xiaopanzi", "avatar": "https://cdn.v2ex.com/avatar/a2a3/d5b8/206459_large.png?m=1699876192" }, "url": "t/906734", "title": "iTerm2 \u4e2d\u5982\u4f55\u6dfb\u52a0 CloudFlare Tunnel \u7684 SSH Profile", "id": "t/906734", "date_published": "2023-01-05T05:51:20+00:00", "content_html": "

\u6628\u5929\u770b\u5230\u8bba\u575b\u4e0a\u6709\u4eba\u63d0\u5230 CloudFlare Tunnel \uff0c\u5728\u6211\u7684\u4e00\u53f0 Manjaro \u673a\u5668\u4e0a\u8bd5\u7528\u4e86\u4e00\u4e0b\uff0c\u611f\u89c9\u8fd8\u53ef\u4ee5\uff0c\u9664\u4e86\u6709\u70b9\u5361\u987f\uff0c\u57fa\u672c\u6ca1\u6709\u7f3a\u70b9\u3002\u6211\u73b0\u5728\u60f3\u5728 Mac \u7684 iTerm2 \u4e0a\u6dfb\u52a0\u5176 SSH Profile \u3002

\n

\u6211\u5df2\u7ecf\u914d\u7f6e\u4e86.ssh/config\uff0c\u5e76\u914d\u7f6e\u4e86\u516c\u94a5\uff1a

\n
Host manjaro\n HostName remote.xx.xx\n User xxx\n ProxyCommand cloudflared access ssh --hostname %h\n
\n

\u6240\u4ee5\u80fd\u591f\u76f4\u63a5\u5728\u7ec8\u7aef\u91cc\u9762\u76f4\u63a5\u4f7f\u7528ssh manjaro\u8bbf\u95ee\uff1b\u6211\u8bd5\u7740\u5728 iTerm2 \u91cc\u9762\u6dfb\u52a0\u4e00\u4e2a Profile \uff0c\u5728command\u90a3\u91cc\u9009\u62e9command\uff0c\u5e76\u586b\u5199\u4e86ssh manjaro\uff0c

\n

\"profile\"

\n

\u4f46\u662f\u5f53\u6253\u5f00\u8fd9\u4e2a Profile \u65f6\uff0c\u5c31\u4f1a\u62a5\u9519\uff1a

\n
\n

command not found: cloudflared

\n
\n

\u8bf7\u95ee\u5e94\u8be5\u5982\u4f55\u914d\u7f6e Profile \uff1f

\n" }, { "author": { "url": "member/p569945867", "name": "p569945867", "avatar": "https://cdn.v2ex.com/avatar/0bb8/7c8d/194452_large.png?m=1475481027" }, "url": "t/874913", "title": "\u516c\u53f8\u7535\u8111\u88c5\u4e86\u52a0\u5bc6\u8f6f\u4ef6\u540e\uff0c openssh \u7528\u4e0d\u4e86\u4e86", "id": "t/874913", "date_published": "2022-08-23T14:56:16+00:00", "content_html": "

RT \uff0cputty \u80fd\u7528 ssh \u8fde\u5230\u8fdc\u7aef\uff0c\u4f46 openssh \u4e0d\u80fd\uff08\u8981\u7528 vscode \uff0c\u633a\u96be\u9876\uff09\uff0c\u6709\u597d\u5144\u5f1f\u77e5\u9053\u5927\u6982\u54ea\u4e2a\u65b9\u5411\u51fa\u4e86\u95ee\u9898\u561b

\n" }, { "author": { "url": "member/EyebrowsWhite", "name": "EyebrowsWhite", "avatar": "https://cdn.v2ex.com/avatar/530c/66b8/511263_large.png?m=1754383340" }, "url": "t/872538", "title": "\u5982\u4f55\u914d\u7f6e~/.ssh/config \u4f7f\u5f97\u540c\u4e00\u4e3b\u673a\u4e0d\u540c\u7aef\u53e3\u53ef\u4ee5\u4f7f\u7528\u4e0d\u540c\u7684\u7b56\u7565\u767b\u5f55", "id": "t/872538", "date_published": "2022-08-12T15:09:11+00:00", "content_html": "

\u4f7f\u7528\u573a\u666f\u662f\u8fd9\u6837\u7684\uff0c\u6211\u5728\u5185\u7f51\u7684 NAS \u4e0a\u90e8\u7f72\u4e86\u591a\u4e2a\u670d\u52a1\uff0c\u5b83\u4eec\u7684\u4e3b\u673a\u540d\u662f\u76f8\u540c\u7684\uff0c\u4f46\u662f\u7aef\u53e3\u4e0d\u540c\uff0c\u6bd4\u5982 122 \u7aef\u53e3\u662f\u7fa4\u6656\u672c\u8eab\uff0c\u9700\u6c42\u7528\u6237\u540d\u5bc6\u7801\u767b\u5f55\uff0c222 \u7aef\u53e3\u662f gitlab \uff0c\u9700\u6c42\u914d\u7f6e ssh key \u3002

\n

ssh \u547d\u4ee4\u884c\u7684\u4f18\u5148\u7ea7\u9ad8\u4e8e\u914d\u7f6e\u6587\u4ef6\uff0c\u6240\u4ee5\u76ee\u524d\u5728\u6211\u914d\u7f6e gitlab \u7684\u79c1\u94a5\u6587\u4ef6\u4e4b\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u884c\u6307\u5b9a -o PreferredAuthenticatiOns=password -p 122 \u6765\u767b\u5f55\uff0c\u4f46\u662f\u6211\u60f3\u8981\u5728\u914d\u7f6e\u6587\u4ef6\u4e2d\u6307\u5b9a\u4e0d\u540c\u7aef\u53e3\u91c7\u7528\u4e0d\u540c\u7684\u7b56\u7565\uff0c\u6216\u8005\u53ef\u80fd\u662f\u4e0d\u540c\u7aef\u53e3\u4f7f\u7528\u4e0d\u540c\u7684\u79c1\u94a5\u6587\u4ef6\u767b\u5f55\u3002

\n

\u641c\u4e86\u4e00\u5927\u5708\u6ca1\u6709\u627e\u5230\u6709\u7c7b\u4f3c\u89e3\u51b3\u65b9\u6848\uff0cmanual \u91cc\u4e5f\u6ca1\u53d1\u73b0\uff0c\u5404\u4f4d\u5927\u4f6c\u6709\u6ca1\u6709\u61c2\u600e\u4e48\u64cd\u4f5c\u7684\u3002

\n" }, { "author": { "url": "member/WYXOGO", "name": "WYXOGO", "avatar": "https://cdn.v2ex.com/avatar/64af/8321/590888_large.png?m=1770280153" }, "url": "t/872065", "title": "wsl2 \u65e0\u6cd5 ping \u901a\u7f51\u7ebf\u8fde\u63a5\u7684 ip", "id": "t/872065", "date_published": "2022-08-11T00:53:40+00:00", "content_html": "\u76ee\u524d\u95ee\u9898\u662f\u8fd9\u6837\u7684\uff0c\u901a\u8fc7\u7f51\u7ebf\u8fde\u63a5\u6811\u8393\u6d3e\u5728 powershell \uff08 Win11 \u5bbf\u4e3b\u673a\uff09\u4e0a\u53ef\u4ee5\u6b63\u5e38 ssh \uff0c\u5404\u4e2a\u7aef\u53e3\u90fd\u6b63\u5e38\u4e5f\u53ef\u4ee5 ping \uff0c\u4f46\u5728 wsl2 \u4e0a\u5c31\u65e0\u6cd5\u8fde\u63a5\uff08 No route to host \uff09\uff0cping \u7684\u8bdd\u4e5f\u4f1a\u5f88\u4e45\uff08\u4e4b\u540e\u4f1a xxxxx Destination Host Unreachable \uff09\uff0cping \u5916\u7f51\uff0c\u5bbf\u4e3b\u673a\uff0cifconfig \u7684 eth0 ip \u90fd\u53ef\u4ee5\uff1b

\u5982\u679c\u4f7f\u7528\u65e0\u7ebf\u7f51\u5361\u5c06\u6811\u8393\u6d3e\u548c Win11 \u8fde\u5230\u540c\u4e00\u4e2a WiFi \u4e0b\u53ef\u4ee5 ping \u901a WiFi \u7684\u7aef\u53e3\uff0c\u4e5f\u53ef\u4ee5\u6b63\u5e38 ssh \u5230\u6811\u8393\u6d3e\u3002

\u5c31\u662f\u4e0d\u80fd\u901a\u8fc7\u7f51\u7ebf\u7684\u7aef\u53e3\u8fde\u63a5\uff0c\u800c\u4e14\u53ea\u5728 wsl2 \u4e2d\u4e0d\u53ef\u4ee5\uff0c\u5f88\u5947\u602a\uff0c\u4e4b\u524d\u662f\u4e00\u5207\u6b63\u5e38\u7684\uff0c\u540e\u9762\u4f7f\u7528\u8fc7 ifconfig \u914d\u7f6e\u8fc7\u7f51\u6bb5\uff0c\u540e\u9762\u53c8\u6062\u590d\u56de\u539f\u6765\u7684\u4e86\uff08\u5e94\u8be5\u4e0d\u662f\u8fd9\u4e2a\u539f\u56e0\uff09

\u76ee\u7684\u662f\u901a\u8fc7 wsl2 \u6b63\u5e38 ping \u901a \u901a\u8fc7\u7f51\u7ebf\u8fde\u63a5\u7684\u6811\u8393\u6d3e\u7aef\u53e3" }, { "author": { "url": "member/kingfly", "name": "kingfly", "avatar": "https://cdn.v2ex.com/avatar/ea89/0160/410704_large.png?m=1776394161" }, "url": "t/862704", "date_modified": "2022-06-28T06:38:04+00:00", "content_html": "

mobaxterm \u662f\u4e16\u754c\u4e0a\u6700\u597d\u7528\u7684 ssh \u5de5\u5177 ? \u4e3a\u4f55\u6211\u627e\u4e86\u534a\u5929\u590d\u7528\u8fde\u63a5\u4f1a\u8bdd\u90fd\u6ca1\u6709\u554a,

\n

\u5c31\u662f\u670d\u52a1\u5668\u9700\u8981\u79d8\u94a5+google \u4e8c\u6b21\u9a8c\u8bc1. \u4ee5\u524d\u9700\u8981\u53e6\u5f00\u4e00\u4e2a\u7a97\u53e3\u7684\u8bdd\u5982\u679c\u4f7f\u7528 xshell \u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\"\u590d\u5236 ssh \u6e20\u9053\"\u5c31\u53ef\u4ee5\u5728\u65b0\u7a97\u53e3\u5171\u7528\u4e00\u4e2a\u8fde\u63a5\u6e20\u9053,\u4e0d\u7528\u518d\u6b21\u8f93\u5165 google \u9a8c\u8bc1\u7801. mobaxterm \u7adf\u7136\u4e0d\u652f\u6301\u5417?

\n", "date_published": "2022-06-28T06:37:41+00:00", "title": "mobaxterm \u662f\u4e16\u754c\u4e0a\u6700\u597d\u7528\u7684 ssh \u5de5\u5177", "id": "t/862704" }, { "author": { "url": "member/troilus", "name": "troilus", "avatar": "https://cdn.v2ex.com/gravatar/e5c968f76e3318ec3fb59b0bf0b359c6?s=73&d=retro" }, "url": "t/861776", "title": "ssh chat", "id": "t/861776", "date_published": "2022-06-23T15:06:57+00:00", "content_html": "

ssh pod.zzz667.tk -p 64738

\n" }, { "author": { "url": "member/lower", "name": "lower", "avatar": "https://cdn.v2ex.com/avatar/9197/a649/50801_large.png?m=1730824817" }, "url": "t/857927", "date_modified": "2022-06-07T07:27:53+00:00", "content_html": "\u60f3\u641e\u4e2a\u5e26\u754c\u9762\u7684 ssh \u5de5\u5177\uff08\u73b0\u6709\u7684 finalshell \u7528\u4e60\u60ef\u4e86\u4f46\u662f\u5403\u5185\u5b58\u592a\u591a\u4e86\uff0c\u60f3\u6a21\u4eff fs \u641e\u4e2a\u8f7b\u7684\uff09\uff0cweb \u7aef\u6709 xtermjs \u8fd9\u6837\u7684\u5e93\u4f46\u662f\u4e00\u822c\u57fa\u4e8e html/js \u7684\u684c\u9762\u65b9\u6848\uff0c\u4f53\u79ef\u548c\u5185\u5b58\u5360\u7528\u90fd\u592a\u9ad8\u4e86\u3002

\u60f3\u8bf7\u6559\u524d\u8f88\u4eec\u6307\u70b9\u4e00\u4e0b\u601d\u8def\uff1a
\u8fd9\u79cd\u539f\u751f gui \u754c\u9762\u91cc\u7684\u547d\u4ee4\u884c\u663e\u793a \u4e00\u822c\u662f\u600e\u4e48\u5b9e\u73b0\u7684\uff1f
\u6709\u6ca1\u6709\u50cf xtermjs \u8fd9\u79cd\u7684\u5e93\uff1f

\u7528 ui \u5e93\u91cc\u57fa\u672c\u7684 text \u4e4b\u7c7b\u7684\u63a7\u4ef6\u80fd\u6269\u5c55\u51fa\u6765\u4e48\uff1f\u57fa\u672c\u7684\u53d1\u6307\u4ee4\u3001\u663e\u793a\u7ed3\u679c\u597d\u50cf\u53ef\u4ee5\uff0c\u4f46\u662f\u9047\u5230\u90a3\u79cd vim \u7f16\u8f91\u4e4b\u7c7b\u7684\u4f30\u8ba1\u6ca1\u6cd5\u641e\u4e86

\u5509", "date_published": "2022-06-07T07:27:03+00:00", "title": "\u684c\u9762\u539f\u751f\u7684 gui \u7a0b\u5e8f\u5d4c\u5165\u547d\u4ee4\u884c\u7a0b\u5e8f\u6216\u8005\u5b9e\u73b0\u4e00\u4e2a\u547d\u4ee4\u884c\u63a7\u4ef6\uff0c\u8be5\u4ece\u54ea\u65b9\u9762\u5165\u624b\uff1f", "id": "t/857927" }, { "author": { "url": "member/celestylr", "name": "celestylr", "avatar": "https://cdn.v2ex.com/gravatar/b3165f1ab7c0896cf7e6a118d0595ffa?s=73&d=retro" }, "url": "t/851067", "title": "\u5982\u4f55\u7981\u6b62 ssh \u8d70\u8def\u7531\u5668 clash \u6d41\u91cf", "id": "t/851067", "date_published": "2022-05-05T16:52:29+00:00", "content_html": "

Padavan \u914d\u7f6e\u7684 clash \u673a\u573a\uff0c\u914d\u7f6e\u7528\u7684\u670d\u52a1\u5546\u7684\n\u6bcf\u9694\u4e00\u6bb5\u65f6\u95f4\u4f1a\u66f4\u65b0\uff0c\u6240\u4ee5\u6539\u914d\u7f6e\u4f1a\u8986\u76d6\u6389

\n

\u6709\u4ec0\u4e48\u597d\u7684\u529e\u6cd5\u76f4\u63a5\u7981\u6b62 ssh \u8d70\u4ee3\u7406\u5417\uff0c\u8bbf\u95ee\u6211\u7684\u65b0\u52a0\u5761\u673a\u5668\uff0c\u8d70\u4ee3\u7406\u4f1a\u5f88\u5361

\n" }, { "author": { "url": "member/alanhe421", "name": "alanhe421", "avatar": "https://cdn.v2ex.com/avatar/2787/0356/429292_large.png?m=1729776035" }, "url": "t/850320", "date_modified": "2022-05-01T03:01:22+00:00", "content_html": "

\u4e3e\u4f8b\u6709\u5982\u4e0b\u547d\u4ee4

\n
\nssh -p 22 -t root@111.132.132.65 \"tmux -CC attach || tmux -CC\"\n\n
\n

\u8fd9\u4e2a t \u53c2\u6570\u662f\u4ec0\u4e48\u542b\u4e49\uff0c\u8fdc\u7a0b\u767b\u5f55\u540e\u6267\u884c\u7684\u547d\u4ee4\u5185\u5bb9\uff1f\u8bd5\u4e86\u4e0b\u5982\u679c\u4e0d\u5199\u8fd8\u4e0d\u884c\uff0c--help \u67e5\u770b\u547d\u4ee4\u624b\u518c\uff0c\u6ca1\u770b\u5230\u6709 t \u8fd9\u4e2a\u53c2\u6570

\n

\"https://i.imgur.com/A3WVOJx.jpg\"

\n", "date_published": "2022-05-01T03:00:23+00:00", "title": "\u5173\u4e8e ssh \u547d\u4ee4\u4e0b t \u53c2\u6570", "id": "t/850320" }, { "author": { "url": "member/saleacy", "name": "saleacy", "avatar": "https://cdn.v2ex.com/gravatar/3a06f436a246d3418b14a2bc48c2f30a?s=73&d=retro" }, "url": "t/845005", "title": "\u5173\u4e8e ssh \u65e5\u5fd7/var/log/secure \u7684\u653b\u51fb\u65e5\u5fd7", "id": "t/845005", "date_published": "2022-04-05T04:28:43+00:00", "content_html": "\u6211\u670d\u52a1\u5668\u66b4\u9732\u516c\u7f51\u7684\uff0c\u4eca\u5929\u770b secure \u65e5\u5fd7\u53d1\u73b0\u4e86\u4ee5\u4e0b\u9519\u8bef

sshd[15979]: Bad protocol version identification 'GET / HTTP/1.1' from 209.17.96.58 port 52775

sshd[30025]: Bad protocol version identification '\\026\\003\\001\\002' from 39.103.146.185 port 60166

sshd[30026]: Bad protocol version identification 'GET / HTTP/1.1' from 39.103.146.185 port 60168

sshd[30027]: Bad protocol version identification 'GET / HTTP/2' from 39.103.146.185 port 60176

sshd[30028]: Bad protocol version identification '\\026\\003\\001\\002' from 39.103.146.185 port 60178

sshd[30029]: Bad protocol version identification 'GET / HTTP/1.1' from 39.103.146.185 port 60186

sshd[30030]: Bad protocol version identification 'GET / HTTP/2' from 39.103.146.185 port 60190



\u8fd9\u662f\u5565\u653b\u51fb\u65b9\u5f0f\uff0c\u6709\u5927\u4f6c\u6e05\u695a\u5417\uff1f" }, { "author": { "url": "member/yinh0715", "name": "yinh0715", "avatar": "https://cdn.v2ex.com/avatar/0b99/6c6d/569726_large.png?m=1721272001" }, "url": "t/841769", "date_modified": "2022-03-21T02:40:46+00:00", "content_html": "\u6211\u6709\u4e00\u53f0\u817e\u8baf\u4e91\u90e8\u7f72\u4e86 frp \u670d\u52a1\uff0c\u7528\u5b83\u8fdc\u7a0b ssh \u5230\u5bb6\u91cc\u7684 centos \u8bbe\u5907\uff0c\u603b\u662f\u8fde\u4e00\u6bb5\u65f6\u95f4\u5c31\u4f1a\u81ea\u52a8\u65ad\u5f00\uff0c\u6709\u4ec0\u4e48\u597d\u7684\u529e\u6cd5\u8ba9\u4ed6\u4e00\u76f4\u4e0d\u65ad\u5f00\u5417\u3002", "date_published": "2022-03-21T02:13:23+00:00", "title": "\u901a\u8fc7 frp \u4f7f\u7528 ssh \u8fde\u63a5\u7ec8\u7aef\u603b\u662f\u4e00\u6bb5\u65f6\u95f4\u5c31\u65ad\u5f00\uff0c\u6709\u4ec0\u4e48\u89e3\u51b3\u529e\u6cd5\uff1f", "id": "t/841769" }, { "author": { "url": "member/zxCoder", "name": "zxCoder", "avatar": "https://cdn.v2ex.com/gravatar/a442bec87d1dc5a6c29869ad5add87ee?s=73&d=retro" }, "url": "t/834482", "title": "\u4e24\u4e2a\u53ef\u4ee5\u4e92\u76f8\u8bbf\u95ee\u7684\u5185\u7f51\u673a\u5668\uff0c A \u80fd\u8bbf\u95ee\u5916\u7f51\uff0c B \u4e0d\u80fd\uff0c\u80fd\u901a\u8fc7\u8bbe\u7f6e SSH \u4ee3\u7406\u8ba9 B \u4e5f\u80fd\u8bbf\u95ee\u5916\u7f51\u5417", "id": "t/834482", "date_published": "2022-02-17T05:24:51+00:00", "content_html": "" }, { "author": { "url": "member/zxCoder", "name": "zxCoder", "avatar": "https://cdn.v2ex.com/gravatar/a442bec87d1dc5a6c29869ad5add87ee?s=73&d=retro" }, "url": "t/831813", "date_modified": "2022-02-03T21:03:26+00:00", "content_html": "

\u672c\u5730\u8f6c\u53d1\u548c\u8fdc\u7a0b\u8f6c\u53d1

\n

\u672c\u5730\u8f6c\u53d1\u76f8\u5f53\u4e8e\u5c31\u662f\u8bbf\u95eeLOCAL_IP:LOCAL_PORT\u5c31\u53d8\u6210\u8bbf\u95eeDESTINATION:DESTINATION_PORT

\n
ssh -L [LOCAL_IP:]LOCAL_PORT:DESTINATION:DESTINATION_PORT [USER@]SSH_SERVER\n
\n

\u8fdc\u7a0b\u8f6c\u53d1\u76f8\u5f53\u4e8e\u8bbf\u95eeREMOTE:REMOTE_PORT\u5c31\u53d8\u6210\u8bbf\u95eeDESTINATION:DESTINATION_PORT

\n
ssh -R [REMOTE:]REMOTE_PORT:DESTINATION:DESTINATION_PORT [USER@]SSH_SERVER\n
\n

\u8fd9\u6837\u7406\u89e3\u5bf9\u5417\uff1f

\n

\u6709\u70b9\u4e0d\u592a\u7406\u89e3\u662f\u8fdc\u7a0b\u8f6c\u53d1\u7684REMOTE\u6307\u7684\u662f\u54ea\u4e2a\uff1f\u662f ssh client \u6240\u5728\u673a\u5668\u5417\uff1f

\n

\u7136\u540e\u672c\u5730\u8f6c\u53d1\u7684\u65f6\u5019\uff0cSSH_SERVER\u4e5f\u53ef\u4ee5\u5c31\u662fDESTINATION\uff0c\u800c\u8fdc\u7a0b\u8f6c\u53d1\u7684\u65f6\u5019\uff0cREMOTE\u4e5f\u53ef\u4ee5\u5c31\u662fDESTINATION\uff1f

\n", "date_published": "2022-02-03T14:58:22+00:00", "title": "SSH \u7aef\u53e3\u8f6c\u53d1\u7ed9\u6211\u770b\u8ff7\u7cca\u4e86", "id": "t/831813" }, { "author": { "url": "member/troilus", "name": "troilus", "avatar": "https://cdn.v2ex.com/gravatar/e5c968f76e3318ec3fb59b0bf0b359c6?s=73&d=retro" }, "url": "t/817924", "title": "\u7531\u4e8e\u7ecf\u5e38\u6362\u7535\u8111\uff0c\u6c42\u63a8\u8350\u4e00\u4e2a windows \u4e0b\u8f7b\u91cf\u7684 portable ssh \u5ba2\u6237\u7aef\uff0c\u80fd\u591f\u652f\u6301\u516c\u94a5\u767b\u5f55", "id": "t/817924", "date_published": "2021-11-25T07:18:44+00:00", "content_html": "" }, { "author": { "url": "member/anxn", "name": "anxn", "avatar": "https://cdn.v2ex.com/gravatar/077f53fd764aad5c6643f4629a387df6?s=73&d=retro" }, "url": "t/813495", "title": "Windows \u4e0b\u8fde\u63a5 Linux \u7528\u4ec0\u4e48\u65b9\u6848\u7ed9 ssh \u5f00 socks5 \u4ee3\u7406\uff1f", "id": "t/813495", "date_published": "2021-11-06T07:15:51+00:00", "content_html": "\u5982\u9898 \u76ee\u524d\u7528\u7684 v2ray \u8282\u70b9\uff0c\u672c\u5730\u5f00\u4e86 1080 \u7aef\u53e3\u7684 socks \u4ee3\u7406\u7ed9 ssh \u7528\uff0c\u901f\u5ea6\u8fd8\u53ef\u4ee5\uff0c\u5c31\u662f\u7ecf\u5e38\u662f\u8fde\u4e86\u51e0\u5206\u949f\u5c31\u65ad\u4e86\uff0c\u5e94\u8be5\u662f\u96a7\u9053\u6389\u7ebf\u4e86\uff0c\u5c31\u662f\u4e0d\u77e5\u9053\u662f v2 \u7684\u534f\u8bae\u8fd8\u662f v2 \u7684\u5ba2\u6237\u7aef\u6709\u95ee\u9898\uff0c\u5ba2\u6237\u7aef\u7528\u7684\u662f v2rayn

\u8282\u70b9\u5ef6\u8fdf\u4e5f\u4e0d\u9ad8\u554a\uff0c\u6709 v \u53cb\u51fa\u73b0\u8fc7\u8fd9\u79cd\u60c5\u51b5\u5417\uff1f\u6216\u8005\u8fd8\u6709\u66f4\u5408\u9002\u7684\u8fde\u63a5\u6d77\u5916\u7684 Linux \u65b9\u6cd5\u6ca1\uff1f" }, { "author": { "url": "member/troilus", "name": "troilus", "avatar": "https://cdn.v2ex.com/gravatar/e5c968f76e3318ec3fb59b0bf0b359c6?s=73&d=retro" }, "url": "t/810558", "title": "\u8bf7\u6559\u4e00\u4e0b\uff0c\u5173\u4e8e SSH \u6307\u7eb9\u4f7f\u7528\u4ee3\u7406\u4f1a\u53d1\u751f\u53d8\u5316\uff1f", "id": "t/810558", "date_published": "2021-10-26T02:28:33+00:00", "content_html": "\u901a\u8fc7\u4ee3\u7406\u670d\u52a1\u5668\u540e\uff0c\u663e\u793a\u7684\u6307\u7eb9\u4f1a\u53d1\u751f\u53d8\u5316\uff1f

\u76ee\u524d\u901a\u8fc7\u5176\u4ed6\u7f51\u7edc\u76f4\u8fde\u4e00\u4e2a\u670d\u52a1\u5668 A \u65f6\uff0c\u663e\u793a\u6307\u7eb9\u662f 000 \uff0c\u4f46\u662f\u7531\u4e8e\u516c\u53f8\u7f51\u7edc\u9650\u5236\uff0c\u65e0\u6cd5\u76f4\u8fde\u4efb\u4f55\u670d\u52a1\u5668\uff0c\u56e0\u6b64\u5f53\u6211\u4f7f\u7528 A \u4e0a\u9762\u67b6\u8bbe\u7684 SS \u518d\u8fde\u63a5\u5230 A \u65f6\uff0c\u663e\u793a\u6307\u7eb9\u5c31\u53d8\u6210\u4e86 789 \u3002

\u6211\u5c1d\u8bd5\u4f7f\u7528\u516c\u53f8\u7f51\u7edc\u901a\u8fc7 A \u4e0a\u9762\u67b6\u8bbe\u7684 SS \u8fde\u63a5\u5176\u4ed6\u670d\u52a1\u5668\uff0c\u53d1\u73b0\u6307\u7eb9\u4e5f\u4e0e\u76f4\u8fde\u8be5\u670d\u52a1\u5668\u6709\u5dee\u522b\u3002" }, { "author": { "url": "member/hijoker", "name": "hijoker", "avatar": "https://cdn.v2ex.com/avatar/29f7/3a69/100844_large.png?m=1698668820" }, "url": "t/807674", "title": "\u6709\u6ca1\u6709\u8fd9\u6837\u7684\u4e00\u4e2a ssh \u547d\u4ee4\u884c\u5de5\u5177", "id": "t/807674", "date_published": "2021-10-13T15:52:31+00:00", "content_html": "\u6211\u6709\u5f88\u591a\u7684\u4e3b\u673a\uff0c\u9700\u8981\u901a\u8fc7 ssh \u8fde\u63a5\uff0c\u4e3b\u673a\uff0c\u7528\u6237\u540d /\u5bc6\u7801\uff08\u6216\u8005\u5bc6\u94a5\u6587\u4ef6\u4f4d\u7f6e\uff09\u90fd\u5df2\u7ecf\u914d\u7f6e\u597d\u4e86
\u6211\u6572\u67d0\u4e2a\u547d\u4ee4\uff0c\u7136\u540e\u51fa\u73b0\u4e3b\u673a\u540d\u7684\u4e0b\u62c9\uff0c\u6211\u9009\u62e9\u9700\u8981\u7684\u67d0\u4e2a\u4e3b\u673a\u540d\uff0c\u5c31 ssh \u8fde\u63a5\u4e0a\u53bb\u4e86" }, { "author": { "url": "member/Reminders", "name": "Reminders", "avatar": "https://cdn.v2ex.com/avatar/9332/19ca/466061_large.png?m=1775979359" }, "url": "t/795457", "title": "\u9047\u5230\u4e00\u4e2a\u6709\u8da3\u7684 ssh \u7684\u95ee\u9898", "id": "t/795457", "date_published": "2021-08-12T15:53:48+00:00", "content_html": "

\u4eca\u5929\u4f7f\u7528\u7684 mac \u7684 Terminal.app \u8fde\u63a5\u670d\u52a1\u5668\uff0c\u542f\u52a8\u4e00\u4e2a java \u8fdb\u7a0b\uff0c\u53d1\u73b0\u8fd9\u4e2a java \u670d\u52a1\u7684\u4e2d\u7684\u4e2d\u6587\u51fa\u73b0\u4e86\u4e71\u7801\uff0c\u4e8e\u662f\u6211\u5728\u542f\u52a8\u7684\u65f6\u5019\u8bbe\u7f6e\u4e86\u4e00\u4e0b\u542f\u52a8\u53c2\u6570 -Dfile.encoding=utf-8 \u8bd5\u4e86\u4e00\u4e0b\uff0c\u53d1\u73b0\u4e2d\u6587\u4e0d\u4e71\u7801\u4e86\uff0c

\n

\u4f46\u662f\u540c\u4e8b\u8bf4\uff0c\u4ed6\u6628\u5929\u4e5f\u542f\u52a8\u8fc7\u8fd9\u4e2a java \u8fdb\u7a0b\uff0c\u4e2d\u6587\u5e76\u6ca1\u6709\u4e71\u7801\uff0c\u5e76\u4e14\u8fd9\u671f\u95f4\u4e5f\u6ca1\u6709\u4fee\u6539\u8fc7\u670d\u52a1\u5668\u7684\u4efb\u4f55\u914d\u7f6e\uff0c\uff08\u540c\u4e8b\u4f7f\u7528\u7684\u662f win \u7684 xshell \uff09\uff0c\u6211\u611f\u89c9\u975e\u5e38\u5947\u602a\uff0c\u57fa\u672c\u53ef\u4ee5\u6392\u9664\u670d\u52a1\u5668\u7684\u5173\u7cfb\uff0c\u4f3c\u4e4e\u662f\u548c\u4f7f\u7528\u7684\u7ec8\u7aef\u6709\u5173\u3002

\n

\u4e8e\u662f\u6211\u79fb\u9664\u4e86 -Dfile.encoding=utf-8 \u53c2\u6570\uff0c\u4f7f\u7528 Termius.app \u8fd9\u4e2a\u5de5\u5177\u767b\u5f55\u4e86\u670d\u52a1\uff0c\u542f\u52a8\u8fd9\u4e2a java \u8fdb\u7a0b\u89c2\u5bdf\uff0c\u53d1\u751f\u4e5f\u662f\u6ca1\u6709\u4e71\u7801\u7684\u3002

\n

\u5230\u6b64\uff0c\u57fa\u672c\u53ef\u4ee5\u786e\u5b9a\uff0c\u4e0d\u540c\u7684\u7ec8\u7aef\u7684\u786e\u662f\u5f71\u54cd\u7684\u670d\u52a1\u5668\u7684\u4e00\u4e9b\u73af\u5883\u53d8\u91cf\u4e86\u3002

\n

\u4e8e\u662f\u6211\u5199\u4e86\u4e00\u4e2a\u5c0f\u6d4b\u8bd5\u7c7b\u3002\u7528\u4e24\u4e2a\u7ec8\u7aef\u767b\u5f55\u670d\u52a1\u5668\u540e\uff0c\u6267\u884c\u3002

\n
public class Test{ \n public static void main(String[] args){ \n System.out.println(System.getProperty(\"file.encoding\")); \n System.out.println(\"\u6d4b\u8bd5\u4e2d\u6587\u662f\u5426\u4e71\u7801\"); \n } \n} \n
\n

\u6d4b\u8bd5\u7ed3\u679c\u4e00\uff1a

\n
\n

ANSI_X3.4-1968

\n

????????

\n

\u6d4b\u8bd5\u7ed3\u679c\u4e8c\uff1a

\n
\n

UTF-8

\n

\u6d4b\u8bd5\u4e2d\u6587\u662f\u5426\u4e71\u7801

\n
\n

\u540e\u6765\u67e5\u8d44\u6599\u53d1\u73b0\uff0cssh \u767b\u5f55\u7684\u65f6\u5019\uff0c\u9ed8\u8ba4\u4f1a\u628a\u672c\u5730\u7684 locale \u53d1\u9001\u5230\u670d\u52a1\u7aef\uff0c\u800c\u6211\u672c\u5730\u6ca1\u6709\u914d\u7f6e\u8fd9\u4e2a\u53d8\u91cf\uff0c\u9ed8\u8ba4\u503c\u662f UTF-8\uff0c\u670d\u52a1\u7aef\u4e5f\u4e0d\u8ba4\u8bc6\uff0c\u5c31\u51fa\u73b0\u4e86\u4e71\u7801\u3002

\n\n" }, { "author": { "url": "member/xuegy", "name": "xuegy", "avatar": "https://cdn.v2ex.com/gravatar/a14fd036007f13550119309d4ee7e0f1?s=73&d=retro" }, "url": "t/782139", "date_modified": "2021-06-08T05:44:47+00:00", "content_html": "

\u9700\u6c42\uff1a\u6709\u4e00\u53f0\u5de5\u4f5c\u7ad9\u5728\u5b66\u6821\u5185\u7f51\uff0c\u9700\u8981\u7a7f\u900f\u5185\u7f51 SSH \u8fde\u63a5\u3002

\n

\u4e0d\u53ef\u884c\u7684\u65b9\u6848\uff1a

\n
    \n
  1. \n

    \u5b66\u6821 VPN\uff1a\u7531\u4e8e\u4e00\u4e9b\u539f\u56e0\uff0c\u6211\u5ba4\u53cb\u4e5f\u5728\u7528\u6211\u7684\u8d26\u53f7\u4e0a\u7f51\u3002\u5982\u679c\u7f51\u7ba1\u53d1\u73b0\u6211\u540c\u65f6\u5f02\u5730\u4f7f\u7528 VPN \u548c\u5185\u7f51\uff0c\u5c31\u4f1a\u77e5\u9053\u6211\u628a\u8d26\u53f7\u5916\u501f\uff0c\u67e5\u6211\u6c34\u8868\uff08\u5df2\u6709\u5148\u4f8b\uff09\u3002

    \n
  2. \n
  3. \n

    Teamviewer \u4e4b\u7c7b\uff1a\u7406\u8bba\u53ef\u7528\uff0c\u4f46\u5c4a\u65f6\u5927\u6982\u7387\u65e0\u6cd5\u4fdd\u8bc1\u7f51\u901f\u3002

    \n
  4. \n
\n

\u81ea\u5df1\u6709\u4e00\u53f0\u7fa4\u6656\u4e5f\u653e\u5728\u5b66\u6821\u5185\u7f51\uff0c\u6b63\u5728\u7814\u7a76\u5982\u4f55\u914d\u7f6e\u505a\u8df3\u677f\u7528\u3002\u4f46\u60f3\u5148\u8bf7\u95ee\u5404\u4f4d\u5927\u4f6c\uff0c\u6709\u6ca1\u6709\u66f4\u7b80\u5355\u7684\u529e\u6cd5\uff1f

\n", "date_published": "2021-06-08T05:36:37+00:00", "title": "\u4e0b\u4e2a\u6708\u8981\u5916\u51fa\uff0c\u6c42\u53ef\u884c\u7684\u5185\u7f51 SSH \u65b9\u6848", "id": "t/782139" } ] } ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86