Originally Posted by
furioususer
Does this mean I should skip installing vsftpd (as that lets FTP access to the entire filesystem?) and install only SSH instead?
Yes. ssh is all you need, and iot gives you both terminal login and fire transfer. This command will install the server:
Code:
sudo apt install openssh-server
but before you open it to the internet, make sure your passwords are good and strong. There are bots out there that will sit there guessing usernames and passwords all day and night.
Look at limiting access to a single username. Better still, also set up passwordless access using public keys (google for "ubuntu passwordless ssh") and disable ssh using passwords.
If you are calling from windows, filezilla is good for sftp file transfer, though there are others that I haven't tried. If calling from linux, a url like "sftp://myusername@myserver" works nicely.
SSH command line login is useful too from time to time. SSH is really good.
Bookmarks