.\" -*- nroff -*- .\" .\" lcp.1 .\" .Dd November 8, 2005 .Dt LCP 1 .Os .Sh NAME .Nm lcp .Nd Secure remote file copy .Sh SYNOPSIS .Nm lcp .Bk -words .Op Fl fvn .Sm off .Oo .Op Ar user No @ .Ar host1 No : .Oc Ns Ar file1 .Sm on .Sm off .Oo .Op Ar user No @ .Ar host2 No : .Oc Ar file2 .Sm on .Ek .\" .Sh DESCRIPTION .Nm is a program that securely copies files between two hosts on a network. This is intended as a secure replacement for .Xr rcp 1 . Note that both the source and the destination can be on remote machines. .\" .Sh OPTIONS Available options: .\" .Bl -tag -width Ds .It Fl \-help Show summary of options. .It Fl f, \-force Overwrite existing files. .It Fl v, \-version Display commands before they are executed. .It Fl n, \-dry\-run Don't execute any commands. Implies -v. .El .\" .\" .Sh ENVIRONMENT .Bl -tag -width ".Ev LSFTP_RSH" .It Ev LSFTP_RSH The program to use for the SSH tunnel. If the variable is not set, lcp defaults to using lsh. .El .\" .Sh "REPORTING BUGS" Report bugs to . .\" .Sh AUTHOR The lsh program suite is written mainly by Niels M\[:o]ller . .\" This man-page was written for the Debian GNU/Linux system by Charles Fry . .\" .Sh "SEE ALSO" .Xr rcp 1 , .Xr scp 1 , .Xr lsftp 1 , .Xr lsh 1 , .Xr lshd 8