You are not logged in.
Say I have a computer A, my computer.
And then computer B, a friends computer.
Both are running Linux.
What is the easiest way to send the file "file.txt" from computer A, to B, without having to set up too much?
Offline
Email/online file upload sites? Otherwise, there are some simple file sharing scripts here on the forums.
Offline
SSH is the simplest, really . Set up the SSH daemon on his end, let him create you an account, and you can copy the file over by doing
scp $file IP:/path/to/destination.
Uploading file may be easier but SSH certainly is quicker (no additional download time, you just upload to him directly).
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
scp wouldn't require much setting up, but it all depends what you mean by "too much". Email/file-upload sites, as SamC says, requires the least setting up, but once it's set up scp or an FTP server would require less clicking and annoyances.
Offline
SSH is the simplest, really
.
Gr, beat me to it!
Offline
SSH is simple only if he has a static IP otherwise u have to tunnel
Acer Aspire V5-573P Antergos KDE
Offline
SSH is the simplest, really
. Set up the SSH daemon on his end, let him create you an account, and you can copy the file over by doing
scp $file IP:/path/to/destination.
Uploading file may be easier but SSH certainly is quicker (no additional download time, you just upload to him directly).
Hm. I'm aware of how scp works, but would you mind explaining a bit on how to set up the SSH daemon, or at least point me to somewhere I can find out? Might be worth mentioning that he's running (K)ubuntu, if the setup differs any.
Last edited by BeholdMyGlory (2009-01-15 23:20:02)
Offline
In Ubuntu, just "apt-get install openssh-server" and you have a working (although maybe not very secure) server up and running without configuration. You should then tweak the /etc/ssh/sshd_config for security.
vanum est vobis ante lucem surgere
Offline
B wrote:SSH is the simplest, really
. Set up the SSH daemon on his end, let him create you an account, and you can copy the file over by doing
scp $file IP:/path/to/destination.
Uploading file may be easier but SSH certainly is quicker (no additional download time, you just upload to him directly).
Hm. I'm aware of how scp works, but would you mind explaining a bit on how to set up the SSH daemon, or at least point me to somewhere I can find out? Might be worth mentioning that he's running (K)ubuntu, if the setup differs any.
https://help.ubuntu.com/community/SSHHowto#Introduction
Give it a try
Believe in the Ideal, not the Idol.
Offline
SSH is simple only if he has a static IP otherwise u have to tunnel
Incorrect. SSH works just fine with dynamically-assigned IP addresses - no tunnel required. They can set up dynamic dns, or just tell each other whenever their addresses change.
Offline
Indeed, there's no reason a dynamic IP shouldn't work. They could both register with a service like DynDNS (or only one of them) and assign a hostname to both their computers to make it easier - that's how I set up various Linux routers and systems I maintain .
Just keep track of the hostname, make sure the box it's connected to has a utility to update the DynDNS cache, and you're good to go. No need for pesky IP addresses anymore .
The advantage of SCP is also it does encrypted transfers, and most sites don't do that (at least not that i know of). So no need to worry about pesky noseyparkers .
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
+1 to scp
Offline