Skip to content

Connect to blazar over SSH

You connect to blazar over SSH with your own account and SSH key. You set these up when you requested your account.

How you connect depends on whether you're on the IAFE network:

  • From inside IAFE, you reach the server directly over its local IP.
  • From outside IAFE, you reach it only by routing through a proxy host, backdoor.

Warning

Keep your public SSH key on your GitHub account. The server syncs SSH keys regularly and removes any key that is missing from your account.

If you must update your keys manually, open an issue in the issue tracker.

Connect from inside IAFE

Add this entry to ~/.ssh/config. Replace <username> with your Unix username, and <your-private-key> with the name of your private key file:

Host blazar
    HostName 10.92.24.43
    User <username>
    IdentityFile ~/.ssh/<your-private-key>

Connect from outside IAFE

From outside IAFE, you reach the server through a proxy host, backdoor (backdoor.iafe.uba.ar), using SSH's ProxyJump feature.

Add two entries to ~/.ssh/config: one for backdoor, and one for the server, which connects through backdoor.

Host backdoor
    HostName backdoor.iafe.uba.ar
    User publico

    # OPTIONAL
    ControlMaster auto
    ControlPath ~/.ssh/cm-%r@%h:%p
    ControlPersist 8h
Host blazar-outside
    ProxyJump backdoor
    User <username>
    IdentityFile ~/.ssh/<your-private-key>

backdoor only accepts password logins, not SSH keys. The optional Control* settings above let you enter the password once per 8-hour session. After that, blazar-outside doesn't ask for the password again until the session ends.

Verify your connection

ssh blazar
ssh blazar-outside

This command opens a shell on blazar. If it doesn't, ask an admin to check that your SSH key was added to your account correctly.