I'm trying to understand the syntax for connecting to SFTP through a proxy via the command line. In one environment where there is no proxy I'm connecting fine. I use a script that does an open and the password is sent in the string.
open sftp://UserName:UserPwd@SomeIP:port -hostkey="ssh-rsa 1024 SomeKey"
When trying it with the proxy, I open the session but I get access denied when I send the password. When I open this session via the GUI it works. The password is saved in the session.
I am trying to download a files which is modified recently.
Do we have option to download it automatically.
We cannot run the file which contains a group of command.
Last time u told we can use /script but thats not working.
My goal is run a file SFTP which contains group of command which will only download the files which has modified recently