Chroot SFTP
1. Create the sftp init script - /etc/init.d/sftpfoo Code: #!/bin/bash # # chkconfig: 35 60 25 # description: OpenSSH chrooted sftp only daemon # # Note that /usr/sbin/sftpfoo is s…
2012-07-10 1 min →
1. Create the sftp init script - /etc/init.d/sftpfoo Code: #!/bin/bash # # chkconfig: 35 60 25 # description: OpenSSH chrooted sftp only daemon # # Note that /usr/sbin/sftpfoo is s…
To mount directory: sshfs $user@$computerip:/x: /media/$mountname $stands before variable To unmount directory use : fusermount -u /media/$mountname in case that fuse kernel module…