Results 1 to 5 of 5
I have 2 debian computers set up, and would like to transfer files from one to the other. I hooked up a cable to each of them, but how do ...
- 01-15-2011 #1Just Joined!
- Join Date
- Sep 2010
- Posts
- 29
sharing files over the network
I have 2 debian computers set up, and would like to transfer files from one to the other. I hooked up a cable to each of them, but how do I transfer files?
- 01-15-2011 #2Just Joined!
- Join Date
- Mar 2010
- Posts
- 79
If you are talking about a lan there are lots of ways.
I usually install ssh (on both machines) and rsync the files from one PC to the other. Like
apt-get install ssh
rsync -e ssh -auv source_directory user@target_ip:/home/user/temp
Then there is sftp, which you can do from some file-managers (nautilus and konqueror/dolphin for sure).
Then there is sshfs
And also apps like filezilla/gftp/grsync... Of those i like filezilla.
- 01-16-2011 #3Just Joined!
- Join Date
- Sep 2010
- Posts
- 29
thanks for the quick reply, I tried the ssh way and I'm getting this error:
sandraider@Tower:~$ ssh sandraider@169.254.235.23:/home/sandraider/animal.png /home/sandraider
ssh: Could not resolve hostname 169.254.235.23:/home/sandraider/animal.png: Name or service not known
I also tried what I think is the computer name (^Tower for example from the other computer). Would having the same username be a problem?
edit: I noticed I wasn't using your command, with that one I got his error:
sandraider@Tower:~$ rsync -e ssh -auv sandraider@169.254.235.23:/home/sandraider/animal.png /home/sandraider
ssh: connect to host 169.254.235.23 port 22: Connection refused
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: unexplained error (code 255) at io.c(635) [receiver=3.0.3]
- 01-16-2011 #4Just Joined!
- Join Date
- Mar 2010
- Posts
- 79
Mhhh... ssh might be heavy stuff. It usually works for me, but when it comes to troubleshooting it is above me.
Are you sure you got an ssh-server on the target installed?
(i do install ssh, but i think openssh-server works too)
I think the error-message you get comes from that.
Try to ping, to make sure to use the right ip:
ping 169.245.235.23
(hopefully no typo, but you know the ip).
If that works try to ssh to it:
ssh 169.245.235.23
If ssh or openssh-server is istalled i am lost... i think.
Same name is not a problem. If the name is the same you can skip to add the name.
Instead of
ssh user_name@169.245.235.23
you can use
ssh 169.245.235.23
And,btw, usually the colon is already the home-directory.
I enter the full path anyway, but it is not necessary (i think).
rsync -e file user_name@ip:
would rsync the file to the home directory of user_name at ip.
good luck.
- 01-16-2011 #5Just Joined!
- Join Date
- Sep 2010
- Posts
- 29
I installed openssh so now I can access the computer from filezilla, or ssh. Thanks again for the help.


Reply With Quote
