Friday, December 19, 2008

SSH copy between linux systems

It is quite convenient to copy files between two computers with ssh service.

Copying file to host computer:
$> scp SourceFile user@host:directory/TargetFile

Copying file from host computer:

$> scp user@host:directory/SourceFile TargetFile


Usually ssh service is open for linux system, otherwise,
one could go to System -> Administration -> Firewall and
set ssh as a Trusted service.

The other thing is that the computer behind a home
router may not have a public IP address. In this case
we can set port forwarding through the router, or
if there is only one computer in the home network needs
the public IP address, one could enable DMZplus
on the router.

Labels:

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home