#1
|
|||
|
|||
![]()
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 123.231.123.231, remoteServer$ ping 123.231.123.231 PING 123.231.123.231 (123.231.123.231) 56(84) bytes of data. 64 bytes from 123.231.123.231: icmp_seq=1 ttl=126 time=0.854 ms but... remoteServer$ sftp 123.231.123.231 Connecting to 123.231.123.231... 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, Omar |
#2
|
|||
|
|||
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: https://forums.vandyke.com/showpost....90&postcount=1 Please let us know if you have any additional questions!
__________________
Thanks, --Brittney VanDyke Software Technical Support support@vandyke.com (505) 332-5730 Last edited by berdmann; 11-13-2018 at 12:50 PM. |
#3
|
|||
|
|||
Oh, wow! I didn't even consider the client/server roles in relation to SFTP. That makes more sense. Thank you!
|
![]() |
Tags |
securecrt , sftp |
Thread Tools | |
Display Modes | |
|
|