I connect over an SSH server to another SSH behind it and have set it up with SSH gateway in it. Logins to both servers seem to work too but in the end I'm not getting a shell. I can see that authentication is successful. Am I missing something? Maybe I need to configure something on the SSH I jump to?
This is the window I'm left with:
[07.06.2023 11:10:02] Validating public key: rsa-sha2-512 [07.06.2023 11:10:02] Received userauth key ok [07.06.2023 11:10:02] Sending userauth public key signature: rsa-sha2-512 [07.06.2023 11:10:02] Received userauth success [07.06.2023 11:10:02] User authenticated successfuly by public key [07.06.2023 11:10:02] Sending forward channel open request: 0/- rauch-data.rauch.lan:22 [07.06.2023 11:10:02] Received global request: hostkeys-00@openssh.com , no need to reply [07.06.2023 11:10:02] Received debug message: /root/.ssh/authorized_keys:2: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding [07.06.2023 11:10:02] Received debug message: /root/.ssh/authorized_keys:2: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding [07.06.2023 11:10:02] Received channel open confirmation: 0/0 WS 200000/2097152 MPS 32000/32768 [07.06.2023 11:10:02] SSH banner: SSH-2.0-OpenSSH_5.5p1 Debian-6+squeeze2 [07.06.2023 11:10:02] Sending kex init [07.06.2023 11:10:02] Received kex init [07.06.2023 11:10:02] Selected algorithms: diffie-hellman-group-exchange-sha256, ssh-rsa, aes256-ctr, aes256-ctr, hmac-sha1, hmac-sha1, none, none [07.06.2023 11:10:02] Sending diffie-hellman group exchange request [07.06.2023 11:10:02] Received diffie-hellman group of size: 4096 [07.06.2023 11:10:02] Sending diffie-hellman group exchange kex init [07.06.2023 11:10:03] Received diffie-hellman group exchange kex reply [07.06.2023 11:10:03] Successfully authentified server [07.06.2023 11:10:03] Sending new keys message [07.06.2023 11:10:03] Received new keys message [07.06.2023 11:10:03] Sending userauth service request [07.06.2023 11:10:03] Received service accepted message [07.06.2023 11:10:03] Sending userauth init request [07.06.2023 11:10:03] Received userauth failure: publickey,password,keyboard-interactive [07.06.2023 11:10:03] Starting interactive authentication [07.06.2023 11:10:03] Sending userauth interactive request [07.06.2023 11:10:03] Received userauth info request: [Prompt->Password: ] [07.06.2023 11:10:03] Sending userauth interactive response: 1 [07.06.2023 11:10:03] Received userauth info request: [07.06.2023 11:10:03] Sending userauth interactive response: 0 [07.06.2023 11:10:03] Received userauth success [07.06.2023 11:10:03] User authenticated successfuly by password interactive Listening on 127.0.0.1:3390
Hello,
Thanks for contacting us regarding this !
Are you certain you're using an SSH Shell and not an SSH Tunnel entry ?
I suspect an SSH Tunnel entry is being used.
Best regards,
Hello Zachary,
I just looked and it is an SSH Shell... but I just recreated the session and now it is working. I now exported the working settings and the ones before as json and compared them:
"PortForwards":[{"DestinationPort":3389,"Source":"127.0.0.1","SourcePort":3390}]
"TerminalMac":{"PortForwards":[{"DestinationPort":3389,"Source":"127.0.0.1","SourcePort":3390}]}}]
Guess this was causing the issue but I couldn't find anything in the session settings regarding this. Maybe it was because I was toying with "VPN/SSH/Gateway" before and thought I disabled all settings but apparently this was not the case. Anyway it's fixed now. Thanks for your time.
Hello,
Quite strange, but I'm glad it's working for you now !
If you find the issue returns, let us know !
Best regards,