vikland's recent timeline updates
vikland

vikland

V2EX member #343381, joined on 2018-08-22 02:18:34 +08:00
vikland's recent replies
May 7, 2024
Replied to a topic by vikland 问与答 Mac 下 Xmind 占用 3000 端口。。。
@b821025551b 我先开启了前端服务,占用上了 3000.。。。但是一开 xmind ,前端项目就跑不了。
May 6, 2024
Replied to a topic by PatrickLe SSH mac 的 SSH 连接可以套代理吗?
使用 netcat ,brew install netcat
然后 nc 看一下安装成功没。
单次连接就
`ssh -o ProxyCommand="nc -x 127.0.0.1:7897 %h %p" user@remotehost`

如果每次都想使用代理,就修改~/.ssh/config 文件。
添加上 ProxyCommand:
```shell
Host remotehost
ProxyCommand nc -x 127.0.0.1:7897 %h %p
```


附录一个 config 样例:
```shell
# 默认设置,适用于所有主机
Host *
# 使用特定的密钥文件
IdentityFile ~/.ssh/id_rsa
# 设置连接超时时间(秒)
ConnectTimeout 10
# 自动添加新的主机键到用户主机文件
StrictHostKeyChecking ask
# 使用代理(假设你有一个运行在本地的 SOCKS5 代理)
ProxyCommand nc -x 127.0.0.1:7897 %h %p

# 特定主机的设置
Host example.com
# 为这个主机指定不同的用户名
User myusername
# 指定这个主机的密钥文件
IdentityFile ~/.ssh/id_example.com
# 禁用代理
ProxyCommand none

# 使用特定端口的主机
Host anotherhost
# 指定连接端口
Port 2222
# 指定用户名
User anotheruser
# 对于这个主机,不使用代理
ProxyCommand none
```
Aug 4, 2023
Replied to a topic by langzibing 问与答 圆圈滚动问题
5
看圆心移动路径。
8G+256G 2021.2 购入
SMART/Health Information (NVMe Log 0x02)
Critical Warning: 0x00
Temperature: 29 Celsius
Available Spare: 100%
Available Spare Threshold: 99%
Percentage Used: 0%
Data Units Read: 3,398,410 [1.73 TB]
Data Units Written: 1,609,944 [824 GB]
Host Read Commands: 35,599,006
Host Write Commands: 17,959,302
Controller Busy Time: 0
Power Cycles: 111
Power On Hours: 19
Unsafe Shutdowns: 8
Media and Data Integrity Errors: 0
Error Information Log Entries: 0
Dec 3, 2019
Replied to a topic by dullwit 奇思妙想 做了一个很恐怖的梦
一楼角度奇特
QQ 炫舞。。。(陪女朋友玩,发现用键盘玩不过她,就上摇杆。。。
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   850 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 18ms · UTC 19:44 · PVG 03:44 · LAX 12:44 · JFK 15:44
♥ Do have faith in what you're doing.