LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-23-2009, 03:19 PM   #1
KathiW
LQ Newbie
 
Registered: Jan 2009
Posts: 2

Rep: Reputation: 0
Question 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
 
Old 01-23-2009, 03:35 PM   #2
mrmod
LQ Newbie
 
Registered: Jan 2009
Posts: 3

Rep: Reputation: 0
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.
 
Old 01-23-2009, 03:36 PM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,722

Rep: Reputation: 4137Reputation: 4137Reputation: 4137Reputation: 4137Reputation: 4137Reputation: 4137Reputation: 4137Reputation: 4137Reputation: 4137Reputation: 4137Reputation: 4137
Quote:
Originally Posted by KathiW View Post
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...
 
Old 01-23-2009, 03:38 PM   #4
KathiW
LQ Newbie
 
Registered: Jan 2009
Posts: 2

Original Poster
Rep: Reputation: 0
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?
 
Old 01-23-2009, 08:45 PM   #5
titetanium
Member
 
Registered: Mar 2004
Distribution: debian testing/unstable
Posts: 68

Rep: Reputation: 16
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to transferring files from linux machine to linux machine and windows Dinimani Debian 3 05-12-2008 05:50 AM
LXer: FlyBack: a “Time Machine” backup utility for Linux LXer Syndicated Linux News 0 01-21-2008 12:51 AM
How to Transfer files between Linux machine and Window Machine rktech83 Linux - Networking 7 03-14-2006 03:10 AM
Network monitoring utility linux machine Swad Linux - Networking 0 11-24-2003 09:26 AM
Using SMB to copy files from one linux machine to second linux machine. coppersky Linux - Networking 9 06-24-2003 12:07 PM


All times are GMT -5. The time now is 04:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration