![]() ![]() Using the Digital Ocean cloud server web console instead of an SSH terminal program to connect to the cloud server A user can own a subdirectory within its home directory. A user cannot own its own home directoryĪ user cannot own its own home directory. The directory structure, ownerships, and permissions we applied to each directory anticipated that the directories would later be configured as chroot jail directories. In the preceding chapter, we created the usernames, specified their home directories, and specified the directory locations for websites. The formal term for this kind of directory is “chroot,” short for “change root directory.” ![]() We will configure the SSH server to limit each SFTP user to only be able to view or modify a specific directory and its subdirectories. You may want to give to a web contractor SFTP access for one of the websites hosted on the server, but also prevent that web contractor from viewing or modifying other files or directories on the server unrelated to the website. Why would you want to limit a user to a chroot jail directory?Ī web server can host multiple websites. This post assumes that you have performed the steps described in Chapter 6: Configuring an Ubuntu Linux cloud server to create a Linux Apache MySQL PHP (LAMP) web server, Part 2. In this post, we configure the SSH server on an Ubuntu Linux cloud server to limit SFTP directory visibility within chroot jail directories. LIMIT DIRECTORY FILEZILLA LINUX HOW TOWeb presence step by step is a series of posts that show you to how to build a web presence. Next step: Chapter 8: Installing and configuring WordPress to create a website Previous step: Chapter 6: Configuring an Ubuntu Linux cloud server to create a Linux Apache MySQL PHP (LAMP) web server, Part 2 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |