Wine 3.0 Bitvise SSH Client not working

Questions about Wine on Linux
Locked
peter1985
Newbie
Newbie
Posts: 2
Joined: Wed Nov 14, 2018 12:52 pm

Wine 3.0 Bitvise SSH Client not working

Post by peter1985 »

Hello,
I'm trying to use bitvise ssh client on linux ubuntu 18.04 with wine 3.0.
The installation was successfull, the program starts. Only it's not working at all - I can't connect to any ssh server and I can't also import aby bscp profile.
I found some questions about linux and wine compatibility and some confirmed that it was working on 0.9.3 wine version.
My errors trying to connect to ssh server:
18:20:06.485 Current date: 2018-11-14
18:20:06.485 Started a new SSH2 session.
18:20:06.498 Connecting to SSH2 server 192.168.1.99:22.
18:20:06.503 Connection established.
18:20:06.511 Server version: SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.1
18:20:06.511 First key exchange started. Cryptographic provider: Windows CNG (x86) with additions
18:20:06.528 The SSH2 session has terminated with error. Reason: Error in component session/transport/kexHandler. Error class: Flow, code: ComponentException, message: Exception in component: Windows CNG (x86) with additions: Error in CiDhInit: BCryptOpenAlgorithmProvider: NT status 0xc0000002.

Error trying to import a bscp profile (from working windows version):
18:20:48.924 Current date: 2018-11-14
18:20:48.924 Loading profile 'C:\Program Files (x86)\Bitvise SSH Client\configs\bbb.bscp'.
18:20:48.925 Loading profile failed: - Windows CNG (x86) with additions: Error in SymInit: BCryptSetProperty for BCRYPT_CHAINING_MODE: NT status 0xc0000002
- BscConfig::Decode: at profile decode

Is there a solution to these issues?
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine 3.0 Bitvise SSH Client not working

Post by jkfloris »

Just out of curiosity, why don't you use the native Linux programs?
peter1985
Newbie
Newbie
Posts: 2
Joined: Wed Nov 14, 2018 12:52 pm

Re: Wine 3.0 Bitvise SSH Client not working

Post by peter1985 »

Only because of convenience ;)
I manage many network installations in my work where I have Windows OS. At home I have Linux in my computer, so if I need to connect to some device I need to configure it again at home. not just download the bscp file from private cloud. The configuration changes often, so the best way for me is using a bitvise ssh client via wine.
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine 3.0 Bitvise SSH Client not working

Post by jkfloris »

I can't test a bscp file, but the program seems to work as expected in a 32-bit Wineprefix set to Windows XP
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Wine 3.0 Bitvise SSH Client not working

Post by Bob Wya »

@peter1985

Testing with wine-staging-3.20 or wine-vanilla-3.20, also with a 32-bit WINEPREFIX, set to Windows XP.
I can't seem to connect to my NAS, using public authentication only.
I'm getting a consistent failed login:

Code: Select all

...
15:03:06.056 The SSH2 session has terminated with error. Reason: Error in component session. Error class: Flow, code: ComponentException, message: Exception in component: Null pointer read.
...
YMMV.

Seriously it seems crazy to try to try to use a tool like this on a Linux / BSD box. :roll:
I use it on my Windows installs, and it's a god send...
But when you've got scriptable native tools, including sshfs...

Bob
Locked