[GH-ISSUE #356] Add support for PuTTy #93

Closed
opened 2026-05-07 00:18:43 +02:00 by BreizhHardware · 3 comments

Originally created by @sandvige on GitHub (Jan 18, 2023).
Original GitHub issue: https://github.com/ovh/the-bastion/issues/356

Hello,

We'd love to be able to use PuTTy through thebastion, any hints on how to do that? We're facing a lot of issues (garbled packet or administratively prohibited errors).

Would be great to have an exemple to achieve that.

Thanks!

Originally created by @sandvige on GitHub (Jan 18, 2023). Original GitHub issue: https://github.com/ovh/the-bastion/issues/356 Hello, We'd love to be able to use PuTTy through thebastion, any hints on how to do that? We're facing a lot of issues (garbled packet or administratively prohibited errors). Would be great to have an exemple to achieve that. Thanks!
Author
Owner

@biradur78214 commented on GitHub (Mar 20, 2023):

Hello,

thank you for the docs
how to auto login to a remote server throw the bastion with putty?

in putty, in the "remote command" i type ssh root@x.x.x.x but i have the following error:
! WARN : Yopu did not use the '--' delimiter to pass our remote command, maybe something crazy will happen !
Unable to resolve host 'ssh' (Name or service not known)

i try with --root@x.x.x.x but it seems that the bastion open the connexion on the remote server and close it immediatly.

Any idea ?

<!-- gh-comment-id:1475915790 --> @biradur78214 commented on GitHub (Mar 20, 2023): Hello, thank you for the docs how to auto login to a remote server throw the bastion with putty? in putty, in the "remote command" i type ssh root@x.x.x.x but i have the following error: ! WARN : Yopu did not use the '--' delimiter to pass our remote command, maybe something crazy will happen ! Unable to resolve host 'ssh' (Name or service not known) i try with --root@x.x.x.x but it seems that the bastion open the connexion on the remote server and close it immediatly. Any idea ?
Author
Owner

@kofee commented on GitHub (Mar 20, 2023):

Hi,

In the case of passing a "Remote command", the "ssh" part is implicit as you do not get to the interactive prompt :)
So just set "root@x.x.x.x" as the remote command.

<!-- gh-comment-id:1475931248 --> @kofee commented on GitHub (Mar 20, 2023): Hi, In the case of passing a "Remote command", the "ssh" part is implicit as you do not get to the interactive prompt :) So just set "root@x.x.x.x" as the remote command.
Author
Owner

@biradur78214 commented on GitHub (Mar 20, 2023):

thank you. It works !

<!-- gh-comment-id:1475943186 --> @biradur78214 commented on GitHub (Mar 20, 2023): thank you. It works !
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/the-bastion#93
No description provided.