LCP(1) BSD General Commands Manual LCP(1)NAME
lcp -- Secure remote file copy
SYNOPSIS
lcp [-fvn] [[user@]host1:]file1 [[user@]host2:]file2
DESCRIPTION
lcp is a program that securely copies files between two hosts on a network. This is intended as a secure replacement for rcp(1). Note that
both the source and the destination can be on remote machines.
OPTIONS
Available options:
--help Show summary of options.
-f, --force
Overwrite existing files.
-v, --version
Display commands before they are executed.
-n, --dry-run
Don't execute any commands. Implies -v.
ENVIRONMENT
LSFTP_RSH The program to use for the SSH tunnel. If the variable is not set, lcp defaults to using lsh.
REPORTING BUGS
Report bugs to <bug-lsh@gnu.org>.
AUTHOR
The lsh program suite is written mainly by Niels Moller <nisse@lysator.liu.se>. This man-page was written for the Debian GNU/Linux system by
Charles Fry <debian@frogcircus.org>.
SEE ALSO rcp(1), scp(1), lsftp(1), lsh(1), lshd(8)BSD November 8, 2005 BSD
Check Out this Related Man Page
SSH-CONV(1) Lsh Manuals SSH-CONV(1)NAME
ssh-conv - script to convert OpenSSH/SSH2 keys to lsh format
SYNOPSIS
ssh-conv [OPTION...]
DESCRIPTION
CAUTION! The information in this manpage may be invalid or outdated. For authorative information on lsh, please see it's Texinfo manual
(see the SEE ALSO section).
Converts an OpenSSH style public key to spki format used by lsh. Reads the key from stdin and outputs the converted key on stdout.
Example usage:
$ ssh-conv < /home/pont/.ssh/id_dsa.pub
lsh-decode-key: lsh-decode-key: Reading key of type ssh-dss...
{KDEwOnB1YmxpYy1rZXkoMzpkc2EoMTpwMTI5OgD1qRFBMowgnnOzjOp3HptHWf9836wy/3
F59d8DfWWehKgy8DNISgmzCnRNXReL/5PvTZwFID2KvEYfyxAYy4uTSJbtkzDfsicGWi7n
YbXu2VpWHpNdhsaKrEu9iXmQb4JoN1grC0QsaCZrngACZRKEAklPH9ubwCMBK55yRP27gy
koMTpxMjE6AIoOrpe064y7L2oYQqBE3sNskW19KSgxOmcxMjg6Olyu4xMIWsUBeVnbg2oU
BvvbcsnHHhHyDVHmMZ1ERhDCLl6gjIsbWjBIBIXZUaFJ6AO236CfgdM5Rop5XYmcIIA9G7
QD2GWTe48MGdjFQVyr2SKoDiNFKSJXqHVYzZJeosvz6FyTDt7aGNGqcL0tG7GXl9savALt
RSQRfO9JlOcpKDE6eTEyOToAwyzp6sIt6KsLhFoeM9ADA7opHq4lFT6bS8su9g3KBGqGG4
JNsEN9CI5SnLpqsfVm5SxmqPMPJvdGVOqAjjfzsv7SvfhSBUHXYeYpgci49pfc5bZCh/EY
zX7bVnOVV3gQgNGeT0FN1gf9vTUMKh1VGPRfm7unXNqjBLEMYmlRwqcpKSk=}
$
OPTIONS --decode-with PROGRAM-NAME
The program to use for the actual decoding.
REPORTING BUGS
Report bugs to <bug-lsh@gnu.org>.
COPYING
The lsh suite of programs is distributed under the GNU General Public License; see the COPYING and AUTHORS files in the source distribution
for details.
AUTHOR
The lsh program suite is written mainly by Niels Moller <nisse@lysator.liu.se>.
This man-page was written for lsh 2.0 by Pontus Freyhult <pont_lsh@soua.net>, it is based on a template written by J.H.M. Dassen (Ray)
<jdassen@wi.LeidenUniv.nl>.
SEE ALSO lsftp(1), lshg(1), lsh-authorize(1), lsh-decode-key(1), lsh-decrypt-key(1), lsh-export-key(1), lsh-keygen(1), lsh-make-seed(1), lsh-
upgrade(1), lsh-upgrade-key(1), lsh-writekey(1), lshd(8)
The full documentation for lsh is maintained as a Texinfo manual. If the info and lsh programs are properly installed at your site, the
command
info lsh
should give you access to the complete manual.
SSH-CONV NOVEMBER 2004 SSH-CONV(1)
I've followed suggestions as mentioned in this thread
https://www.unix.com/showthread.php?s=&threadid=1449&highlight=rcp
& I can now rcp a file to one of our servers, however there is another one which I still cannot contact, I just get the error 'permission denied'.
I've checked &... (6 Replies)
I am installing 5.0.7 on an existing SCO network. The 2 other machines are using 5.0.5 and rcp works daily both ways between the 2 older machines.
However I cannot copy from either machine running 5.0.5 to the new 5.0.7 machine - "Permission Denied"
/etc/hosts is configured correctly... (4 Replies)
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)
Hi,
I am getting core file in local machine after trasfer files to other machine by using scp (secure copy) of SSH in UNIX.
Could any one please tell me how to restrict core file generatation by using scp command. (4 Replies)
Every evening I run a script in AIX production box, which executes below command:
rcp prod_bkup.tar prodapp@IP:/data/appl/prod
This will rcp a backup of around 11 GB from production to another machine (runs every evening so overwrites previous one). Just to keep the backup safe. Since 2-3 days,... (0 Replies)
Hi,
When I try to use rcp I donīt recieve the file I try to fetch.
I donīt get any error message, it just execute and as far as I can tell doesnīt do anything.
I have no problem with using remsh to list the directory.
remsh 132.196.133.185 -l root ls
xdpyinfo: unable to open display... (7 Replies)
Hi,
i am trying to remote copy from a guest domain to primary domain , i can use scp but i can't use rcp ...I installed Ldom and created guest domains.. as you know Jass has been installed with ldom too and some services has been disabled by Jass ... i create .rhosts and edit /etc/hosts file ,... (3 Replies)
Hi,
What is the difference between scp and rcp and what are the advantages and disadvantages? which one is favor to use than the other between these two?
Thanks (1 Reply)
hi everybody ,
i have a problem with rcp between too hosts :
when i do :
host 1(root) :# rcp file1 host2:/target2
or :
host2 (root):#rcp file2 host1:/target1
i have the following message : permission denied
I made the following changes, but the problem still persists :
I added the... (0 Replies)
I'm trying to copy a file from a remote unix box, host1, to my unix box, host2. The first line of code gets the last word from a text document (this is the name of the file I need from host1)
#!/usr/bin/ksh
tail -1 Report.txt | perl -e '@arr = split /\//,<>; lastWord = $arr'
rcp... (3 Replies)