LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-23-2010, 11:52 AM   #1
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Rep: Reputation: 34
Secure Coping


If a user want secure coping of files through scp from one system to another system then how this can be done.

This user have only been granted securing coping of files through another system but without ssh.

Thanks
 
Old 09-23-2010, 12:43 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,808

Rep: Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604
Quote:
another system
What other system?
Quote:
without ssh
SCP runs over SSH. SCP cannot be done without SSH.
 
Old 09-23-2010, 01:25 PM   #3
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
If you don't have a secure pipe between hosts, then you're going to need to encrypt the file(s). The best options for doing so will depend on your circumstances, and on the methods you have at your disposal for safely exchanging keys.
 
Old 09-23-2010, 01:40 PM   #4
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Original Poster
Rep: Reputation: 34
How scp can be enabled through publice & private keys.

Whats the configuration ?

Thanks
 
Old 09-23-2010, 03:41 PM   #5
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
@smilemukul: setting up pubkey authentication has been discussed many times on the forums (and a 'net search will also turn up a plethora of hits).

As AlucardZero says, on most (all?) Linux distros, scp is included as part of the OpenSSH package(s). Earlier you said:
Quote:
Originally Posted by smilemukul
This user have only been granted securing coping of files through another system but without ssh.
So - what gives? We can't help unless you're able to clearly communicate your requirements and circumstances.
 
Old 09-23-2010, 04:03 PM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
Quote:
This user have only been granted securing coping of files through another system but without ssh.
I'm not certain what you mean by this. It is possible to use a forced command so when a certain user logs in, a command is executed. This may be used together with nopty for that user.

With "match user" you can have certain users restricted to a chroot directory to deny them full access to the system.

Maybe you are confused with vsftpd which can use ssl for secure communications.
 
  


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
easy coping umbrella2 Programming 1 01-31-2009 06:21 AM
Coping CF card, with a difference... edgley Linux - Newbie 1 12-03-2008 08:23 AM
Coping form CD IvanJ Linux - Software 3 07-20-2005 09:32 AM
Coping VCDs Directly usa1234 Linux - Software 1 03-19-2005 09:35 AM
coping a .bin file laclac01 Linux - General 2 05-04-2004 03:40 PM


All times are GMT -5. The time now is 06:43 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