![SSH desde el servidor remoto, sin mensaje SSH](https://rvso.com/image/697009/SSH%20desde%20el%20servidor%20remoto%2C%20sin%20mensaje%20SSH.png)
Estoy intentando abrir una conexión SSH desde una conexión remota de PowerShell. Lo que significa que la PC1 (Windows) se conecta correctamente a la PC2 (Windows) mediante el comando Enter-PSSession. Una vez conectado, intento realizar SSH a PC3 (RHEL).
Después de realizar el intercambio de claves SSH entre la PC3 y la PC2, puedo utilizar SSH con éxito (sin pase) desde la PC2. Pero, cuando intento realizar ssh desde la PC1 (usando el escenario anterior), puedo conectarme pero no aparece el indicador del shell.
Ya probé los indicadores -T o -tt, pero no sirvió de nada. Además, el inicio de sesión raíz está habilitado.
También ejecuté el comando ssh usando -vvv y obtuve lo siguiente (al final)
Datos brutos:
Windows PowerShell
Copyright (C) 2013 Microsoft Corporation. All rights reserved.
PS C:\Users\ymeloch> Enter-PSSession -ComputerName 10.122.2.254 -Credential ymeloch
[10.122.2.254]: PS C:\Users\ymeloch\Documents> ssh -vvv -tt [email protected]
ssh.exe : OpenSSH_7.3p1, OpenSSL 1.0.2j 26 Sep 2016
+ CategoryInfo : NotSpecified: (OpenSSH_7.3p1, ...2j 26 Sep 2016:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
...
...
...
debug2: callback start
debug2: fd 3 setting TCP_NODELAY
debug3: ssh_packet_set_tos: set IP_TOS 0x10
debug2: client_session2_setup: id 0
debug2: channel 0: request pty-req confirm 1
debug1: tty_make_modes: no fd or tio
debug3: send packet: type 98
debug2: channel 0: request shell confirm 1
debug3: send packet: type 98
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug3: receive packet: type 99
debug2: channel_input_status_confirm: type 99 id 0
debug2: PTY allocation request accepted on channel 0
debug2: channel 0: rcvd adjust 2097152
debug3: receive packet: type 99
debug2: channel_input_status_confirm: type 99 id 0
debug2: shell request accepted on channel 0
debug2: channel 0: read drain
debug2: channel 0: ibuf empty
debug2: channel 0: send eof
debug3: send packet: type 96
debug2: channel 0: input drain -> closed
Last login: Sun Jan 15 08:34:01 2017 from 8.20.0.207
W A R N I N G W A R N I N G W A R N I N G W A R N I N G
LAB
W A R N I N G W A R N I N G W A R N I N G W A R N I N G