🤖
Machine Learning Workstation
  • Main page
  • Connection
    • Connection through VPN
  • Usage
    • Python/Conda
    • Edge Impulse
    • Common packages
    • Tmux (persistent sessions)
    • Sharing code base
    • GPU usage
  • Data transfer
    • To or from the host machine
    • To or from the Internet
  • Useful links
    • Linux
    • Python
    • Machine Learning
      • Classifiers
      • Natural Language Processing
      • Unsupervised Learning
      • Data Generation
      • Autoencoders
    • Evaluating Neural Networks
    • Recurrent Neural Network
  • Administration
    • Introduction
      • TLJH mamba/pip installations for ALL users
      • TLJH: IDLE-CULLER - Disabled TODO need a sane value
      • Allowing user to log in to your JupyterHub without server user name
    • Connect to the machine via SSH
      • Add SSH Keys
      • Port forwarding
      • X forwarding (running software with GUI)
      • Run Jupyter remotely
    • Managing users
    • System maintenance
    • Other tasks
Powered by GitBook
On this page
  • Setup connection configuration
  • Connect

Was this helpful?

  1. Administration

Connect to the machine via SSH

Only if VPN does not work, included for historical reasons.

The workstation can be also accessed remotely through SSH. In order to do so, you have to first connect to an AAU Gateway machine, and then connect to the workstation. The following steps will help you set up an automatic shortcut.

First, on the campus connect to the machine with ssh and set a password on a terminal (you can use the system or VSCode terminal)

ssh user@172.30.207.25

Please accept to add the address to the list of known hosts, and after a successful connection, you can safely exit.

Setup connection configuration

Navigate in the .ssh directory in your local machine:

cd ~/.ssh

Inside the directory, edit or create a file called config, and add the following content:

Host aau_gateway
   HostName sshgw.aau.dk
   User <AAU FULL EMAIL>
   ServerAliveInterval 30
   ServerAliveCountMax 2

Host ml_workstation
   HostName 172.30.207.25
   User <AAU EMAIL USERNAME>
   IdentityFile ~/.ssh/id_rsa
   ProxyCommand ssh aau_gateway nc %h %p
   ServerAliveInterval 30
   ServerAliveCountMax 2

Be sure to replace the fields <AAU FULL EMAIL> and <AAU EMAIL USERNAME> with their respective information.

Connect

To verify the above steps and connect to the workstation, open a new terminal and type:

ssh ml_workstation

Once you authorize using the app, another password prompt will appear, asking you for the password received by email when setting up your account. If no default password was sent to you, this prompt will allow you to create one.

PreviousAllowing user to log in to your JupyterHub without server user nameNextAdd SSH Keys

Last updated 1 year ago

Was this helpful?

After running the command, you will be prompted to type in your AAU password. Afterwards, you will have to confirm your login attempt using the Microsoft Authenticator app, by clicking "Approve" on the app notification. You can set it up by following .

The next section will help you set up SSH keys to avoid typing this last password all the time. Refer to for multiple persistent terminals on a single session.

these instructions
persistent sessions