SSH at Password: CD .. Chmod - R 701 CD Mkdir Public - HTML Chmod - R 705 Public - HTML
SSH at Password: CD .. Chmod - R 701 CD Mkdir Public - HTML Chmod - R 705 Public - HTML
Pin-752050
1) You should be connected to NISER Campus intranet to upload your personal homepage or you should
be using SSL-VPN facility provided by NISER whose setup details are available in Computer Centre
website.
2) a) Creation of “public_html” folder with proper permission on Linux/Mac: If you are on a device with
Linux OS or Mac, then simply use the terminal to login to ssh server (IP Address:10.10.0.19). Use
your WiFi access credentials when asked for user id and password.
Give 701 permission to your home directory.
For this, open a terminal (on Linux) and use these commands:
ssh <username>@<10.10.0.19>
Password: (Type in your WiFi access password)
cd ..
chmod -R 701 <username>
cd
mkdir public_html
Give 705 permission to public_html (assuming that you are now back to the home directory).
chmod -R 705 public_html
b) Transfer of web contents into “public_html” on Linux/Mac: If you are on a device with Linux OS
or Mac, then simply secure-copy your files/directories from terminal. Use your WiFi access credentials
when asked for user id and password.
Assuming, you are already inside the directory containing personal homepage files.
scp -r * <username>@<10.10.0.19>:public_html/
3) a) Creation of “public_html” folder with proper permission on Windows: If you are using Windows
device then use applications like Putty, SSH Secure Shell, etc. to get command line access of the ssh
server.
Host: 10.10.0.19 (you should be directly connected to NISER Campus Intranet or through NISER VPN)
Mode: SFTP (Port 22)
Credentials (User Id and Password): Your WiFi access credentials are to be used.
Through command line type in the following commands:
Give 701 permission to your home directory.
cd ..
chmod -R 701 <username>
cd
mkdir public_html
Give 705 permission to public_html (assuming that you are now back to the home directory).
chmod -R 705 public_html
b) Transfer of web contents into “public_html” folder on Windows: For Windows device, use any FTP
client (coreFTP, FileZilla, WinSCP etc.) to transfer your files from PC to public_html directory in your
home folder.
Host: 10.10.0.19 (you should be directly connected to NISER Campus Intranet or through NISER VPN)
Mode: SFTP (Port 22)
Credentials (User Id and Password): Your WiFi access credentials are to be used.
Copy your personal homepage contents from your local device and paste it (or upload it) into
"public_html" folder located in your home directory on remote host. You may also use drag and drop
method if available in the FTP client software.