File Management (EN)
Connecting using FileZilla
As a first step, your SSH key must be entered in FileZilla. In principle, FileZilla works with keys in .ppk format (Putty keygen). If your key is already in .ppk (Putty) format, then that's fine. if not, FileZilla can convert it for you.
Go to Edit -> Settings and SFTP, then click "Add key file..."
There, select your private (!) key file. If it is in PEM format (created by OpenSSH's "ssh-keygen" utility, common on Linux), FileZilla will ask you to convert it. Then, save your key with a file extention .ppk!
Once this happened, you can add a connection in FileZilla's site manager (File -> Site Manager).
- Normally, you will have received the host name in our instructions; at this moment, it is always "morse.vub.ac.be"
- Switch "protocol" to: "SFTP - SSH File Transfer Protocol"
- Set the "logon type" to "Key file"
- Fill in your user name as well
- The key file is the one you just finished creating
- Save your site. You should be able to connect to it now (do not forget to turn on your VPN connection to VUB first!)
In your home directory, there will be a directory called "www". The "www" directory is for your web site.
It is possible to put files in your home directory as well; the files you create (or upload) are only writeable by yourself. This has security reasons.
If you use a CMS such as Wordpress or Drupal, certain files and directories need to be writeable by the web server, either during installation or afterwards, to allow for uploading file through the CMS.
The procedure is uncomplicated: simply make the file or directory "group writeable". This is a standard Unix permission and it works as follows:
- Each file on Linux or Unix has a user and a group owning the file. To both of these, the right to read, write to, or execute the file can be granted separately.
- It suffices to switch the write bit to "on" for the group permissions. in FileZilla, it goes like this: