How files can be transferred from one system to another securely using Linux?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How files can be transferred from one system to another securely using Linux?
# 8  
Old 03-03-2010
I think some of the letters on your keyboard must be broken. Or is that normal language?

Quote:
no i mean how do i connect to the secnd computer using this command.fr example
fr example, just by running it.

Quote:
with the shell command
scp SourceFile user@host:directory/TargetFile
wat is the result of this?i mean with what do i replace the source file
and target file.
With whatever you want to copy

Quote:
the source and the target file are bound to have the same
name rite?
Rong. Not necessarily. You can call the target file what you like.

Quote:
second thing how do i connect to the secnd remote pc
You want to connect (as in, in a shell, then use ssh), or just copy a file?
# 9  
Old 03-03-2010
unable to connect to remote pc in linux

hey i am not able to connect to netwrk or to other remote pc.what do i have configure to enable this feature?we have both connected to the lan port
# 10  
Old 03-03-2010
Since you said "files" and not "file" I'd usually suggest making a tar or cpio archive and scp'ing that over because you usually want to preserve ownership and permissions.

If that's not important, then "scp -r" of a directory will copy recursively.

If this is something you'll be repeating, then "rsync" is the tool to use. That can be more than a little confusing at first; my Basics: rsync HOWTO might help you get started if the man page leaves you shaking your head.

---------- Post updated at 04:03 PM ---------- Previous update was at 04:01 PM ----------

Quote:
Originally Posted by bibing
hey i am not able to connect to netwrk or to other remote pc.what do i have configure to enable this feature?we have both connected to the lan port
You need sshd installed and running and you need any firewall to allow ssh traffic in to the receiving machine.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Limit number of files transferred

I've a folder in remote server and it has 50 files. I like to transfer these files by first 10 and next 10 files. I'm using mget command to transfer the files. How to limit the file transfer limit to 10. instead of copying 50 files at a time. Thanks Janarthan (5 Replies)
Discussion started by: Janarthan
5 Replies

2. AIX

Accessing files on AIX system from Linux system

I have a following requirement in production system 1 : LINUX User: abcd system 2: AIX (it is hosting a production DB) Requirement user abcd from system 1 should have read access on archive log files created by DB on system 2. The log files are created with permissions 540 by user ora ,... (2 Replies)
Discussion started by: amitnm1106
2 Replies

3. Shell Programming and Scripting

How to check whether files are transferred or not using ftp?

Hi, i want to execute a shell script which transfers files from one server to another using ftp in unix. How can i check whether the ftp is successful or not.(i.e files are transferred to destination server). because if i am checking the return code of ftp, it always shows 0 (denoting ftp is... (5 Replies)
Discussion started by: Little
5 Replies

4. Solaris

How do files transferred via ftp or sftp gets thier permissions at destination?

We have umask defined under /etc/.login as 022. I have my user specific umask defined in /userhome/.login as 002. I understand ftp will not execute anything at destination, it simply transfers files. But it seem to be using 022 as umask for the files transferred. How does ftp knows what umask... (4 Replies)
Discussion started by: kchinnam
4 Replies

5. Shell Programming and Scripting

Validating the size of file transferred from ftp server to the local system

Validating the size of file transferred from ftp server to the local system. File type: Text file/Flat file Source System: Windows / Unix Systems Target System is always: Unix Mode of Transfer : ASCII We have generic ftp shell script that transfers the files from different ftp servers. ... (2 Replies)
Discussion started by: jpundalik
2 Replies

6. Gentoo

how to edit linux system files?

i had heard that linux is open source.....which meant that i could edit it. so how do i start out? i've already downloaded it. the name's "puppy linux".....someone please reply quick!!! and by the way, may i know what shell scripting is? (15 Replies)
Discussion started by: Dragster93
15 Replies

7. UNIX for Advanced & Expert Users

Linux w/ local admin mounting nfs drives securely?

Got a situation where some people in the network using Linux would like local admin rights. People have admin rights in Windows and the Linux users want more flexibility. They need to be able to mount some nfs drives. If they have local admin rights, even with root squash set for the nfs... (5 Replies)
Discussion started by: Frostybeard
5 Replies

8. Shell Programming and Scripting

How to know number files transferred

Hi, I am transferring files from our local server to remote server using FTP command in a shell script. I am using a the following code, FTPFILE="ercchk*.txt" mput $FTPFILE can any one help me out in calucalating the number of files transfered. help in this regard is highly... (9 Replies)
Discussion started by: azazalis
9 Replies

9. Windows & DOS: Issues & Discussions

RTF files can they be converted once they are on linux system

:D mount -t vfat /dev/hda1 /mnt my dillemma is simple i have psion 5 mx wich is an epoc type machine not only does it only work on windows as far as I know but I have to convert the files (the usual stuff!) sometimes a humen error happens and the files that I want to transfer to the linux drive... (7 Replies)
Discussion started by: moxxx68
7 Replies
Login or Register to Ask a Question