Royal TS SSH with Teleport semi-using Putty saved Sessions #42228
Atroskelis
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've managed to use Royal TS to SSH to hosts behind 1 Teleport proxy/cluster
You'd need
Royal TS
Putty
tsh
Notes and caveats:
Login with tsh manually and puttyconfig your required sessions - You can also create a task that runs the tsh executable with the 'login --proxy=xxx' arguments
In Royal TS, create a connection and edit the Active Plugin Putty Settigs and add your putty executable
2.1
in the Credentials - Private key file set the location of your ppk, it should be in your Users\username.tsh\keys<proxy>\username.ppk
in Advanced - SSH settings - Credentials put the -cert.pub found in .tsh\keys<proxy>\username-ssh\
In the Proxy Settings, set proxy mode to local and Proxy Server to your Teleport login page
In proxy settings -> Advanced -> Telnet or local proxy command set something similar to this - configure the path to where you downloaded tsh.exe
C:\\Users\\username\\teleport-v15.3.1-windows-amd64-bin\\tsh.exe proxy ssh --cluster=<clustername> --proxy=<proxyname> %user@%host
in The Terminal Settings put Display name as you desire and the computer name as the session you want to connect to teleport node
Test and modify as needed
For bulk import i recommend you create a template from a perfect working terminal and add a new terminal with template and add every hostname you need separated by ; and it will auto-generate the rest. Do not attempt CSV import as it will not import proxy settings
The advantage of this method vs importing the putty session directly is that with importing most settings are unavailable (you must edit the putty saved session every time, including for fonts) also with importing the proxy settings do not not get imported.
Any criticism or suggestion is accepted.
HTH
Beta Was this translation helpful? Give feedback.
All reactions