Line 2: |
Line 2: |
| In computing, '''[https://wiki.teltonika-networks.com/view/RUT950_SSHFS SSHFS]''' (SSH Filesystem) is a filesystem client to mount and interact with directories and files located on a remote server or workstation over a normal SSH connection. The client interacts with the remote file system via the SSH File Transfer Protocol (SFTP), a network protocol providing file access, file transfer, and file management functionality over any reliable data stream that was designed as an extension of the Secure Shell protocol (SSH) version 2.0. | | In computing, '''[https://wiki.teltonika-networks.com/view/RUT950_SSHFS SSHFS]''' (SSH Filesystem) is a filesystem client to mount and interact with directories and files located on a remote server or workstation over a normal SSH connection. The client interacts with the remote file system via the SSH File Transfer Protocol (SFTP), a network protocol providing file access, file transfer, and file management functionality over any reliable data stream that was designed as an extension of the Secure Shell protocol (SSH) version 2.0. |
| | | |
− | '''Note:''' For Teltonika devices, SSHFS can be installed from the '''Services → [[RUT950 Package Manager|Package Manager]]''' as an additional package. | + | '''Note:''' For Teltonika devices, SSHFS can be installed from the '''System → Package Manager''' as an additional package. |
| | | |
| == Configuration overview and prerequisites == | | == Configuration overview and prerequisites == |
Line 63: |
Line 63: |
| Above screenshot shows that two ufw rules for port 22 are active. | | Above screenshot shows that two ufw rules for port 22 are active. |
| | | |
− | == Configure Router == | + | == Configuring 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. | | 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. | + | 1. Go to '''System → Package manager''', install SSHFS package. |
| + | [[File:RutOS_SSHFS_7.8_Install.png|border|class=tlt-border|1100px]] |
| | | |
− | 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|border|class=tlt-border|777x777px]] | + | 2. Go to '''System → Administration → Storage Memory Expansion → SSHFS section''' page: |
| + | #Enable the SSHFS |
| + | #IP address of Ubuntu Linux Machine, which has OpenSSH server running on it, in this case, it is '''192.168.0.56''' |
| + | #Port number of the Ubuntu machine via which it will be connected, in this case, it is '''22''' |
| + | #Username of Ubuntu machine |
| + | #Password of Ubuntu machine |
| + | #A folder in device. Mount points must reside in the root / folder |
| + | #A remote mount path that will be mounted |
| | | |
− | After applying above configurations on the router, click on save & apply button. | + | [[File:RutOS_SSHFS_7.8_settings.png|border|class=tlt-border|1100px]] |
| + | |
| + | After applying above configurations on the router, click on '''Save & Apply''' button. |
| | | |
| == Testing == | | == Testing == |