opening ad-hoc telnet/ssh session with RDM

Resolved

opening ad-hoc telnet/ssh session with RDM

avatar

TLDR: my question is in last line:
Hello team. I have an application which does ssh/telnet sessions to some external terminals. I can click on the terminal name and it will do telnet to specific IP port. Those IPs/ports are dynamic and changing frequently, so I tis not practical to create a session for them on RDM.

The tool lets me choose my terminal type and it will trigger a command line with some options in order to open telnet session with the desired tool (Putty, RoyalTS, secureCRT...etc). For aforementioned tools there is a command line to start an ad-hoc session by knowing protocol, IP address, and port number.

However, there doesn't seem to be an option to use RDM based on those info. I have an IP and port and want to initiate telnet session to those ports via RDM. I don't have a session saved in RDM for this IP/port.

Is there a command line to start telnet/ssh session from RDM when session isn't saved in RDM as it is only temporal ad-hoc session (for putty, for example, the command line will be something like: putty.exe -telnet 192.168.253.128 22)

All Comments (5)

avatar

Hello,

The Quick Connect feature combined with a Telnet Template should fulfill your goal.
https://docs.devolutions.net/rdm/windows/commands/view/view/quick-connect/
https://docs.devolutions.net/rdm/windows/commands/file/templates/

Let us know if that helps!

Best regards,

Érica Poirier

avatar

Thank you Erica.
Quick connect is a useful feature. What I need is actually the command line that allows me to run quick connect session.

The tool I am using is invoking a command to open the session. For other tools there is a command line option. For RDM, I am not sure if this is available.
I can read the following document (but it doesn't show how to run quick connect session from CLI): https://docs.devolutions.net/kb/remote-desktop-manager/how-to-articles/command-line-arguments/

Hello,

The Quick Connect feature combined with a Telnet Template should fulfill your goal.
https://docs.devolutions.net/rdm/windows/commands/view/view/quick-connect/
https://docs.devolutions.net/rdm/windows/commands/file/templates/

Let us know if that helps!

Best regards,
avatar

Hello,

Thank you for your feedback.

Using the command line combined with an existing Telnet template from your data source is possible.

You will need the following information:

  • ID of your data source
  • ID of the Template entry
  • IP address or hostname
  • Username
  • Password


Here is a sample of this command.

RemoteDesktopManager.exe /Datasource:39A5443D-72F8-4408-B209-9CB8DC6679C6 /Template:48db2a34-db80-4c56-91f4-fa6d4a7a60b4 /Host:192.168.168.168 /UserName:admin /Password:adminpassword


Let us know if that helps.

Best regards,

Érica Poirier

avatar

Amazing!! Thank you.
That's working just fine. I had to add "/Title" parameters to distinguish different sessions. and now it is working as I wanted.
Many thanks for your support Erica.

avatar

Hello,

Thank you for your reply and I'm glad that the provided solution has helped!

Best regards,

Érica Poirier