LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-05-2020, 01:44 AM   #1
Gregory.Opera
Member
 
Registered: Dec 2015
Location: Queensland, Australia.
Distribution: Ubuntu 20.04 LTS ("Focal Fossa")
Posts: 32

Rep: Reputation: 0
Lightbulb Sending / Receiving Files Wirelessly Between Ubuntu Computers?


I have multiple computers in my house that run various versions of Linux Mint or Ubuntu, though soon they will all be running the upcoming Ubuntu 20.04 LTS ("Focal Fossa").

At the moment, if I want to move files between computers, I either put the relevant files onto a "thumb" / flash drive (for sensitive or large files) or I e-mail them to myself (for non-sensitive or small files)... Regardless of how I currently send / receive files though, it is a lot of mucking around.

What I would like to do - preferably using something with a graphical front-end (though I am not entirely opposed to a Terminal solution, if it's not too much mucking around) - is send / receive files between each computer wirelessly, over our wireless network...

Can anyone recommend a program which will allow me to do this?
 
Old 04-05-2020, 02:00 AM   #2
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,294
Blog Entries: 3

Rep: Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719
Install the OpenSSH-server package on the machine(s) you wish to send files to.

Then on the machine(s) you wish to use the graphics on, start up your graphical file manager. That would be Nautilus or Thunar or PCManFM or similar:
  • Nautilus: Other Locations -> sftp://gregory@192.168.1.102/home/gregory/Documents/
  • Thunar: Go -> Open Location -> sftp://gregory@192.168.1.102/home/gregory/Documents/
  • PCManFM: Go -> Connect to Server -> type: SSH; host: 192.168.1.102; Log in as: gregory; path: /home/gregory/Documents/

Swap out the user name and IP addresses above.

You can use keys with those. As far as I am aware they also work with the settings from ssh_config.
 
1 members found this post helpful.
Old 04-05-2020, 05:23 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
An alternative would be shared drive space that can be used by by all machines on the LAN simultaneously. NFS is recommended for pure Linux local network situations.
 
Old 04-18-2020, 03:09 AM   #4
Gregory.Opera
Member
 
Registered: Dec 2015
Location: Queensland, Australia.
Distribution: Ubuntu 20.04 LTS ("Focal Fossa")
Posts: 32

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Turbocapitalist View Post
Install the OpenSSH-server package on the machine(s) you wish to send files to.

Then on the machine(s) you wish to use the graphics on, start up your graphical file manager. That would be Nautilus or Thunar or PCManFM or similar:
  • Nautilus: Other Locations -> sftp://gregory@192.168.1.102/home/gregory/Documents/
  • Thunar: Go -> Open Location -> sftp://gregory@192.168.1.102/home/gregory/Documents/
  • PCManFM: Go -> Connect to Server -> type: SSH; host: 192.168.1.102; Log in as: gregory; path: /home/gregory/Documents/

Swap out the user name and IP addresses above.

You can use keys with those. As far as I am aware they also work with the settings from ssh_config.

Interestingly, I could not get this to work Linux Mint-->Linux Mint (it just kept timing-out every time), but I could get it to work Linux Mint-->Ubuntu using the same steps; in fact it not only worked flawlessly Linux Mint-->Ubuntu, but it did so the very first time.

Of course, next week all my computers will be going back to Ubuntu, so hopefully it works just as seamlessly under Ubuntu 20.04 LTS, because this solution was exactly what I need to solve my problem.


Thanks!
 
Old 04-18-2020, 03:14 AM   #5
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,294
Blog Entries: 3

Rep: Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719Reputation: 3719
Great that it is useful for the task. It should behave the same for all machines, if you have OpenSSH-server installed on each machine that you expect to connect to.

Maybe Linux Mint has a firewall installed? If so, you'd need to open port 22 for incoming TCP connections. That is the default port for SSH/SFTP.
 
Old 04-18-2020, 03:24 AM   #6
Gregory.Opera
Member
 
Registered: Dec 2015
Location: Queensland, Australia.
Distribution: Ubuntu 20.04 LTS ("Focal Fossa")
Posts: 32

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Turbocapitalist View Post
Great that it is useful for the task. It should behave the same for all machines, if you have OpenSSH-server installed on each machine that you expect to connect to.

Maybe Linux Mint has a firewall installed? If so, you'd need to open port 22 for incoming TCP connections. That is the default port for SSH/SFTP.

Meh... I don't care too much - less than a week from now, the machine will be wiped and "clean installed" with Ubuntu 20.04 LTS.


If I still have the problem then - which I am not expecting - then I'll look further into it...
 
Old 04-18-2020, 08:35 PM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,310
Blog Entries: 28

Rep: Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137
I use scp from the command line. It's a file transfer brother of ssh. Here's a tutorial: https://www.garron.me/en/articles/scp.html#examples

If you are looking to sync with a directory that already has some matching files in it and don't want to overwrite those files (and waste time in the process), rsync with the "-a" (for "archive") argument is the tool of choice. https://www.digitalocean.com/communi...ories-on-a-vps

See the commands' respective man pages for more.

There was a bit of a learning curve, but learning how to use those two commands made my Linux life much more productive in the long run.

Last edited by frankbell; 04-18-2020 at 08:38 PM.
 
  


Reply

Tags
sharing


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] problem in sending and receiving mail between two different machines using postfix. Amolp Linux - Server 3 03-25-2016 01:37 AM
Not receiving mails from only root user(receiving from others) in RHEL 4.5 narunice Linux - General 1 11-18-2010 08:20 AM
Sendmail block sending or receiving .exe files as attachment pankajguptaspn Linux - Server 1 06-22-2010 03:46 AM
Problem in sending/receiving using sockets between two systems using IPv6 addresses btp10 Linux - Networking 1 03-08-2010 09:43 AM
sending and receiving data between laptops ashlesha Linux - Networking 2 04-04-2007 12:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration