Password prompt when just entering session in cmd/console
Hi all,
I am new to using WinSCP and file transfer in general. I have session saved as user@sftp.test.ca with the login credentials of user//password. I have created the session via the GUI and saved the password so it doesn't prompt me when I login the Session.
The reason why I am just trying to use this session is because of the proxy settings. Not quite sure how to do the proxy settings within the cmd/console.
However, when I open up the console/cmd and type in
In the long run, I am aiming for a script that logs in, moves a few directories, puts a file, based on success or failure, does a few more things and then close. One step at a time...
TLDR;
Proxy: proxy.home.ca:8080
Server: sftp.test.ca:2222
User: user
Password: password
What
I am new to using WinSCP and file transfer in general. I have session saved as user@sftp.test.ca with the login credentials of user//password. I have created the session via the GUI and saved the password so it doesn't prompt me when I login the Session.
The reason why I am just trying to use this session is because of the proxy settings. Not quite sure how to do the proxy settings within the cmd/console.
However, when I open up the console/cmd and type in
open user@sftp.test.ca
, it prompts me for a password. I am assuming that this command is the same if I use it in a script. How can I do this such that I do not need to enter a password when prompt for one?
In the long run, I am aiming for a script that logs in, moves a few directories, puts a file, based on success or failure, does a few more things and then close. One step at a time...
TLDR;
Proxy: proxy.home.ca:8080
Server: sftp.test.ca:2222
User: user
Password: password
What
open
command can I use to connect to the server without the use of session?