How to FTP to your Web Hosting Project account on webhost.engr.illinois.edu
You can use SSH keys to SFTP and SSH to your cPanel shared web hosting account.
You can use SFTP or SCP to access your project web hosting account. The basic steps are:
- Create an ssh public/private key set.
- Add the public key to the projects .ssh/authorized_keys file
- Connect directly to web.engr.illinois with the project account name with a program such as Filezilla. No password is necessary.
Here are more detailed instructions for Windows for creating your keys and then using them. This assumes you have a program such as Filezilla already installed:
- Click here to download and install Putty
- Run puttygen to generate a new public/private key set. (Detailed instructions here or follow next steps for basic instructions).
- Click the Generate button
- Set a passphrase when asked.
- Save the public and private keys
- Select and copy the data in the box below "Public key for pasting into OpenSSH authorized_keys file".
- Login to https://webhost.engr.illinois.edu and go to your project.
- Go to File Manager and choose Home Directory
- Click on Show Hidden Files and select Go
- Go to the .ssh directory (make it if necessary) and create a new file named authorized_keys.
- Paste what you copied in step 6 into this file and save the file.
To use this key do the following:
- Run Pageant from your Start menu. The Pageant icon will appear in your system tray at the bottom of your screen.
- Right click on this icon and select "Add Key"
- Select your private key that you saved in step 5 above. The key is the PPK file.
- Follow the prompt to enter your passphrase.
Now you are ready to lauch your SFTP program such as Filezilla and connect to your project at web.engr.illinois.edu using SFTP and SSH2 with your project username and an empty password. Here is what you need to put in your sftp program:
- Hostname = webhost.engr.illinois.edu
- Username = Your project name
- Password = No need to enter the password
- Port = 22