Entradas

Mostrando las entradas etiquetadas como sshfs

Synchronize network directories with Linux

Today I'll write about how to have a network synchronized folder using SSHFS. SSHFS is a filesystem that is mounted as a client of a remote folder. It uses the SFTP protocol. With SSHFS if you make a change in a file it will be reflected immediately in the other computer. If we edit a file in the client that has mounted the remote folder, the change will be reflected in the remote computer and the same if we do it the other way. You only need to install SSHFS in the client, you don't need it in the server, the only service you need at the server is the SSH service installed and running. Installation For Fedora and similars: yum install sshfs For Ubuntu and similars: apt-get install sshfs Configuration The first thing we have to do is choose the folder we want to synchronize, so the computer where that folder is would be the server. In the example I'll use the directory /home/rukia/foo in which the owner and group is rukia. In the client we...

Sincronizar carpetas en red con Linux

Hola hoy escribiré sobre como tener una carpeta sincronizada en red utilizando SSHFS. SSHFS es un sistema de archivos que se monta como cliente de un directorio remoto. Utiliza el protocolo SFTP. Con SSHFS el cambio que se realice en un archivo se reflejará inmediatamente en el otro sitio. Si editamos un archivo en el cliente que tiene montada la carpeta remota se reflejará al momento el cambio en la ubicación remota y lo mismo pasa si hacemos esto en viceversa. La instalación, esta sólo se realiza en el equipo cliente, no se necesita en el equipo servidor, lo único que debe tener el equipo servidor es el servicio de SSH instalado y corriendo. Instalación Para Fedora y similares: yum install sshfs Para Ubuntu y similares: apt-get install ssh Configuración Lo primero que hay que hacer es elegir el directorio que queremos sincronizar, este será entonces el equipo servidor. Debemos darle los permisos necesarios. En el ejemplo utilizaré el directorio /home...