I can currently connect to an ssh server using the GUI software WinSCP, but would like to connect via shell from now on. I have the direct URL/Username/Password that is needed to connect via port 22. There is not a key that is needed at this time. I have tried the following commands unsuccessfully:
curl -k "sftp://test.com" --user "USERNAME:PASSWORD" -T "C:\file\test.zip" --ftp-create-dirs
This is the error that I received:
curl: (1) Protocol "sftp" not supported or disabled in libcurl
How do I connect to port 22 via shell with a username/password? Thank you for your help!