SSHFS: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
== Configuration Scheme == | == Configuration Scheme == | ||
[[File:Networking_rutx_configuration_example_sshfs_topology_v1.png| | [[File:Networking_rutx_configuration_example_sshfs_topology_v1.png|border|class=tlt-border]] | ||
Line 27: | Line 27: | ||
2. Install the image in the virtual box application. Make sure that Ubuntu machine is perfectly running and put the machine in the same network as that of the router. For this, go to network settings option of the virtual machine and select Bridged Adapter and select the same adapter to which your Teltonika router is connected. | 2. Install the image in the virtual box application. Make sure that Ubuntu machine is perfectly running and put the machine in the same network as that of the router. For this, go to network settings option of the virtual machine and select Bridged Adapter and select the same adapter to which your Teltonika router is connected. | ||
[[File:Networking rutx configuration example sshfs ubuntu machine bridged adapter v1.png| | [[File:Networking rutx configuration example sshfs ubuntu machine bridged adapter v1.png|border|class=tlt-border]] | ||
3. To verify your VM network, go to Settings-> Network option on the Ubuntu VM. | 3. To verify your VM network, go to Settings-> Network option on the Ubuntu VM. | ||
[[File:Networking rutx configuration example sshfs ubuntu machine network settings v1.png| | [[File:Networking rutx configuration example sshfs ubuntu machine network settings v1.png|border|class=tlt-border]] | ||
Here you can see that VM machine is in network of 192.168.0.0/24, which is same as the LAN network of the router. If VM doesn’t show router network range IP, try to turn OFF the adapter on the same settings option as above picture and then turn it ON again. | Here you can see that VM machine is in network of 192.168.0.0/24, which is same as the LAN network of the router. If VM doesn’t show router network range IP, try to turn OFF the adapter on the same settings option as above picture and then turn it ON again. | ||
Line 43: | Line 43: | ||
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:Networking rutx configuration example sshfs ubuntu machine sshstatus v1.png| | [[File:Networking rutx configuration example sshfs ubuntu machine sshstatus v1.png|border|class=tlt-border]] | ||
Active (running) indicates that SSH service is fully functional and running on the machine. | Active (running) indicates that SSH service is fully functional and running on the machine. | ||
Line 53: | Line 53: | ||
sudo ufw status | sudo ufw status | ||
Result of the above command should be like this: | Result of the above command should be like this: | ||
[[File:Networking rutx configuration example sshfs ubuntu machine ufw status v1.png| | [[File:Networking rutx configuration example sshfs ubuntu machine ufw status v1.png|border|class=tlt-border]] | ||
Above screenshot shows that two ufw rules for port 22 are active. | Above screenshot shows that two ufw rules for port 22 are active. | ||
Line 62: | Line 62: | ||
2. Go to '''Services-> SSHFS''' page. Enable the SSHFS and configure the information as shown in the picture below: | 2. Go to '''Services-> SSHFS''' page. Enable the SSHFS and configure the information as shown in the picture below: | ||
[[File:Networking rutx configuration example sshfs Rut configuration v1.png| | [[File:Networking rutx configuration example sshfs Rut configuration v1.png|border|class=tlt-border]] | ||
After applying above configurations on the router, click on save & apply button. | After applying above configurations on the router, click on save & apply button. | ||