ssh间歇性地停止" debug1:身份文件/Users/jason/.ssh/id_dsa-cert类型-1"

时间:2014-07-06 01:13:54

标签: performance ssh

我有时需要通过慢速(1.5Mbps向上500Kbps向下)连接连接到我的服务器。这是我的手机连接。当我这样做时,ssh会间歇地停在

jason:>ssh -vvv jason@www.randalds.com.au
OpenSSH_5.6p1, OpenSSL 0.9.8y 5 Feb 2013
debug1: Reading configuration data /Users/jason/.ssh/config
debug1: Applying options for *
debug1: Reading configuration data /etc/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to www.randalds.com.au [119.9.40.12] port 22.
debug1: Connection established.
debug3: Not a RSA1 key file /Users/jason/.ssh/id_rsa.
debug2: key_type_from_name: unknown key type '-----BEGIN'
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug2: key_type_from_name: unknown key type '-----END'
debug3: key_read: missing keytype
debug1: identity file /Users/jason/.ssh/id_rsa type 1
debug1: identity file /Users/jason/.ssh/id_rsa-cert type -1
debug1: identity file /Users/jason/.ssh/id_dsa type -1
debug1: identity file /Users/jason/.ssh/id_dsa-cert type -1

我真的不想使用服务器密钥,因为我使用make来部署我的代码,我喜欢在上传代码之前输入密码,以防我改变主意。我发现无法通过密钥首先关闭ssh验证,所以我想也许生成一个RSA密钥服务器端,本地端会有所作为。它没有。

这是最近的,我一直能够在缓慢的连接上使用ssh登录,而在10年前,我记得用我的56K调制解调器成功地做到了这一点。我真正喜欢的是足够的加密和我在场外或远离办公室时的连接能力。我尝试过使用“ssh -xC”和

的各种设置
GSSAPIAuthentication yes
GSSAPIDelegateCredentials no

但无济于事。 Telnet曾经像56K调制解调器一样快速。有没有办法像这样快速获得ssh?

1 个答案:

答案 0 :(得分:1)

尝试在服务器端关闭DNS查找。相应的设置为" UseDNS = no"在sshd_config中。您可以在大多数Linux发行版上的/ etc / ssh / sshd_config下找到配置。