ūüĖ•ÔłŹ

Connect to BadgerCTF (Windows, MacOS, Linux)

ūüí°
This tutorial explains how to connect to BadgerCTF system via SSH

Apply for a username and password

BadgerCTF server uses the same centralized student account management server as Taz and Molly. Therefore you can use your Taz/Molly account to log in BadgerCTF server.

If you've already had the Taz/Molly account and can find your username/password, then you're all set.

If you do not have a Taz or Molly account, or if you have one but forget the password. Please send me a separate email (schen@wcupa.edu) with your Last Name, First Name and I'll send you your account info.

Connecting to the BadgerCTF from Microsoft Windows

There are multiple SSH clients available for Microsoft Windows, each will connect to the BadgerCTF using the same protocol. These instructions are based on MobaXterm because this application provides functionality you may find useful for other tasks; other application suggestions are below.

SSH Clients

Using MobaXterm to Connect to the BadgerCTF

Installing MobaXTerm

  1. Go to the¬†MobaXTerm download page. It is recommended to download the ‚ÄúInstaller Edition‚ÄĚ, not the ‚ÄúPortable Edition‚ÄĚ.
  1. Unzip the file.
  1. For the ‚ÄúInstaller Edition‚ÄĚ, double click the ‚Äúmsi‚ÄĚ file to start the installation wizard.
  1. Navigate through the installation wizard until the program is installed.

After installing MobaXTerm, you can connect to the BadgerCTF by creating a ‚ÄúSession‚ÄĚ or using the MobaXTerm Local Terminal. Both methods are described in the next two sections.

Connect by creating a ‚ÄúSession‚ÄĚ

  1. Launch MobaXterm
  1. In the toolbar, click on ‚ÄúSession‚ÄĚ button:
  1. Select ‚ÄúSSH‚ÄĚ as the session type:
  1. Specify ‚Äú147.182.223.56‚ÄĚ as the remote host and ‚Äú1234‚ÄĚ as the port
  1. Your connection will be saved on the left sidebar, so the next time you can start your session by clicking the ‚Äú147.182.223.56‚ÄĚ link.
  1. In the terminal window you will get a prompt to enter your BadgerCTF/Molly login username and then enter your password.

    (Note that the characters in your password will not be displayed when you type them as a security precaution)

  1. If the connection is successful, the BadgerCTF header output will be visible, like the one shown below:

    When finished using the connection, type exit to close the session.

  1. You can edit, delete, and move sessions by right clicking on them in the left MobaXterm sidebar.

Connect by MobaXTerm Local Terminal

  1. Launch MobaXterm
  1. Click on the ‚Äú+‚ÄĚ symbol to open a new MobaXTerm Local Terminal.
  1. In the terminal type in the ssh command (replace YOUR_USERNAME with your BadgerCTF username)
    ssh YOUR_USERNAME@147.182.223.56 -p 1234 
  1. Enter your BadgerCTF password when prompted for molly.cs.wcupa.edu.

    Note that the characters in your password will not be displayed when you type them as a security precaution.

  1. Enter your BadgerCTF password again when prompted for badgerctf.cs.wcupa.edu.
  1. If the connection is successful, the BadgerCTF header output will be visible.
  1. When finished using the connection, type exit to close the session.

Connecting to the BadgerCTF from MacOS

The Secure SHell (SSH) is built into the Apple MacOS operating system. To connect to the BadgerCTF, we will leverage this utility using the Terminal application.

Using Terminal to Connect to the BadgerCTF

  1. Open the Terminal application, which is found in Applications >> Utilities >> Terminal. Alternatively, press <command> and <space> simultaneously to open Spotlight, search for Terminal and press <return>.
  1. In the terminal, type ssh YOUR_USERNAME@147.182.223.56 -p 1234 (replace YOUR_USERNAME with your BadgerCTF username).  Enter your password (twice, one for login Molly, one for login BadgerCTF, it's the same password) when requested.

    Note that the characters in your password will not be displayed when you type them as a security precaution.

  1. You should now be connected to the BadgerCTF and see a window similar to this:
  1. Type exit in the terminal when you are done working on the BadgerCTF.

Connecting to the BadgerCTF from Linux

The Secure SHell (SSH) is built into the Linux operating system. To connect to the SCC, we will leverage this utility using the Terminal application.

Connecting to the BadgerCTF

  1. Open a Terminal. This can be done by opening the terminal application in Systems >> Accessories >> Terminal
  1. Use ssh to connect to the BadgerCTF with your login credentials, using a command similar to this example:
    your_local_machine% ssh YOUR_USERNAME@147.182.223.56 -p 1234 
  1. Replace YOUR_USERNAME with your BadgerCTF username. Enter your password twice (one for login Molly, one for login BadgerCTF, it's the same password) when requested

    Note that the characters in your password will not be displayed when you type them as a security precaution.

  1. When finished using the connection, type exit to close the session.