Ghamura

Networking essentialsLesson 7 of 8

Logging in with SSH

Log in to another machine with ssh, know where your commands run, and explain passwords versus keys.

0 of 7 tasks · about 13 min

  1. Step 1

    First contact

    SSH (the Secure SHell) gives you a terminal on another machine over the network, encrypted end to end. It's how almost every Linux server is managed. Your account details are in files-account.txt. Connect:

    ssh learner@10.20.0.20
    

    learner@ is the account on the other machine. Two questions follow:

    1. ssh has never seen this server, so it shows the server's fingerprint and asks whether to trust it. Type yes.
    2. Then the password. Nothing appears as you type it, not even dots. That's normal: type it and press Enter.

    Log in to 10.20.0.20 as learner.

    Do it in the terminal. This ticks itself off when you have.

6 more steps after this one

Log in to 10.20.0.20 as learner.
Practice lab for "Logging in with SSH". Type commands here and press Enter. Run help to list them.