Skip to Content
Mastering Linux Security and Hardening - Second Edition
book

Mastering Linux Security and Hardening - Second Edition

by Donald A. Tevault
February 2020
Intermediate to advanced
666 pages
15h 45m
English
Packt Publishing
Content preview from Mastering Linux Security and Hardening - Second Edition

Hands-on lab – sharing a directory with SSHFS

For this lab, we'll use two VMs. For the server, you can use Ubuntu, CentOS 7, or CentOS 8. The client can be either Ubuntu or CentOS 7. (At the time of writing, CentOS 8 still doesn't have the client package that we need to install for this. But, as I keep saying, that might change by the time you read this.) Let's get started:

  1. Boot up one VM for a server. (That's all you need to do for the server end.)
  2. On the other VM that you'll use as a client, create a mount-point directory within your own home directory, like so:
mkdir remote
  1. On the client VM, install the SSHFS client. On Ubuntu, do the following:
sudo apt install sshfs

On CentOS 7, do the following:

sudo yum install fuse-sshfs
  1. From ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Linux Security and Hardening - Third Edition

Mastering Linux Security and Hardening - Third Edition

Donald A. Tevault
UNIX and Linux System Administration Handbook, 5th Edition

UNIX and Linux System Administration Handbook, 5th Edition

Trent R. Hein, Evi Nemeth, Garth Snyder, Ben Whaley, Dan Mackin

Publisher Resources

ISBN: 9781838981778Supplemental Content