V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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 · 2018-04-22 01:10:25 +08:00 · 5064 次点击
    这是一个创建于 2168 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

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

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

    ps: 最好让你们网管加个 vpn。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   935 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 20:55 · PVG 04:55 · LAX 13:55 · JFK 16:55
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.