• 请不要在回答技术问题时复制粘贴 AI 生成的内容
kujoq
V2EX  ›  程序员

不懂就问:如何通过 ssh 工具连接群晖的虚拟机或是 Docker

  •  
  •   kujoq · May 20, 2021 · 2900 views
    This topic created in 2000 days ago, the information mentioned may be changed or developed.
    如题,群晖 DSM 通过 ddns 方式连接,有公网 IP
    3 replies  •  2021-05-20 10:36:30 +08:00
    yitingbai
    yitingbai
    May 20, 2021
    1
    群晖虚拟机套件有端口映射的功能, Docker 没什么特别的, 端口该怎么映射就怎么映射
    xd547
    xd547
    May 20, 2021
    2
    我用的 Ubuntu 镜像 然后

    CMD ["/usr/sbin/sshd", "-D"]


    接着吧 22 端口映射出来
    Pogbag
    Pogbag
    May 20, 2021 via iPhone
    3
    远程 ssh 吗 连内网 vpn
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3416 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 01:01 · PVG 09:01 · LAX 17:01 · JFK 20:01
    ♥ Do have faith in what you're doing.