V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
yingdashi
V2EX  ›  问与答

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

  •  
  •   yingdashi · Jun 14, 2023 · 1746 views
    This topic created in 1055 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
        1
    studyrun  
       Jun 14, 2023
    windows 把 ssh server 开起来就好了
    yingdashi
        2
    yingdashi  
    OP
       Jun 14, 2023
    @studyrun windows ssh server 已经开了 就是想断网后脚本也一直在跑
    dobelee
        3
    dobelee  
       Jun 14, 2023   ❤️ 1
    windows 有更高级的方式,俗称:远程桌面。
    r6cb
        4
    r6cb  
       Jun 14, 2023
    用 rdp ?
    fox0001
        5
    fox0001  
       Jun 14, 2023 via Android
    😂😂😂确实用“远程桌面”就可以了,想跑几个就开几个命令窗口
    fox0001
        6
    fox0001  
       Jun 14, 2023 via Android
    另外好像有 tmux for Windows ,up 主可以去搜搜
    yingdashi
        7
    yingdashi  
    OP
       Jun 15, 2023
    @dobelee 感觉不是很方便
    yingdashi
        8
    yingdashi  
    OP
       Jun 15, 2023
    @fox0001 #6 好的我看看
    studyrun
        9
    studyrun  
       Jun 16, 2023
    @yingdashi #2 用 pythonw.exe 代替 python.exe 运行你的 python 程序
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2898 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 79ms · UTC 07:17 · PVG 15:17 · LAX 00:17 · JFK 03:17
    ♥ Do have faith in what you're doing.