Connect to SSH target hosting BSD based OS - [Failed to parse both uname kernel string 'FreeBSD' and Windows OS env variable 'null' ]

Answered

I'm trying to connect to a FreeBSD based OS called TC/BSD via SSH. After accepting my password, I receive two errors. Is there any known workarounds?

First error:

Second error:

0
3 comments

Hi! What is your Fleet version? How do you configure your SSH? Do you use SSH agent? 

Could you please upload full Fleet logs at https://uploads.jetbrains.com for us to investigate?

Thank you.

0

Thanks for your response, Andrey! I am using Fleet version 1.33.90. 

 

To configure, I go to the File → Connect to → SSH. I enter my credentials and password, it throws the error when trying to connect. I'm on a Windows host, and I can successfully SSH into the system with Powershell.

 

I'll upload the full logs to the link, here is a snippet of the last few minutes when I tried the connection.

 

[20240412 07:47:15.106 INFO  ??@?? fleet.workspace.WorkspacePlugins] Workspace config is not changed according to the performed resolution, no need to apply
[20240412 07:47:16.107 INFO  FR@qbh59ginlelhma5mlsq8 f.ssh.frontend.FleetSshConnection] Launching non interactive command echo FLEET_ECHO_START $(uname -s) FLEET_ECHO_END
[20240412 07:47:16.181 INFO  ??@?? f.ssh.frontend.FleetSshConnection] Channel Close Future Listener was called. DefaultCloseFuture[id=][value=true], true, true
[20240412 07:47:16.182 INFO  FR@qbh59ginlelhma5mlsq8 f.ssh.frontend.FleetSshConnection] Launching non interactive command echo FLEET_ECHO_START `uname -s` FLEET_ECHO_END
[20240412 07:47:16.223 INFO  ??@?? f.ssh.frontend.FleetSshConnection] Channel Close Future Listener was called. DefaultCloseFuture[id=][value=true], true, true
[20240412 07:47:16.223 INFO  FR@qbh59ginlelhma5mlsq8 f.ssh.frontend.FleetSshConnection] Launching non interactive command echo FLEET_ECHO_START $(/bin/uname -s) FLEET_ECHO_END
[20240412 07:47:16.265 INFO  ??@?? f.ssh.frontend.FleetSshConnection] Channel Close Future Listener was called. DefaultCloseFuture[id=][value=true], true, true
[20240412 07:47:16.265 INFO  FR@qbh59ginlelhma5mlsq8 f.ssh.frontend.FleetSshConnection] Launching non interactive command echo FLEET_ECHO_START `/bin/uname -s` FLEET_ECHO_END
[20240412 07:47:16.371 INFO  ??@?? f.ssh.frontend.FleetSshConnection] Channel Close Future Listener was called. DefaultCloseFuture[id=][value=true], true, true
[20240412 07:47:16.371 INFO  FR@qbh59ginlelhma5mlsq8 f.ssh.frontend.FleetSshConnection] Launching non interactive command echo FLEET_ECHO_START $(/usr/bin/uname -s) FLEET_ECHO_END
[20240412 07:47:16.415 INFO  ??@?? f.ssh.frontend.FleetSshConnection] Channel Close Future Listener was called. DefaultCloseFuture[id=][value=true], true, true
[20240412 07:47:16.415 INFO  FR@qbh59ginlelhma5mlsq8 f.ssh.frontend.FleetSshConnection] Launching non interactive command echo FLEET_ECHO_START `/usr/bin/uname -s` FLEET_ECHO_END
[20240412 07:47:16.457 INFO  ??@?? f.ssh.frontend.FleetSshConnection] Channel Close Future Listener was called. DefaultCloseFuture[id=][value=true], true, true
[20240412 07:47:16.458 INFO  FR@qbh59ginlelhma5mlsq8 f.ssh.frontend.FleetSshConnection] Launching non interactive command cmd /C echo FLEET_ECHO_START%OS%FLEET_ECHO_END
[20240412 07:47:16.501 INFO  ??@?? f.ssh.frontend.FleetSshConnection] Channel Close Future Listener was called. DefaultCloseFuture[id=][value=true], true, true
[20240412 07:47:16.631 WARN  FR@qbh59ginlelhma5mlsq8 fleet.ssh.frontend.SshSupervisor] Connect to SSH failed; An unknown error has occurred (Failed to parse both uname kernel string 'FreeBSD' and Windows OS env variable 'null')
java.lang.IllegalStateException: Failed to parse both uname kernel string 'FreeBSD' and Windows OS env variable 'null'
    at fleet.plugins.ssh.frontend/fleet.ssh.frontend.SshSupervisorKt$requestSshServerOs$2.invokeSuspend(SshSupervisor.kt:230)
    at kotlin.stdlib/kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source)
    at kotlinx.coroutines.core/kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:28)
    at kotlinx.coroutines.core/kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:99)
    at kotlin.stdlib/kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source)
    at kotlinx.coroutines.core/kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:28)
    at kotlinx.coroutines.core/kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:99)
    at kotlin.stdlib/kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source)
    at kotlinx.coroutines.core/kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:28)
    at kotlinx.coroutines.core/kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:99)
    at kotlin.stdlib/kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source)
    at kotlinx.coroutines.core/kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:28)
    at kotlinx.coroutines.core/kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:99)
    at kotlin.stdlib/kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source)
    at kotlinx.coroutines.core/kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
    at kotlinx.coroutines.core/kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:585)
    at kotlinx.coroutines.core/kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:802)
    at kotlinx.coroutines.core/kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:706)
    at kotlinx.coroutines.core/kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:693)
 

 

 

 

 

0

Thank you! It looks like we do not support BSD OS yet. I have created the issue for such support: FL-25768 Connect to SSH target: support BSD OS

Please vote for it and follow for updates. Thank you for reporting!

0

Please sign in to leave a comment.