V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
hardware
V2EX  ›  Python

远程调试/撰写 Python 代码,想找个合适的 IDE

  •  
  •   hardware · Apr 22, 2018 · 6108 views
    This topic created in 2928 days ago, the information mentioned may be changed or developed.

    现在主要用 Vim,本地代码用 Pycharm 调试。 Pycharm 支持 ssh 调用远程的 interpreter,但公司集群需要 ssh 登录一个堡垒机之后二次 ssh 登录才能连接服务器,所以直接通过 ssh 调用估计是走不通了。

    不知道有没有什么 console 下写码和调试比较好用的工具?如果没有就继续 vim 了。多谢

    5 replies    2018-04-23 16:33:34 +08:00
    OscarUsingChen
        1
    OscarUsingChen  
       Apr 22, 2018   ❤️ 1
    堡垒机也可以啊直接登录啊? ssh config 里面的 ProxyCommand 了解一下
    配置好堡垒机的 Host 之后,再配置目的地的 Host 时候加一行
    ProxyCommand ssh [堡垒机] -W %h:%p
    myliyifei
        2
    myliyifei  
       Apr 22, 2018 via Android
    ssh 隧道
    linhanqiu
        3
    linhanqiu  
       Apr 22, 2018
    可以直接 pycharm 使用的代理啊
    param
        4
    param  
       Apr 23, 2018 via Android
    可以 ssh tunnel
    Estone
        5
    Estone  
       Apr 23, 2018
    使用 sshuttle 创建一个隧道。
    `sshuttle -D -r user@跳板机 Or 堡垒机:端口 你的网段.0/24 -vv`

    ps: 最好让你们网管加个 vpn。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5650 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 136ms · UTC 06:51 · PVG 14:51 · LAX 23:51 · JFK 02:51
    ♥ Do have faith in what you're doing.