Hi, anyone please know how this issue be fixed? I got it when trying to SSH to a server after installing an OS via rescue mode of Hetzner (dedicated server seller)

ERROR: Got error response from SOCKS server: 5 (connection refused).
FATAL: failed to begin relaying via SOCKS.
ssh_exchange_identification: Connection closed by remote host