Welcome to MCTrades, the modern Minecraft marketplace. Why not stay a while to chat, trade, and earn by registering?

Login to a Remote Server Through SSH BASELINE

Start Getting to Know Your Server by Logging in!

  1. Jayson
    License:
    Fair Source License 0.9
    SSH is installed by default on most operating systems and is best known on Linux. On Linux, SSH’s default programming language is bash, however, this guide will not go into bash’s depths, but instead provide details on how to access it in the first place.


    Obtain Login Credentials

    Your hosting provider should provide you with the main IPv4/IPv6, a username, a password, and SSH port. If a username is not provided, default to “root”. If an SSH port is not provided, default to “22”, however in some rare cases hosting providers would use port “21” by default.


    Client

    Windows users will need an SSH client such as PuTTY, Mac and Linux users already have a built-in SSH client.


    Login to SSH

    Windows users, within your SSH client, fill in the main IP field, this may also be called the hostname. Beside it normally is the SSH port. Often times it is not necessary, however, some clients may also have fields for the username and password. For the more generic clients, after the IP and port are filled in and the server is connected to, it’ll request for a username. Type in your username and press enter. Once done, enter your password and press enter. For security reasons, the password should be hidden, if not, please select another SSH client and stop typing in the password. If a warning regarding a potential security breach has occurred, verify the rsa2 key fingerprint if provided, if not, simply click on “yes” or “continue” as there’s a low chance of actually having a security breach.

    Mac and Linux users, open up the “Terminal” application. Enter the following command and replace the “{USERNAME}” and “{IP}” variables as needed. If the port is not 22, add it onto the IP in the format of “{IP}:{PORT}”. Once done, press enter.

    Code:
    You Must Register to View Code
    From here, terminal will request for the password. Type the password in, it will not appear on your screen for security reasons. Once completed, press the enter key.


    If it comes up with the password input again, retype the password. If it fails again, contact your hosting provider to reset the password. Retrying too many times may result in your client IP getting blacklisted.

    PDF Version Available
    This guide is available for download through the MCTrades resource manager.

    License
    This documentation is licensed under FSL 0.9. Up to unlimited users in a party may freely use this documentation for commercial use along with modify, redistribute, use patent claims, use for private reasons, and place a warranty free of charge. You may not hold liable for this documentation nor sublicense it or use trademarks presented. Including any copyright presented, provide the license, and pay above or equal to the price of this resource is required.