Difference between revisions of "Useful Tools"

From Computer Science
Jump to navigationJump to search
Line 10: Line 10:
  
 
You can find the manual page for the SSH command [https://man.openbsd.org/ssh here].  From the manual, the SSH command looks complicated; it's not!  There are many optional arguments supported, but to get basic functionality all you need to supply to the command is the username you want to connect with and which machine you want to connect to.  If the connection can be established, you will be prompted for the password of the account you are trying to connect with.  If the connection cannot be established, you will be given some form of a "cannot resolve hostname" error.
 
You can find the manual page for the SSH command [https://man.openbsd.org/ssh here].  From the manual, the SSH command looks complicated; it's not!  There are many optional arguments supported, but to get basic functionality all you need to supply to the command is the username you want to connect with and which machine you want to connect to.  If the connection can be established, you will be prompted for the password of the account you are trying to connect with.  If the connection cannot be established, you will be given some form of a "cannot resolve hostname" error.
 +
 +
'''NOTE''': The examples below are all in UNIX format.  To use SSH from a windows, please see the PuTTY section.
  
 
---------------------------------------------------------------------------------------------------
 
---------------------------------------------------------------------------------------------------

Revision as of 13:58, 6 July 2017

Following is a set of useful tools that you may find helpful while navigating your CS major/minor

THIS PAGE IS IN PROGRESS

Shell Commands/Tools

SSH

Secure SHell is a network protocol that allows remote console (i.e. terminal) login from one machine to another. The Midd CS department machines all support SSH from the on-campus network. In addition, there is one machine (basin) that is specifically given a hole in the Midd firewall to allow off-campus connections.

You can find the manual page for the SSH command here. From the manual, the SSH command looks complicated; it's not! There are many optional arguments supported, but to get basic functionality all you need to supply to the command is the username you want to connect with and which machine you want to connect to. If the connection can be established, you will be prompted for the password of the account you are trying to connect with. If the connection cannot be established, you will be given some form of a "cannot resolve hostname" error.

NOTE: The examples below are all in UNIX format. To use SSH from a windows, please see the PuTTY section.


On-campus format:

{user@my-machine ~} ssh <username>@machine-name

OR

{user@my-machine ~} ssh <username>@machine-ip

Ex:

{user@my-machine ~} ssh user@killington

{user@my-machine ~} ssh user@140.233.20.155


Off-campus format (remember, basin is the only machine available from off-campus):

{user@my-machine ~} ssh <username>@machine-name.domain-name

OR

{user@my-machine ~} ssh <username>@public-facing-ip

Ex:

{user@my-machine ~} ssh user@basin.cs.middlebury.edu

{user@my-machine ~} ssh user@140.233.20.6


Tip: If you are off-campus and need to connect to a specific machine (or if your computer is having trouble resolving machine names), you can tunnel through basin to the machine you need with two ssh commands.

Ex:

{user@my-machine ~} ssh basin.cs.middlebury.edu

{user@basin ~} ssh killington

OR the shorthand version

{user@my-machine ~} ssh -t basin.cs.middlebury.edu ssh killington

SCP

Fill

Rsync

Fill

Tmux

Fill

PuTTY

Fill

File System Resources

Home (~) Folders

Fill

Your public_html Folder

Fill

Application Managers

Miniconda

Fill

nvm (for nodejs)

Fill