Skip to content

can't get past net.schmizz.sshj #1022

@MalikRumi

Description

@MalikRumi

My fellow programmers:
I do not know java. I am a Python developer. However, I use PyCharm as my IDE, and it in turn is written in java. For two weeks I have been unable to use ssh with my new site - meaning, for two weeks I have been unable to get my site up. I have put in a ticket to JetBrains, but it seems they couldn't care less. This is the error:

[2025-09-20 17:49:04] com.intellij.execution.ExecutionException: SSH: net.schmizz.sshj.transport.TransportException: Server closed connection during identification exchange

I say this is "the" error because it is always this error. It doesn't matter what part of PyCharm I am using, or what I am trying to accomplish. If it uses ssh, this is where everything comes to a crashing halt. And there is never any more information than this.

There is apparently no way around sshj in PyCharm. I have certainly looked. Google Gemini suggested I switch to using the 'native' ssh that came with my MacOS. That would be fine, but there's no way to do that. It's sshj or nothing. And if it won't connect, or tell you how to debug, your just s.o.l.

What is net.schmizz.sshj anyway? Is it some kind of Bastion / jump host?

This afternoon I was going to send a command to my remote just using the password and psql. And yet, this damn error showed up even there. There was no ssh in my command whatsoever. I have to get out of PyCharm altogether to make anything work. Which makes me wonder why I am paying for it, especially when support doesn't communicate. Anyway, I hit upon the idea of seeking you out, to see if you could explain this schmizz to me and help me debug, or even better, rip it out of PyCharm altogether. I'm sure you will have questions because I'm not providing sufficient information. Like I said, I don't know squat about java, and PyCharm itself is closed source, so I need someone who knows their way around this ecosystem to help me. Just tell me what you need to know, and I will post it asap. Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions