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