When I try to connect to an ssh server, I keep getting an error, see below. I can connect to it just fine using VS code or the terminal but not py charm. Any suggestions?
Thank you, From the log, it seems that the connection was indeed refused by the remote host for unknown reason. I don't see any failed authentication or anything like that.
Could you please check your Linux security log for possible errors there?
1. Add the following lines to **Help | Diagnostic Tools | Debug Log Settings...**:
```
#com.intellij.ssh
```
(keep the # character)
2. Reproduce the issue and provide logs from **Help | Collect Logs and Diagnostic Data**.
You can use uploading service at https://uploads.jetbrains.com/ , and provide upload ID in your reply.
Sure, here you go:
Upload id: 2023_07_11_Xg7bcCUaxuESjKwVsEPg35 (file: pycharm-logs-20230711-0820247060251904018376456.zip)
From the log, it seems that the connection was indeed refused by the remote host for unknown reason. I don't see any failed authentication or anything like that.
Could you please check your Linux security log for possible errors there?
Debian/Ubuntu: `/var/log/auth.log`
RHEL/CentOS: `/var/log/secure`
Please check the system log as well:
Debian/Ubuntu: `/var/log/syslog`
RHEL/CentOS: `/var/log/messages`
> java.io.IOException: An established connection was aborted by the software in your host machine
The connection could also be blocked by an antivirus or a firewall on your host machine. Please try disabling any security software and try again.
Issue was due to how port forwading was working with kubernetes containers, which didn't seem to affect vscode but I was able to get around it now.
Consider this issue solved.