You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
I've been unable to use a private key that wasn't putty's ppk. It complains
I've been unable to use the sessions without tsh puttyconfig for some reason that i couldnt find out.
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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