Sending files through ssh
- by Frion3L
I need to send files to a server using ssh. I have never used ssh so this is being really frustrating to me. Mention the client (me) is using windows and the server is using Ubuntu.
I connected to the server using ssh2 ip, and then loging 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
And 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 specifie more and added: C:\test.txt, but apear the same error. I don't know what is happening.
Any hints please? Thanks