Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > File Transfer

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 11-13-2018, 12:04 PM
DrKubo DrKubo is offline
Registered User
 
Join Date: Aug 2018
Posts: 4
Exclamation 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 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
Reply With Quote
  #2  
Old 11-13-2018, 12:37 PM
berdmann berdmann is offline
VanDyke Technical Support
 
Join Date: Aug 2017
Posts: 441
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.
Reply With Quote
  #3  
Old 11-14-2018, 05:38 AM
DrKubo DrKubo is offline
Registered User
 
Join Date: Aug 2018
Posts: 4
Oh, wow! I didn't even consider the client/server roles in relation to SFTP. That makes more sense. Thank you!
Reply With Quote
Reply

Tags
securecrt , sftp

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 04:17 AM.