Sponsored Content
Full Discussion: rcp between two unix machine
Top Forums UNIX for Advanced & Expert Users rcp between two unix machine Post 51964 by nvg_hal on Monday 7th of June 2004 01:52:10 AM
Old 06-07-2004
rcp between two unix machine

Quote:
Originally posted by zazzybob
For a start, the user@hostname: bit should come before destfile, e.g.

Code:
rcp sourcefile user@hostname:destfile

If your source and target machines support scp, use that instead as it's far more secure.

Cheers
ZB
hi zazzybob,

lets assume i have two unix machine A & B. If i want to copy a file from system B, how will the above command work. My source file is residing on system B.

bye
 

10 More Discussions You Might Find Interesting

1. IP Networking

rcp from winnt to unix

I try an RCP command from winnt to unix and it works only with 2 pc but with the two others it dosen't work....? MS-DOS return this error msg : 0826-826 The host name for your address is not known. What can I do to resolve my probleme ? Dimitri Geneva - Switzerland (2 Replies)
Discussion started by: dfrangidis
2 Replies

2. UNIX for Dummies Questions & Answers

rcp from Linux/Unix to Win2kserver

I am attempting to use "rcp" to transfer files from a linux box(redhat) to a windows 2000 server box and keep getting a "connection refused" message. Are there any special services/daemons on either side that I need running or any special ports I need open to do this? How about files? I read... (1 Reply)
Discussion started by: mcrouch_2003
1 Replies

3. Windows & DOS: Issues & Discussions

RCP from Sco Unix to Win XP

Hello, Native XP rcp does not have a password prompt as far as I can see. I require a rcp.exe to copy a file from Sco to my XP pc. I did have this program that was part of pcnfs a few years ago. I need to run a scheduled batch job from a command line being. rcp.exe 192.168.5.33 -user root... (0 Replies)
Discussion started by: phil martin
0 Replies

4. UNIX for Advanced & Expert Users

missing Path(in UNIX) when i launch a job on to unix machine using windows SSh

hi i want run an unix application from a windows program/application.i am using SSH(command line version)to log on to a unix machine from windows. the application has to read a configuration file inorder to run. the configuration file .CFG is in bin in my home directory. but the application... (1 Reply)
Discussion started by: megastar
1 Replies

5. UNIX for Advanced & Expert Users

rcp between windows and unix

Anyone experience with using rcp to copy data between windows and Unix (AIX)? (6 Replies)
Discussion started by: rein
6 Replies

6. Shell Programming and Scripting

ftp from windows to unix using a perl script on unix machine

i need to ftp a file from windows to a unix machine by executing a sript(perl/shell/php) from that unix machine.i can also use HTML and javascript to build forms. (3 Replies)
Discussion started by: raksha.s
3 Replies

7. UNIX for Dummies Questions & Answers

What unix machine can this be?

my friend asked me to help him installing some sort of unix app on a server running some soft unix(that server runs MRI thing), and the only thing about that server he knows is OS ver 9.1. So what OS can it be? And normally what type of UNIX OS is installed on a MRI machine? THanks (1 Reply)
Discussion started by: fedora
1 Replies

8. UNIX for Dummies Questions & Answers

Please Help I Can't Install Unix On My Machine

Hi everybody; How are you? I have a machine with these components motherboard Gigabyet processor Intel RAM Kingstone 1GB HDD Westerndigital 160GB DVD ASUS I use this machine for labs, I was running WinXP I am now taking one of Sun's exams, I formated the HDD and get... (3 Replies)
Discussion started by: katilina
3 Replies

9. Shell Programming and Scripting

How to transfer files from unix machine to local machine using shell script?

Hi All.. Am new to Unix!! Am creating a shell script in which a scenario is like i have transfer the output file from unix machine (Server) to local directory (Windows xp). And also i have to transfer the input file from the local directory to Unix machine (Server) Any help from you... (1 Reply)
Discussion started by: vidhyaS
1 Replies

10. Shell Programming and Scripting

Unix on machine

Hi All I have window 7 ultimate installed on my machine. i want to install unix just like an application when i click on the application i should work on unix and when i close that application normal window 7 appears Example-: like in case of windows suppose we have installed the sql... (6 Replies)
Discussion started by: parthmittal2007
6 Replies
SCP(1)							    BSD General Commands Manual 						    SCP(1)

NAME
scp -- secure copy (remote file copy program) SYNOPSIS
scp [-pqrvBC46] [-F ssh_config] [-S program] [-P port] [-c cipher] [-i identity_file] [-o ssh_option] [[user@]host1:]file1 [...] [[user@]host2:]file2 DESCRIPTION
scp copies files between hosts on a network. It uses ssh(1) for data transfer, and uses the same authentication and provides the same secu- rity as ssh(1). Unlike rcp(1), scp will ask for passwords or passphrases if they are needed for authentication. Any file name may contain a host and user specification to indicate that the file is to be copied to/from that host. Copies between two remote hosts are permitted. The options are as follows: -c cipher Selects the cipher to use for encrypting the data transfer. This option is directly passed to ssh(1). -i identity_file Selects the file from which the identity (private key) for RSA authentication is read. This option is directly passed to ssh(1). -p Preserves modification times, access times, and modes from the original file. -r Recursively copy entire directories. -v Verbose mode. Causes scp and ssh(1) to print debugging messages about their progress. This is helpful in debugging connection, authentication, and configuration problems. -B Selects batch mode (prevents asking for passwords or passphrases). -q Disables the progress meter. -C Compression enable. Passes the -C flag to ssh(1) to enable compression. -F ssh_config Specifies an alternative per-user configuration file for ssh. This option is directly passed to ssh(1). -P port Specifies the port to connect to on the remote host. Note that this option is written with a capital 'P', because -p is already reserved for preserving the times and modes of the file in rcp(1). -S program Name of program to use for the encrypted connection. The program must understand ssh(1) options. -o ssh_option Can be used to pass options to ssh in the format used in ssh_config(5). This is useful for specifying options for which there is no separate scp command-line flag. For example, forcing the use of protocol version 1 is specified using scp -oProtocol=1. -4 Forces scp to use IPv4 addresses only. -6 Forces scp to use IPv6 addresses only. DIAGNOSTICS
scp exits with 0 on success or >0 if an error occurred. AUTHORS
Timo Rinne <tri@iki.fi> and Tatu Ylonen <ylo@cs.hut.fi> HISTORY
scp is based on the rcp(1) program in BSD source code from the Regents of the University of California. SEE ALSO
rcp(1), sftp(1), ssh(1), ssh-add(1), ssh-agent(1), ssh-keygen(1), ssh_config(5), sshd(8) BSD
September 25, 1999 BSD
All times are GMT -4. The time now is 02:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy