SSHFS: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
Line 44: | Line 44: | ||
sudo systemctl status ssh | sudo systemctl status ssh | ||
Result of the above command should be like this: | Result of the above command should be like this: | ||
[[File:Sshstatus.png|center|thumb|754x754px]] | |||
Active (running) indicates that SSH service is fully functional and running on the machine. | |||
5. Further, we need to allow SSH connection on ufw. Configure firewall and open port 22 with following commands: | |||
sudo ufw allow ssh | |||
Enable SSH with below command | |||
sudo ufw enable | |||
Lastly, check the firewall status to see if rules have been configured or not: | |||
sudo ufw status | |||
Result of the above command should be like this: | |||
[[File:Ufw status.png|center|thumb|563x563px]] | |||
Above screenshot shows that two ufw rules for port 22 are active. | |||
== Configure Router == | |||
Once Ubuntu machine is configured as above. Now, router will be configured to use SSHFS service. Make sure that router has internet connectivity because user need to download the SSHFS package over the internet. If the SSHFS package is already installed in the router, then there is no need for internet connectivity unless you are testing your setup over WAN network. | |||
1. Go to Services-> Package manager, install SSHFS package. | |||
2. Go to Services-> SSHFS page. Enable the SSHFS and configure the information as shown in the picture below: | |||
[[File:Rut SSHFS configuration.png|center|thumb|675x675px]] |