yingdashi
V2EX  ›  问与答

使用 ssh 连接 windows,有没有类似 Linux 的 screen 命令

  •  
  •   yingdashi · Jun 14, 2023 · 2181 views
    This topic created in 1260 days ago, the information mentioned may be changed or developed.
    如题,ssh 远程连接实验室的电脑跑 python ,电脑是 Windows 的,想像 Linux 一样 screen 命令开个窗口,即使 ssh 断开 python 也不停止运行。
    9 replies  •  2023-06-16 20:24:23 +08:00
    studyrun
    studyrun
    Jun 14, 2023
    1
    windows 把 ssh server 开起来就好了
    yingdashi
    yingdashi
    OP
    Jun 14, 2023
    2
    @studyrun windows ssh server 已经开了 就是想断网后脚本也一直在跑
    dobelee
    dobelee
    Jun 14, 2023❤️1
    3
    windows 有更高级的方式,俗称:远程桌面。
    r6cb
    r6cb
    Jun 14, 2023
    4
    用 rdp ?
    fox0001
    fox0001
    Jun 14, 2023 via Android
    5
    😂😂😂确实用“远程桌面”就可以了,想跑几个就开几个命令窗口
    fox0001
    fox0001
    Jun 14, 2023 via Android
    6
    另外好像有 tmux for Windows ,up 主可以去搜搜
    yingdashi
    yingdashi
    OP
    Jun 15, 2023
    7
    @dobelee 感觉不是很方便
    yingdashi
    yingdashi
    OP
    Jun 15, 2023
    8
    @fox0001 #6 好的我看看
    studyrun
    studyrun
    Jun 16, 2023
    9
    @yingdashi #2 用 pythonw.exe 代替 python.exe 运行你的 python 程序
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2297 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 00:21 · PVG 08:21 · LAX 16:21 · JFK 19:21
    ♥ Do have faith in what you're doing.