How to install sshfs on CentOS 7?
sshfs is a nice tool. But it seems there is no support to it in a newly installed CentOS 7 Linux system:
Not installed by default:
# sshfs
-bash: sshfs: command not found
Seems not available from the repositories
# yum install sshfs -y
Loaded plugins: fastestmirror
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
base | 3.6 kB 00:00:00
extras | 3.4 kB 00:00:00
updates | 3.4 kB 00:00:00
(1/2): extras/7/x86_64/primary_db | 165 kB 00:00:00
(2/2): updates/7/x86_64/primary_db | 7.8 MB 00:00:00
Determining fastest mirrors
* base: mirrors.btte.net
* extras: mirrors.btte.net
* updates: mirrors.btte.net
No package sshfs available.
Error: Nothing to do
And nothing found
# yum search sshfs
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.btte.net
* extras: mirrors.btte.net
* updates: mirrors.btte.net
Warning: No matches found for: sshfs
No matches found
How to install sshfs on CentOS 7?
The software package for sshfs is proved in EPEL.
To install sshfs, first, enable EPEL following instructions here.
Then, install sshfs by
# yum install fuse-sshfs