推荐学习书目
› 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
displayabc
V2EX  ›  Python

如何连接需要 ssh 登录才能连的库?

  •  1
     
  •   displayabc · Apr 9, 2015 · 3132 views
    This topic created in 4228 days ago, the information mentioned may be changed or developed.
    一个mongo,只能在本机才能连接,我想用python怎么远程登录这台机再连接这个库?
    3 replies  •  2015-04-10 15:28:45 +08:00
    Septembers
    Septembers
    Apr 9, 2015 via Android❤️1
    1
    ssh agent
    cye3s
    cye3s
    Apr 9, 2015❤️1
    2
    ssh tunnel
    displayabc
    displayabc
    OP
    Apr 10, 2015
    3
    @cye3s 全部用python实现?我的想法是在python代码里写上机器 的ip,用户名密码,然后就能tunnel过去连接
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5633 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 46ms · UTC 03:28 · PVG 11:28 · LAX 19:28 · JFK 22:28
    ♥ Do have faith in what you're doing.