Sending files through ssh

Posted by Frion3L on Super User See other posts from Super User or by Frion3L
Published on 2012-07-01T11:22:44Z Indexed on 2013/06/28 4:23 UTC
Read the original article Hit count: 223

Filed under:
|
|

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

© Super User or respective owner

Related posts about ubuntu

Related posts about ssh