ssh失败,达人帮忙

软件和网站开发以及相关技术探讨
回复
SimonFu
帖子: 2
注册时间: 2008-12-17 23:40

ssh失败,达人帮忙

#1

帖子 SimonFu » 2012-01-10 11:57

simon@simon-desktop:~$ ssh -vv t1000.unix-center.net
OpenSSH_5.3p1 Debian-3ubuntu7, OpenSSL 0.9.8k 25 Mar 2009
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to t1000.unix-center.net [117.79.93.211] port 22.
debug1: Connection established.
debug1: identity file /home/simon/.ssh/identity type -1
debug1: identity file /home/simon/.ssh/id_rsa type -1
debug1: identity file /home/simon/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version Sun_SSH_1.1
debug1: no match: Sun_SSH_1.1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.3p1 Debian-3ubuntu7
debug2: fd 3 setting O_NONBLOCK
debug1: SSH2_MSG_KEXINIT sent
Write failed: Connection reset by peer

好像本地配置的问题,不知道怎样解决!达人帮忙!
谢谢!
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

Re: ssh失败,达人帮忙

#2

帖子 eexpress » 2012-01-10 12:28

Connection reset by peer
基本是超时,或者网络设置问题。
/etc/sshd_config:
ClientAliveInterval 300
或者防火墙,iptables等。
● 鸣学
SimonFu
帖子: 2
注册时间: 2008-12-17 23:40

Re: ssh失败,达人帮忙

#3

帖子 SimonFu » 2012-01-10 14:06

eexpress 写了:Connection reset by peer
基本是超时,或者网络设置问题。
/etc/sshd_config:
ClientAliveInterval 300
或者防火墙,iptables等。
配置sshd好像不对,因为我现在是客户端登录失败,和server没关系!
回复