[ІТ Ідеї] Mount r

[ІТ Ідеї] Mount r

for different purposes you may need to copy a lot of files from your
machine to remote. You can use SFTP or SCP but more beautiful solution
is by mouting remote catalogs in your system using ssh. As my favorite
Linux is Debian, so all examples are for this distr.

1. installation SSHFS support
apt-get install sshfs

2. MODULE LOAD
modprobe fuse

3. setup permissions
adduser username fuse

chown root:fuse /dev/fuse

4. mount remote catalogs
mkdir ~/remoteserver
sshfs username@host:/path ~/remoteserver

and for unmounting you can use this command

umount ~/remoteserver