VanDyke Software Forums

VanDyke Software Forums (
-   File Transfer (
-   -   Remote Server SFTP back to CRT? (

DrKubo 11-13-2018 12:04 PM

Remote Server SFTP back to CRT?
Hi there,
I'm doing some shell scripting and at one point I want the script to push an output file to my local machine. I have no issue spawning an sftp session to another remote machine, but for some reason it hangs when I use my machine's IP from the remote host.

If my PC IP is,
remoteServer$ ping
PING ( 56(84) bytes of data.
64 bytes from icmp_seq=1 ttl=126 time=0.854 ms

remoteServer$ sftp
Connecting to

And then it simply hangs there. If it makes a difference I am in a corporate environment with active directory in use. I know my SFTP tab works through SecureCRT, so I'd really like to know how to do the inverse. Perhaps CRT has a unique "username" or port on my machine?
Please advise.

Thank you,

berdmann 11-13-2018 12:37 PM

Hi DrKubo,

SecureCRT is an SFTP client not an SFTP server, thus it is unlikely that your SecureCRT machine has an SFTP server that is listening for incoming SFTP connections.

You may be able to accomplish this with SecureCRT's SFTP tab using a script. Please refer to our forum script example, "SFTP Tab Automation", which demonstrates opening an SFTP tab & programmatically driving a file download:

Please let us know if you have any additional questions!

DrKubo 11-14-2018 05:38 AM

Oh, wow! I didn't even consider the client/server roles in relation to SFTP. That makes more sense. Thank you!

All times are GMT -6. The time now is 09:13 AM.