Native SFTP client as a tool instead of individual entry

Native SFTP client as a tool instead of individual entry

0 vote

avatar

I would like to see the native SFTP client be usable as a Macro/Tool instead of a pre-defined entry.

For example: Currently, in order to utilize the SFTP connection I would have to define an entry for each of my 700+ servers.

Instead I would like to right click on an existing ssh entry, select 'tools' and have an option to open winscp using the saved address and credentials (or ssh key) in the ssh entry.

Is this currently possible? I have only found a way to pre-define the entry in the same group so far.

All Comments (22)

avatar

Hello,

It's possible to apply an existing template to an entry like you want to do.

Please consult the topic below for more information
http://help.remotedesktopmanager.com/macroscripttools_template.htm

Best regards,

Jeff Dagenais

avatar

That is exactly what I was looking for.

Thank you.

avatar

I wanted to revisit this. As it only partially fills the need we have.

Example Scenario: we have an entry defined as an ssh session, we have that session open already. If I want to open the native sftp client as a template for this session, I have to exit the existing session first. What I would like for the tool to do is open an additional session using the template while the original ssh session is still open.

Essentially I could open up the same session using multiple templates at the same time. I believe it was working that way up-until the latest build. 11.5.0.0.

I've gone back through configurations on each of the templates as well as the macro's and I do not see any flags/switches I can add to open an additional session.

avatar

Hi,
It seems to work fine for me when I go back to the dashboard I can see my templates in the Macros/Scripts/Tools tab page.

Regards

David Hervieux

avatar

Hi,
Your issue might be related to this:

https://forum.devolutions.net/messages.aspx?TopicID=26084&MessageID=93847#post93847

We are investigating.

Regards

David Hervieux

avatar

Modified existing session + all templates used by macro-tools.
Here are my results.

In the main entry (ssh) and all templates I have 'Allow open multiple connections' set to 'True'
If I open the session using a macro template then open the mail ssh session it works correctly.
If I do the reverse, opening the main ssh session, then attempt to open an additional session with the macro templates it simply jumps back to the original session without opening an additional tab or external window.

I will monitor the other thread.

Thank you for the input.

avatar

Additional Update:

It seems to be working after the following:

I had to set the priority of the Macro Templates higher than the original ssh entry.

Once I set the priority of the 'tools' higher than the original entry AND have multiple connections hard set to true (was default) then i'm able to use the tools as we intended.

avatar

Hi,
I've made a fix internally for that. This should be in the next minor release.

Regards

David Hervieux

avatar

Great, thank you

avatar

Hi, old thread, but I'd like the same thing and the goto link does not work anymore.
So, how can we easily start a SFTP connection directly from a SSH one, without creating a new session?
Thank you.

avatar

Hello,

In your SSH Shell entry, you can check "Use SFTP connection for remote file transfer":

forum image

I think this is what you are looking for. You can also check "start minimized" if you don't want to use the feature every time but would only want it in certain situations.

Regards,

Hubert Mireault

avatar

Hi, thank you for answering. I was aware of this option but this does not work as asked and it also does not work well. The check box always opens a file browser which most of the time is not needed and it also takes a LOT of time to login. At least on my servers, this could take even 10 seconds to open a connection who otherwise opens instantly.
Something la right clicking a SSH connection or the opened ssh tab and choosing SFTP would be a lot more useful. Or in the current implementation you described, it would be useful to open the file browser only when needed and resolve the login problems.

avatar

Hello,

Thanks for the feedback. The "start minimized" would be the option you're looking for if you don't want to always use it by default.
Regarding the length of the login it does sound like an issue. Do you have the same kind of delay when you use an SFTP entry by itself?

Regards,

Hubert Mireault

avatar

Apparently the SFTP connection takes some time to log in. It seems that the first time connecting takes the most time, after that it's faster, 2-3 seconds.

The minimized option seems useful, but how do I bring the file browser back to use SFTP? I can not find it.

Thank you.

avatar

Hello,

You can press this button in the toolbar to show/hide the file transfer section:

forum image

For the SFTP connection taking some time to connect, if this is something you aren't able to reproduce in another application, you could send us your SFTP logs, and it could help us pinpoint the issue and see if we can do something about it. The you can configure your SSH entry to write logs specific to SFTP by configuring this section:

forum image

Make sure to set the verbose level to 2. You can then send the file to me through our forum's private messaging system.

Regards,

Hubert Mireault

avatar

Hmm.. I don't have that button, I looked everywhere for something like that.
Here is what I got:
forum image

I don't find a way to show it, any idea?

Thank you.

avatar

What version of RDM are you running? This feature hasn't always existed in RDM so it's possible the version you're on simply doesn't have this. If you are running the latest stable (2022.1.21.0), then it's possible there is a bug and we will have to look into this.

Regards,

Hubert Mireault

avatar

I run 2021.2.28.0 64-BIT. It is also the free version, if that might be the culprit here.
LE: I can now see it is not the latest.

avatar

If you're able to update to the latest to give it a try, let me know if you still encounter this issue with the button. RDM Free vs Enterprise shouldn't matter in this case.

Regards,

Hubert Mireault

avatar

With the last version I can see the button but on two different installations, SFTP does not start minimized, the checkbox doesn't seem to work.

Also, I understand there is a HowTo for using templates in the commercial version for getting a SFTP tool option, could you point me to it?

Thank you.

avatar

Thank you for letting us know. I've investigated and it seems there were a few issues like you've described. There was also one where the log file needed to be created before linking to it, which isn't normal. These will be fixed in RDM 2022.1.22.0.

Regarding the help topic, here is the updated version of the one previously posted in the thread: https://kb.devolutions.net/rdm_add_a_template_as_a_custom_tool.html
Hopefully this can help you achieve the workflow you want in RDM.

Regards,

Hubert Mireault

avatar

Thank you very much for your help!