首页
注册
登录
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
V2EX
›
Python
如何连接需要 ssh 登录才能连的库?
1
haython
·
2015-04-09 13:27:48 +08:00
· 2541 次点击
这是一个创建于 3370 天前的主题,其中的信息可能已经有所发展或是发生改变。
一个mongo,只能在本机才能连接,我想用python怎么远程登录这台机再连接这个库?
mongo
ssh
连接
3 条回复
•
2015-04-10 15:28:45 +08:00
1
Septembers
2015-04-09 13:32:24 +08:00 via Android
1
ssh agent
2
cye3s
2015-04-09 17:25:11 +08:00
1
ssh tunnel
3
haython
OP
2015-04-10 15:28:45 +08:00
@
cye3s
全部用python实现?我的想法是在python代码里写上机器 的ip,用户名密码,然后就能tunnel过去连接
关于
·
帮助文档
·
博客
·
API
·
FAQ
·
实用小工具
·
4284 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 30ms ·
UTC 04:04
·
PVG 12:04
·
LAX 21:04
·
JFK 00:04
Developed with
CodeLauncher
♥ Do have faith in what you're doing.