Cannot SSH over exposed TCP (multiple pods, tested from different local machine)

Hi @here I cannot SSH over TCP but is able to do basic. I suspected my Docker at first, but I have the same issue with multiple Docker image. I tested it from multiple local machine. This is the verbosed error message: debug1: Reading configuration data ~/.ssh/config debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files debug1: /etc/ssh/ssh_config line 54: Applying options for * debug2: resolve_canonicalize: hostname xxx.xxx... is address debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '~/.ssh/known_hosts' debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '~/.ssh/known_hosts2' debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling debug3: channel_clear_timeouts: clearing debug3: ssh_connect_direct: entering debug1: Connecting to xxx.xxx... [xxx.xxx...] port 13454. debug3: set_sock_tos: set socket 3 IP_TOS 0x48 debug1: connect to address xxx.xxx... port 13454: Connection refused ssh: connect to host xxx.xxx... port 13454: Connection refused
8 Replies
Madiator2011 (Work)
what are you trying to do?
June Thai
June Thai3mo ago
Hi, I'm trying to SSH over TCP for SCP and SFTP support This is the command I used ssh [email protected] -p yyyy -i ~/.ssh/id_ed25519
Madiator2011 (Work)
should work fine
nerdylive
nerdylive3mo ago
did you have the right key on your local? it says conn refused there, so it means connection is refused by the server, not related with the authentication my bad so check the server if it was running the ssh, in your internal port
Madiator2011 (Work)
or could be wrong ssh keys injected into server causing pod to unable to start ssh service
June Thai
June Thai3mo ago
I add the ssh keys, regenerate and add them again, restart the pod, etc. still cannot access the pod with this command.
ssalabi
ssalabi3mo ago
i am having the same issue. did you solve it?
Madiator2011 (Work)
usually it cause you generate keys wrong
Want results from more Discord servers?
Add your server