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

怎么用 Python 登录 ssh 然后获取 ssh 的 banner

  •  
  •   ml2737150 · Dec 7, 2017 · 4503 views
    This topic created in 3253 days ago, the information mentioned may be changed or developed.
    10 replies  •  2017-12-08 17:24:39 +08:00
    ml2737150
    ml2737150
    OP
    Dec 7, 2017
    1
    如题
    ml2737150
    ml2737150
    OP
    Dec 7, 2017
    3
    @congminghaoxue92 大佬 我看过了 没看懂 你能给个例子吗
    julyclyde
    julyclyde
    Dec 7, 2017
    4
    @ml2737150 你也太懒了
    QQ2171775959
    QQ2171775959
    Dec 7, 2017
    5
    老铁,扎心了,自己好好看看吧。。。。学习一下。。
    ml2737150
    ml2737150
    OP
    Dec 7, 2017
    6
    @julyclyde 我主要是看不懂英文 要用翻译软件一点点弄
    wangxn
    wangxn
    Dec 7, 2017 via Android
    8
    程序员看不懂英文也太说不过去了。
    litter123
    litter123
    Dec 7, 2017
    9
    带上你的 Chrome+Google Tranlate 插件,一次把整个网页译了不就得了
    congminghaoxue92
    congminghaoxue92
    Dec 8, 2017
    10
    from paramiko import SSHClient
    client = SSHClient()
    client.load_system_host_keys()
    client.connect('192.168.2.225',22,'user','passwd')
    stdin, stdout, stderr = client.exec_command('ls -l')
    for line in stdout:
    print('... ' + line.strip('\n'))
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3212 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 11:11 · PVG 19:11 · LAX 03:11 · JFK 06:11
    ♥ Do have faith in what you're doing.