Fixing group permissions in sshfs via OSXfuse

Posted by & filed under Linux, Mac OS X.

One could mount SSHFS partitions on a Mac OS X system via OSXfuse and MacFusion to access remote files securely as if the files were stored locally. However, group permission seems to not be preserved (get a permission denied message). This post shows how one could fix it by using the -o defer_permissions options.

Update WordPress plugins via sftp (ssh)

Posted by & filed under Internet.

I have an FTP server running on my web server to easily update plugins via the web admin page since the default WordPress install only allows updates to be made via FTP and FTPS. FTP is an old protocol that is insecure. To update via sftp (ssh), install libssh2-php in Ubuntu and restart apache (credit… Read more »

web-based ssh

Posted by & filed under Internet.

SSH has come to be my most used protocol besides http. It allows me to fully access a computer, transfer files, and all communications are encrypted (so I feel safe!). Since all my computers are Linux-based, I can use ssh by starting a terminal. However, what If I’m on a computer without an ssh client,… Read more »

sftp with restricted folder

Posted by & filed under Linux.

I recently needed to set up an ftp server (or sftp server) that allows the user to transfer files. I had some restrictions: The account cannot have ssh access since I don’t want an unauthorized person to run jobs on the server. The account needs to be restricted to a single directory. I don’t want… Read more »