I need to send files to a server using ssh. I have never used ssh so this is frustrating to me. I am running Windows and the server is running Ubuntu.
I connected to the server using ssh2 IP, and then logging with an account I have. Now, I would like to send my files to a folder in the server, so, I moved to the folder and I used this command:
scp test.txt user_name@host_direction server_folder_destination
It always return that it can't do 'stat' over test.txt, the file doesn't exist, and so.
I'm assuming ssh2 can't see the file in my computer root (C:), so I tried to specify more and added: C:\test.txt, but appear the same error. I don't know what is happening.
Any hints please?