需要有个public IP 的server,实在没有的话,去AWS注册一个免费的,作为跳板主机。首先,SSH 连接到跳板主机,然后通过跳板主机 SSH 连接到Raspberry PI。ssh -J user@jumphost user@privateserver
SSH Jump Host (Bastion Host)
所有跟帖:
• SSH Jump Host的前提条件是从jumphost能直接连接到privatehost -chirolike- ♂ (70 bytes) () 10/23/2024 postreply 13:20:35
• 可能的方案 -POPONET- ♂ (223 bytes) () 10/24/2024 postreply 08:10:26
• 我以前试过wireguard,可是一两天就被墙了。 -chirolike- ♂ (0 bytes) () 10/25/2024 postreply 15:54:33