Transfer files between computers without ftp

If you have the scp program, you can use the following line of code to transfer a local file to a remote computer called

scp /the/local/file/name

If you don't have scp you can use a combination of ssh (or rsh) and dd. Simply pipe the contents of the file you want to transfer through ssh for dd to copy the file to the remote computer's filesystem.

cat /the/local/file/name | ssh -l username dd of=/the/remote/file/name

Last modified: 07/05/2006 (most likely earlier as a site migration in 2006 reset some dates) Tags: (none)

This website is a personal resource. Nothing here is guaranteed correct or complete, so use at your own risk and try not to delete the Internet. -Stephan

Site Info

Privacy policy

Go to top