上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 66 下一页
摘要: title: SSH内网穿透 date: 2022-02-17 19:00:54 tags: 比方说要把当前机器的8789端口映射到服务器的6100端口: ssh -R 6100:localhost:8789 服务器IP 然后登录上服务器,就能通过6100端口连上这台机器了: ssh localho 阅读全文
posted @ 2024-09-28 13:42 寻找繁星 阅读(1) 评论(0) 推荐(0) 编辑
摘要: title: UFW使用笔记 date: 2023-03-19 14:53:15 tags: 安装 sudo apt install ufw 安装之后默认是inactive的状态。 查看防火墙状态 sudo ufw status 里面会给出防火墙是不是active的。如果是active的话,还会打印 阅读全文
posted @ 2024-09-28 13:42 寻找繁星 阅读(3) 评论(0) 推荐(0) 编辑
摘要: title: centos端口转发 date: 2021-08-14 19:41:48 比方说监听本地的23333端口,将数据都转发到10.249.40.227的22端口上,可以这样: sudo yum install nmap-ncat ncat --sh-exec "ncat 10.249.40 阅读全文
posted @ 2024-09-28 13:42 寻找繁星 阅读(25) 评论(0) 推荐(0) 编辑
摘要: title: deepin设置静态IP date: 2021-08-14 19:00:46 /etc/network/interfaces里: # https://unix.stackexchange.com/a/128662/453838 allow-hotplug enp0s2 iface en 阅读全文
posted @ 2024-09-28 13:42 寻找繁星 阅读(47) 评论(0) 推荐(0) 编辑
摘要: title: frp内网穿透 date: 2021-12-30 21:56:06 tags: frp有很详细的官方教程:https://gofrp.org/docs/ 里面甚至有一些例子。最简单的例子:https://gofrp.org/docs/examples/ssh/ frp还支持p2p内网穿 阅读全文
posted @ 2024-09-28 13:42 寻找繁星 阅读(5) 评论(0) 推荐(0) 编辑
摘要: title: git协议使用代理 date: 2022-05-27 21:46:24 tags: 首先,github.com的git@github.com:xxx/xxxx.git使用的其实不是git协议,而是SSH协议,所以如果要代理之,需要配置的其实是SSH代理,在~/.ssh/config里配 阅读全文
posted @ 2024-09-28 13:42 寻找繁星 阅读(3) 评论(0) 推荐(0) 编辑
摘要: title: linux shell查看实时网速 date: 2021-07-01 11:17:57 jnettop sudo apt install jnettop jnettop nethogs 这个在centos上也可以用。 sudo yum install epel-release sudo 阅读全文
posted @ 2024-09-28 13:42 寻找繁星 阅读(10) 评论(0) 推荐(0) 编辑
摘要: title: vscode在选中的每行开头插入 date: 2022-11-01 18:58:45 tags: 首先alt+shift+i在选中的每行末尾创建一个光标,然后再按两下Home键将光标移动到每行开头,然后再插入即可。按ESC即可退出多行编辑模式。 如果vscode开启了自动换行,那么在自 阅读全文
posted @ 2024-09-28 13:41 寻找繁星 阅读(32) 评论(0) 推荐(0) 编辑
摘要: title: vscode断点停在错误的文件 date: 2023-04-25 21:55:57 tags: 在launch.json中加入: "sourceFileMap":{ "/项目/绝对/路径": { "editorPath": "/项目/绝对/路径", "useForBreakpoints 阅读全文
posted @ 2024-09-28 13:41 寻找繁星 阅读(2) 评论(0) 推荐(0) 编辑
摘要: title: vscode杀死server端node进程 date: 2022-01-21 22:37:04 tags: ctrl + shift + p 执行命令: Remote-SSH: kill VS Code Server on Host... 来源:https://stackoverflo 阅读全文
posted @ 2024-09-28 13:41 寻找繁星 阅读(2) 评论(0) 推荐(0) 编辑
上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 66 下一页