Remote Server SFTP back to CRT?
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 18.104.22.168,
remoteServer$ ping 22.214.171.124
PING 126.96.36.199 (188.8.131.52) 56(84) bytes of data.
64 bytes from 184.108.40.206: icmp_seq=1 ttl=126 time=0.854 ms
remoteServer$ sftp 220.127.116.11
Connecting to 18.104.22.168...
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?
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!
Last edited by berdmann; 11-13-2018 at 01:50 PM.
|securecrt , sftp|
|Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)|