Jump to content
  • 0

Question

I created a basic redirector a while ago that I find useful from time to time when dealing with Linux machines or SSH based devices to transfer files back and forth. I've tested a few times and had good results so hopefully people can benefit from the same. Simply place the winscp.exe into the root of your Labtech Client folder (I've created a simple search for our machines internally with the client and used a quick script to push the exe to the machines) and create the redirector based on the following:

 

Name: WinSCP

Program: %programfiles%\Labtech Client\putty\winscp.exe

Arguments: scp://%LocalIP1%:%LocalPort1%

Redirector Type: Unix, Device, Computer

Local Port: 0

Local IP: 127.0.0.1

Remore Port: 22

Remote IP: %RemoteIP%

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

For those using keys instead of password, you can use what myoung posted above and then for the argument use:

 

scp://root@%LocalIP1%:%LocalPort1% /privatekey=L:\keys\%ComputerName%.ppk

 

Where the key is stored in LTSHARE under the keys directory. Actually, you might want to create a folder under keys for ClientName (possibly even add ClientLocation) and then ComputerName.ppk.

 

It might be even better if this was turned into an EDF containing the username and key.

Share this post


Link to post
Share on other sites
  • 0

I know this is an old thread, but it's what search found when I queried for creating a network redirector for putty.

 

Maybe this can't be done, but I'm trying to set LabTech up where I can putty into network switches and routers from inside LabTech, under the Client | Network folder. I followed basically what was listed, but substituted putty.exe for winscp.exe. Here is what I have:

 

Name: Putty

Program: %programfiles%\Labtech Client\putty\putty.exe

Arguments: -ssh %RemoteIP% (this is the correct argument - I can run; putty.exe -ssh switch IP and get there fine)

Redirector Type: Device / Basic

Redirected Ports: Same as in the winscp example

 

After a bit I get an error that the Tunnel couldn't be established. It looks like it's trying to go through our Network Probe device, which is the domain controller for the location.

 

Any ideas? Or am I trying something that won't work?

 

Thanks!

David

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...