Added a line to fstab on debian 8.1 to automount the connection to an FTP server using curlftpfs
curlftpfs#myfetpserver.net /var/backups fuse auto,allow_other,_netdev,ftp_port=- 0 0
What happens is that after restarting the server, you can no longer connect via SSH through port 22, the connection is rejected.
If the partition is mounted with the mount -a command , no error is returned. And with df -h the partition comes out and you have access.
iptables has been checked and access to port 22 is not being blocked
SOLUTION:
Leave the fstab line as follows:
myfetpserver.net /var/backups fuse.curlftpfs auto,allow_other,_netdev,ftp_port=- 0 0
You will need to have both fuse and curlftpfs installed. In debian or ubuntu they are the following commands:
apt-get install fuse
apt-get install curlftpfs
SOLUTION:
I have left the line of the file
fstab
as follows:Removing the prefix
curlftpfs#
and adding the filesystem subtype flagfuse.curlftpfs
.You will need to have both fuse and curlftpfs installed. In debian or ubuntu they are the following commands: