This is a tutorial for 15L students on how to log into the course specific account on ieng6 and remotely connect to the server from your computer.
The tasks to be performed are -
- Installing VSCode
- Remotely Connecting
- Trying some Commands
Use the following link to go to the VSCode website Link, and follow the on screen instructions to download and install it on your computer.
There are different versions available for all major OS like windows, mac etc.
When VSCode is installed the following window should open.
To continue with this step you first need to look up your CSE15L specific account here- Link
It will take you to the following screen
Enter your information and click submit.
You will then be redirected to the following screen -
Here you can see your Course sepcific username. Click on it and change your password by following the on screen instructions.
After you are done changing and password and noting down your username, open a terminal in VSCode.
Then use the ssh command given below but replace the zz with the the letters in your own username to connect to the server.
$ ssh [email protected]
Then enter the password that you just changed.
Once logged in a screen like the one below will appear
Now your terminal is connected to a computer in the CSE Basement and commands run by you will run on that computer.
Now you can try running some commands like cd, ls, pwd, mkdir, and cp on your computer and the remote computer.
Below are some specific commands to try-
- cd ~ , Changes directory to home directory
- cd , Changes current directory to specified directory.
- ls -lat , shows file or directory, size, modified date and time, file or folder name and owner of the file, and its permission.
- ls -a , lists all files including hidden files
- ls 'directory' where 'directory' is /home/linux/ieng6/cs15lwi23/cs15lwi23abc , where the abc is one of the other group members’ username. lists the files in the group member's directory.
- cp /home/linux/ieng6/cs15lwi23/public/hello.txt ~/ , cp stands for copy. This command is used to copy files or group of files or directory. It creates an exact image of a file on a disk with different file name.
- cat /home/linux/ieng6/cs15lwi23/public/hello.txt , It reads data from the file and gives their content as output. It helps us to create, view, concatenate files.
Here, pwd shows my curent directory
cd~ changes my current directory to the home directory
and ls -lat lists all the files in my current directory.
To log out you can use the following-
- Control-D
- run the command exit