You are Here:
Linux Lite 5.0 Final is now available for download and installation



Secure File Transfer

Author (Read 2214 times)

0 Members and 1 Guest are viewing this topic.

Secure File Transfer
« on: July 04, 2016, 09:48:09 AM »
 

Earthenware

  • New to Forums
  • *
  • 22
    Posts
  • Country: 00
  • Reputation: 2
  • Linux Lite Member

  • Linux Lite: 2.4 64bit
Can I get some advice on how to securely transfer files using a GUI please?

I've installed a Ubuntu 14.04 server.  I can SSH from my Linux Lite client to the server no problem.  I am using a non-standard TCP port and I'm using a password (SSH keys didn't work out well for me).

Reading online, advice was to try Nautilus and Filezilla.  I installed Nautilus via "Install/Remove Software" but it doesn't seem to be present in any of the menus.  I also tried Filezilla but I can't seem to get it to work as it looks like it expects SSH keys.

What software are you all using to transfer files securely from your Linux Lite clients to Linux servers (using a non-standard TCP port)? 

NB: These are all running in Virtualbox VMs but I don't think that's an issue as I have all other services talking to each other.
 


Re: Secure File Transfer
« Reply #1 on: July 05, 2016, 03:44:33 AM »
 

Earthenware

  • New to Forums
  • *
  • 22
    Posts
  • Country: 00
  • Reputation: 2
  • Linux Lite Member

  • Linux Lite: 2.4 64bit
It turned out that although I couldn't connect in Filezilla using the "quick connect" facility, I was able to if I set up the connection using the "Site Manager".

My guess is that the quick connect feature was using the TCP port to determine the required service, which wouldn't work of course when using a non-standard port. 

In the site manager I was able to specify both the service (SSH) and the port number and it works nicely.
 

Re: Secure File Transfer
« Reply #2 on: July 05, 2016, 03:48:50 AM »
 

LL-user

  • I come here a lot
  • *****
  • 448
    Posts
  • Country: 00
  • Reputation: 214
  • Linux Lite Member

  • Linux Lite: 2.8 64bit
Hi Earthenware,

Recommendations depend of course also on the exact case of usage, i.e. how often, how much, how many users, how much comfort etc.

I always try to keep it as simple as possible which also means to install as little as necessary.

Linux Lite has already everything on board - as so often thanks to the great, considerate developer team :)

Therefore I would recommend using the installed file manager Thunar.
If you use the Toolbar Style (Thunar menu: -> View -> Location Selector -> Toolbar Style) you just need to type in:
Code: [Select]
sftp://<username>@<serverIP>:<port>/path/to/folder/on/server/
If you prefer to keep the Pathbar Style you can  hit Ctrl+L and type above command in the pop-up window.
For serverIP you can of course also use the hostname if you set it up the way that it gets resolved.

This will provide you with a Thunar window to your remote folder.
Then you open another Thunar window selecting your local folder.
From there you can use drag and drop or any other Thunar method to perform your file management.

Other solutions:

1. sshfs
You can mount the remote folder via sshfs to a local mount point. Then also using Thunar for file management.
sshfs needs to be installed though on the client.

2. Samba
Already installed and prepared by the Jerry & Co via Network Share Settings. But your server needs to run a Samba server too.

3. nfs
You could export the distinct folder on the server via nfs and mount it via nfs (and preferable automounter) locally. This would entail a lot more configuration and some installation.

Hope that helps for a start :)
Am sure others will contribute other ideas...
Last Edit: July 05, 2016, 05:43:25 AM by LL-user
 

Re: Secure File Transfer
« Reply #3 on: July 05, 2016, 10:25:28 AM »
 

Earthenware

  • New to Forums
  • *
  • 22
    Posts
  • Country: 00
  • Reputation: 2
  • Linux Lite Member

  • Linux Lite: 2.4 64bit
That's great, thanks so much.
 

Re: Secure File Transfer
« Reply #4 on: July 05, 2016, 11:46:48 AM »
 

Wirezfree

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1484
    Posts
  • Country: gb
  • Reputation: 404
  • Linux Lite "Advocate"

  • Linux Lite: 2.8 64bit

  • CPU: i7-4790S

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD4600 (Integrated)
Hi,

A couple of things I did a while back, maybe of interest..??

- Remote Terminals
- Remote Desktops



GL
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks :)

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
 

Re: Secure File Transfer
« Reply #5 on: July 05, 2016, 09:44:34 PM »
 

LL-user

  • I come here a lot
  • *****
  • 448
    Posts
  • Country: 00
  • Reputation: 214
  • Linux Lite Member

  • Linux Lite: 2.8 64bit
That's great, thanks so much.

You're welcome :)
Let us know how you go or where you need additional input.

If you decide to go with the sftp/Thunar solution:

1. Please be aware of this bug with certain LL (XFCE?) versions:
https://www.linuxliteos.com/forums/other-17/data-loss-when-using-thunar-and-sftp-connection/msg24756/

2. You can easily create bookmarks in Thunar for your remote folders. All configuration can be done from within Thunar. If you prefer to work directly on the config file, you'll find it here:
Code: [Select]
~/.config/gtk-3.0/bookmarks

All the best :)
 


Tags:
 


Linux Lite 5.0 Final is now available for download and installation