LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Best way/utility to get files to the Linux machine when SSH2 must be used. (https://www.linuxquestions.org/questions/linux-newbie-8/best-way-utility-to-get-files-to-the-linux-machine-when-ssh2-must-be-used-699451/)

KathiW 01-23-2009 03:19 PM

Best way/utility to get files to the Linux machine when SSH2 must be used.
 
What is the best way to get a file to a Linux machine from a different enviroment when you are not physically at the machine and don't want to risk ASCII corruption of the file?

Thanks!!!

Kathi W

mrmod 01-23-2009 03:35 PM

For most non-Linux or Unix platforms, you can use WinSCP or Cygwin. I recommend the former as it is a simple binary. You can find it on Google, it's by the same people that make Putty.

Alternatively, you can enable SFTP in your /etc/sshd/sshd_config file and use any SFTP client along with a valid Linux username on the machine.

Both are ascii safe.

TB0ne 01-23-2009 03:36 PM

Quote:

Originally Posted by KathiW (Post 3419009)
What is the best way to get a file to a Linux machine from a different enviroment when you are not physically at the machine and don't want to risk ASCII corruption of the file?

Thanks!!!

Kathi W

Since you mentioned SSH2 in your subject header, I'd go with SCP. Doesn't care about file types...just shovels the data over, secure, easy to work with, and only requires the one port (SSH, port 22), that you already have open.

Uses the same passwords/keys as your existing SSH user too...

KathiW 01-23-2009 03:38 PM

WinSCP
 
I did actually use WinSCP - I moved it from linux to windows to different linux (long story) somewhere across the way it got all messed up.. what settings should I be using?

titetanium 01-23-2009 08:45 PM

Alternatively, you could try sshfs if you're using a linux machine. I think that would work real well as it allows you to directly edit files as well as copy/delete, etc.

I don't know of a windows version of sshfs that works at the moment.


All times are GMT -5. The time now is 05:50 PM.