View on GitHub

Computer Architecture and Operating Systems

Course taught at Faculty of Computer Science of Higher School of Economics

Using Linux Ubuntu in Yandex Cloud

Remote Access with SSH

For this course, a VM with Linux Ubuntu is available at the public server (Yandex Cloud).

To access the server VM, please follow the steps below:

  1. For Windows users: download and install Git. Run Git Bash.

  2. Run the ssh-keygen command in the console, to generate SSH keys. Specify the passphrase for the keys. The keys will be generated in the following folders.

    • MacOS: /Users/andrew/.ssh (private key - id_rsa; public key - id_rsa.pub)
    • Windows: /c/Users/andrew/.ssh (private key - id_rsa; public key - id_rsa.pub)
  3. Upload the public SSH key (id_rsa.pub) to some Cloud drive (Google, Yandex, Mail, etc.) and add the link to it into this table.

  4. The admin will take data from the table and will provide you with a login.

  5. Once you get your login, you can connect to the server using the following command:

    ssh login@ipaddress -p22
    

    where login is your login and ipaddress is 84.201.145.249.

    Input the passphrase for the key to authorize.

More information on the SSH tool is available here. Also, see Wikipedia for details on the SSH protocol.

Copying Files with SCP

Files and entire folders can be copied to and from the server using the scp tool.

Note: specify login as your login, ipaddress as 84.201.145.249, and use paths valid for your local and remove user account.