how do i use SSHClient connect GCE VM instances

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
linyi003
Posts: 1
Joined: Thu 31 Aug 2017 03:22

how do i use SSHClient connect GCE VM instances

Post by linyi003 » Thu 31 Aug 2017 03:50

Hello, how do i use SSHClient, connect my GCE VM instances,
Currently I can use pputy to connect GCE VM instances normally.
But can not use SSHClient Demo Program connection.
My Metadata SSH Keys
Username : delphipg0001
Key : ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEA1P641KmPd1OC6rYxERPPzy8ooWB/rnrW35DdqC9zu/U/AgF2hcdhz7wAvKtyFyUo0xRs0WN7rsWDKzt4ixP/WOwqXVqCykuCBjAMCaudJXF0vdNjkSiJSaKqrMuY/DWhy7HuDvErOpLenTrXvGV6JrmKxdmGiefZCxo6xdNyXMbQi5XRGtszdVH1/AL+6xvDRItllY4xpKqx6wNigweBnSLpZPTgF5CYEPXs5xF4PB02ccCpPZcw5he446d4KIJ7NQS+mFhl0aoUsQ8YCULZpSNplo2fUGkhiANKVWVsYlH1Gj/xH/ZjN5BzB3MQroxVxqwruc1K0rTJGuRzkOaiHw== delphipg0001

External IP :35.194.242.115

How do I set up ScSSHClient to make it work?
https://drive.google.com/open?id=0BzXRI ... WVxNEVnX2M
https://drive.google.com/open?id=0BzXRI ... G5mR1JmRm8
https://drive.google.com/open?id=0BzXRI ... G96NWkxZUk

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: how do i use SSHClient connect GCE VM instances

Post by ViktorV » Thu 31 Aug 2017 09:29

To solve the issue, you can use the following recommendations:
1. Import your private key in design-time or run-time in advance. Not the specified public key, but the private one that you use when using putty.
2. In the sample, select Public key authentication instead of Keyboard-interactive.
3. In the sample, select the previously imported private key in the Private key drop-down list and try to connect to the server.

Post Reply