On 12 October 2016 at 17:52, Erick Ocrospoma <zipper1...@gmail.com> wrote:

>
>
> On 12 October 2016 at 11:40, Emezeta <ze...@insiberia.net> wrote:
>
>> Hola,
>>
>> Intento resolver un problema en un servidor remoto. Debian 7
>> "old-stable" acceso por ssh / nat.
>> Desde hace unos días no es posible conectarse.
>> Del lado del cliente, versión (OpenSSH_6.7p1 Debian-5+deb8u3, OpenSSL
>> 1.0.1t) la cosa termina en un time-out.
>> Se usan llaves ssh-rsa publica/privada. No han habido actualizaciones
>> recientes.
>>
>> Esta es la salida del cliente :
>>
>> $ ssh -vvv -p 2022 u...@servidor.domain.com
>> OpenSSH_6.7p1 Debian-5+deb8u3, OpenSSL 1.0.1t  3 May 2016
>> debug1: Reading configuration data /home/user/.ssh/config
>> debug1: Reading configuration data /etc/ssh/ssh_config
>> debug1: /etc/ssh/ssh_config line 19: Applying options for *
>> debug2: ssh_connect: needpriv 0
>> debug1: Connecting to servidor.domain.com [xxx.xxx.xxx.xxx port 2022.
>> debug1: connect to address xxx.xxx.xxx.xxx port 2022: Connection timed out
>> ssh: connect to host servidor.domain.com 2022: Connection timed out
>>
>> Esta es la salida del servidor (OpenSSH_6.0p1 Debian-4+deb7u2) en debug:
>>
>> # /sbin/sshd -p 22 -D -ddd -e
>>
>
> ​Porque te conectas remotamente con el puerto 2022, y localmente con el
> 22? Deberias probar con ambos.
> Si te da timeout es un tema de conectividad. Llegas al puerto 2022
> haciendo telnet?
>

​Ah, por cierto, no mandes el mismo mail a multiples listas de correo, no
todos estamos suscritos a las mismas listas que tu (como en mi caso)​, me
esta rebotando los correos.

​Entiendo tu desesperacion, pero es por favor actuar mesuradamente.

Gracias.​



>
>
>> debug2: load_server_config: filename /etc/ssh/sshd_config
>> debug2: load_server_config: done config len = 648
>> debug2: parse_server_config: config /etc/ssh/sshd_config len 648
>> debug3: /etc/ssh/sshd_config:5 setting Port 22
>> debug3: /etc/ssh/sshd_config:9 setting Protocol 2
>> debug3: /etc/ssh/sshd_config:11 setting HostKey /etc/ssh/ssh_host_rsa_key
>> debug3: /etc/ssh/sshd_config:12 setting HostKey /etc/ssh/ssh_host_dsa_key
>> debug3: /etc/ssh/sshd_config:14 setting UsePrivilegeSeparation yes
>> debug3: /etc/ssh/sshd_config:17 setting KeyRegenerationInterval 3600
>> debug3: /etc/ssh/sshd_config:18 setting ServerKeyBits 768
>> debug3: /etc/ssh/sshd_config:21 setting SyslogFacility AUTH
>> debug3: /etc/ssh/sshd_config:22 setting LogLevel INFO
>> debug3: /etc/ssh/sshd_config:25 setting LoginGraceTime 120
>> debug3: /etc/ssh/sshd_config:26 setting PermitRootLogin yes
>> debug3: /etc/ssh/sshd_config:27 setting StrictModes yes
>> debug3: /etc/ssh/sshd_config:29 setting RSAAuthentication yes
>> debug3: /etc/ssh/sshd_config:30 setting PubkeyAuthentication yes
>> debug3: /etc/ssh/sshd_config:34 setting IgnoreRhosts yes
>> debug3: /etc/ssh/sshd_config:36 setting RhostsRSAAuthentication no
>> debug3: /etc/ssh/sshd_config:38 setting HostbasedAuthentication no
>> debug3: /etc/ssh/sshd_config:43 setting PermitEmptyPasswords no
>> debug3: /etc/ssh/sshd_config:47 setting ChallengeResponseAuthentication
>> no
>> debug3: /etc/ssh/sshd_config:62 setting X11Forwarding yes
>> debug3: /etc/ssh/sshd_config:63 setting X11DisplayOffset 10
>> debug3: /etc/ssh/sshd_config:64 setting PrintMotd no
>> debug3: /etc/ssh/sshd_config:65 setting PrintLastLog yes
>> debug3: /etc/ssh/sshd_config:66 setting TCPKeepAlive yes
>> debug3: /etc/ssh/sshd_config:73 setting AcceptEnv LANG LC_*
>> debug3: /etc/ssh/sshd_config:75 setting Subsystem sftp
>> /usr/lib/openssh/sftp-server
>> debug3: /etc/ssh/sshd_config:86 setting UsePAM yes
>> debug1: sshd version OpenSSH_6.0p1 Debian-4+deb7u2
>> debug3: Incorrect RSA1 identifier
>> debug1: read PEM private key done: type RSA
>> debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048
>> debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048
>> debug1: private host key: #0 type 1 RSA
>> debug3: Incorrect RSA1 identifier
>> debug1: read PEM private key done: type DSA
>> debug1: Checking blacklist file /usr/share/ssh/blacklist.DSA-1024
>> debug1: Checking blacklist file /etc/ssh/blacklist.DSA-1024
>> debug1: private host key: #1 type 2 DSA
>> debug1: rexec_argv[0]='/usr/sbin/sshd'
>> debug1: rexec_argv[1]='-p'
>> debug1: rexec_argv[2]='22'
>> debug1: rexec_argv[3]='-D'
>> debug1: rexec_argv[4]='-ddd'
>> debug1: rexec_argv[5]='-e'
>> debug3: oom_adjust_setup
>> Set /proc/self/oom_score_adj from 0 to -1000
>> debug2: fd 3 setting O_NONBLOCK
>> debug1: Bind to port 22 on 0.0.0.0.
>> Server listening on 0.0.0.0 port 22.
>> debug2: fd 4 setting O_NONBLOCK
>> debug3: sock_set_v6only: set socket 4 IPV6_V6ONLY
>> debug1: Bind to port 22 on ::.
>> Server listening on :: port 22.
>> Received signal 15; terminating.
>>
>> El servidor sshd recibe la señal term luego de recibir la petición del
>> cliente.
>>
>> Los logs del sistema no contienen mensajes de error.
>> Cualquier ayuda, comentarios, etc. será apreciada. Gracias.
>>
>> Saludos,
>>
>>
>
>
> --
>
>
> Erick.
>
>
> -------------------------------------------
> IRC     :   zerick
> Blog    : http://zerick.me
> About :  http://about.me/zerick
> Linux User ID :  549567
>



-- 


Erick.


-------------------------------------------
IRC     :   zerick
Blog    : http://zerick.me
About :  http://about.me/zerick
Linux User ID :  549567

Responder a