leohxj
V2EX  ›  问与答

如何测试ssh速度?

  •  
  •   leohxj · Oct 23, 2012 · 6344 views
    This topic created in 4998 days ago, the information mentioned may be changed or developed.
    感觉买了个ssh网速还是不给力。怎么检测一下?
    11 replies    1970-01-01 08:00:00 +08:00
    zhangzheng
        1
    zhangzheng  
       Oct 23, 2012
    tcpdump
    eric_q
        2
    eric_q  
       Oct 23, 2012
    让服务商开个那台服务器上的 http 下载链接
    不准确,但好歹是个直观的印象
    cabbala
        3
    cabbala  
       Oct 23, 2012
    买之前先让服务商开个体验帐号呗
    Smartype
        4
    Smartype  
       Oct 23, 2012
    scp?
    leohxj
        5
    leohxj  
    OP
       Oct 23, 2012
    @zhangzheng windows下有这个命令么?
    leohxj
        6
    leohxj  
    OP
       Oct 23, 2012
    @eric_q 可以参考。。。
    leohxj
        7
    leohxj  
    OP
       Oct 23, 2012
    @Smartype scp?干嘛的
    chemhack
        8
    chemhack  
       Oct 23, 2012
    挂上代理用http://speedtest.net呗
    hzlzh
        9
    hzlzh  
    PRO
       Oct 23, 2012
    wget
    curl
    scp
    直接代理然后上Youtube
    leohxj
        10
    leohxj  
    OP
       Oct 24, 2012
    @chemhack 恩,试试~
    est
        11
    est  
       Oct 24, 2012   ❤️ 1
    sudo apt-get install pv
    ssh develop@server_ip 'cat /dev/urandom' | pv > /dev/null
    52MB 0:00:12 [4.75MB/s] [ <=> ]

    我局域网大概是这个速度。美国vps大概稳定在70kB/s 囧。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1176 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 17:58 · PVG 01:58 · LAX 10:58 · JFK 13:58
    ♥ Do have faith in what you're doing.