Ubuntu – Copy files over ssh

filessshtransfer

Let's say I have 2 pc's set up on a wireless network.

Machine A is my daily driver and it uses Ubuntu 15.04
Machine B is an old pc I want to set up as an ssh server with Debian LXDE(but it boots to terminal).

How do I copy files from machine A to machine B.

Best Answer

If you prefer GUI you can also install openssh-server on machine B, it can be setup from terminal, and use FileZilla on machine A to connect to machine B. FileZilla will allow you to visually explore file structure, browse directories, copy, move files and directories and it supports login with keys without passwords.

To install openssh-server

sudo apt-get install openssh-server

To install FileZilla

sudo apt-get install filezilla