LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-30-2010, 07:09 AM   #1
Doknik
LQ Newbie
 
Registered: Jun 2010
Posts: 26

Rep: Reputation: 1
File Transfer with scp,ftp and sftp disabled Question


Hi Gurus,
I am a bit new to Linux Redhat , in one interview i had recently i was asked the following question i wasnt sure how to answer it can anyone please help.


How do you transfer files on a Linux machine with ftp,sftp and scp disabled onto a remote machine
 
Old 11-30-2010, 07:15 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
This works fine for both ASCII and binary files:
Code:
cat local_file | ssh user@host "cat > remote_file"
 
1 members found this post helpful.
Old 12-03-2010, 04:09 AM   #3
Doknik
LQ Newbie
 
Registered: Jun 2010
Posts: 26

Original Poster
Rep: Reputation: 1
Colucix,
many Thanks i really apppreciate your help.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
File transfer stalled after round 40MB (scp, ftp, http, cp) eXor Debian 3 03-26-2008 01:10 PM
cannot transfer (FTP) 10GB file, also scp dont work freebies Linux - Software 2 02-25-2005 12:38 AM
Dumping FTP in favor of SCP or SFTP Donboy Linux - Security 7 07-14-2004 10:25 PM
Help with SSH2 sftp/scp sessions on wu-ftp using guest accounts ryoung Linux - Networking 1 10-22-2003 04:26 AM
Data transfer from one Linux machine to another with FTP or scp faucon Linux - Newbie 6 09-10-2003 01:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:57 PM.

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
Open Source Consulting | Domain Registration