Pessoal eu fiz o teste no servidor usando o comando ssh -v root@192.168.0.7 e o mesmo me pedi usuário e senha e passar normalmente, também fiz outro teste e observei que quando eu fico em média 30 min sem tentar fazer login do cliente para o servidor via ssh, ele funciona, agora por pouco tempo e a mensagem de "conexão fechada pela outra ponta" volta a aparecer e fecha a janela. Percebi com os teste que deve ser um serviço oscilano!
Abaixo o teste que fiz na maquina cliente para o servidor!
iran@Development:~$ ssh -v root@192.168.0.7
OpenSSH_5.8p1 Debian-7ubuntu1, OpenSSL 1.0.0e 6 Sep 2011
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to 192.168.0.7 [192.168.0.7] port 22.
debug1: Connection established.
debug1: identity file /home/iran/.ssh/id_rsa type -1
debug1: identity file /home/iran/.ssh/id_rsa-cert type -1
debug1: identity file /home/iran/.ssh/id_dsa type -1
debug1: identity file /home/iran/.ssh/id_dsa-cert type -1
debug1: identity file /home/iran/.ssh/id_ecdsa type -1
debug1: identity file /home/iran/.ssh/id_ecdsa-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.2
debug1: match: OpenSSH_5.2 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.8p1 Debian-7ubuntu1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Server host key: RSA 2d:41:04:c2:06:17:db:dd:55:72:56:e0:97:22:be:81
debug1: Host '192.168.0.7' is known and matches the RSA host key.
debug1: Found key in /home/iran/.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: password
debug1: Next authentication method: password
root@192.168.0.7's password:
debug1: Authentications that can continue: password
Permission denied, please try again.
root@192.168.0.7's password: