A visual guide demonstrating how to connect to the UMass Boston CS servers using SSH from PowerShell.
Open PowerShell on your Windows machine and type the SSH command to connect to the CS server:
After entering your password, you will see the server welcome message with system information:
You are now connected and ready to use the CS server:
Once you are logged into the CS server, here are some essential commands to get started:
Shows your current location in the file system:
krishna@pe15:~$ pwd /home/krishna
Displays the files and folders in your current directory:
krishna@pe15:~$ ls cs110 cs210 cs310 cs410 public_html
Shows the username you are logged in as:
krishna@pe15:~$ whoami krishna
Navigate to a different folder:
krishna@pe15:~$ cd cs410 krishna@pe15:~/cs410$
Display the contents of a text file:
krishna@pe15:~/cs410$ cat R18.txt Krishna Kanodia R18 ...
Create a new folder in your current location:
krishna@pe15:~$ mkdir myproject krishna@pe15:~$ ls cs110 cs210 cs310 cs410 myproject public_html
A handy reference table of all the essential commands covered in this tutorial:
| Command | Description | Example |
|---|---|---|
pwd |
Print current working directory | pwd → /home/krishna |
ls |
List files and directories | ls → cs110 cs210 cs410 |
whoami |
Display current username | whoami → krishna |
cd |
Change directory | cd cs410 |
cat |
View contents of a file | cat R18.txt |
mkdir |
Create a new directory | mkdir myproject |
ssh |
Connect to a remote server | ssh krishna@users.cs.umb.edu |
scp |
Copy files to/from server | scp file.txt krishna@users.cs.umb.edu:~/ |
chmod |
Change file permissions | chmod 755 file.pdf |
rm |
Remove a file | rm oldfile.txt |
Here are some common errors you might encounter when connecting to the CS server and how to fix them:
Problem: The server is not accepting SSH connections or is down for maintenance.
Solution:
users.cs.umb.eduProblem: Your username or password is incorrect.
Solution:
ssh username@users.cs.umb.eduProblem: The server's security key has changed or there's a potential security risk.
Solution:
ssh-keygen -R users.cs.umb.eduProblem: SSH is not installed on your computer or not in your system path.
Solution:
Problem: Your network is blocking the SSH connection or the server is unreachable.
Solution:
Still having issues? Contact the CS department help desk or email cs-support@umb.edu for assistance.