Jumphost

This page provides information for users with accounts at the department of mathematics at 'Universität des Saarlandes'. (E.g. you have an email-Address <user name>@math.uni-sb.de)

  • Name: styx.math.uni-sb.de
    • Access: with credentials for your math account
    • Hint: keep in mind that your homedir is sepeate here for jumphost styx and not backed up!
    • Method protocol: ssh Port: 22123
    • Inside Uni des Saarlandes styx is reachable via Port: 22
  • Name: contact.math.uni-sb.de
    • Access: with credentials for your SIC account and you are Member of Math Department

Main purpose of a jumphost is to secure access from outside. So you can have access with ssh first to contact with a seperate homedir but same login as all hosts in the domain math.uni-sb.de. From contact you can access all hosts in the given domain.

ssh proxy commands

in your ~/.ssh/config you can add something from this examples. Please replace <your username> with your login name at math department:

.ssh/config
Host styx.math.uni-sb.de
    Port 22123
    User <your username>
    ForwardAgent yes

For Users and without VPN:

Please change content inside this brackets: <>

.ssh/config
Host styx 
    HostName styx.math.uni-sb.de
    Port 22123
    User <your username>
    ForwardAgent yes
 
Host co
    Hostname contact.math.uni-sb.de
    port 22
    user <change to your username at SIC>
    ForwardAgent yes
 
Host wsco
    Hostname <host in your Dep. w/ Port 22 open>.math.uni-sb.de
    user <your user name on Workst. in your Dep.>
    ProxyCommand ssh co -W %h:%p
 
# Server
Host gemini
    HostName gemini.math.uni-sb.de
    Port 22
    User <your username>
    ProxyJump styx
 
Host <your favorite host inside>
    HostName <your favorite host inside>.math.uni-sb.de
    Port 22
    User <your username>
    ProxyJump styx
 
Host aries
    HostName aries.math.uni-sb.de
    Port 22
    User <your username>
    ProxyJump styx
 
# Exmple for AG Brandhorst
Host d9-sb
    HostName d9-sb.math.uni-sb.de
    Port 22
    User <your username>
    ProxyJump styx

etc.

Access your groups web pages for editing:

Change brackets and text in between - like „<xxx>“ - with your data

.ssh/config
Host www
    HostName www.math.uni-sb.de
    Port 22
    User <your groups login name>
    ProxyJump styx

ssh www connects you then directly to the right account.

cd /exports/ag/ag-<your ag-name> 

to reach the public area.

Connect to Subversion

obsolete SVN is OFF

 ssh -p 22123 <your username>@<jumphost> -L 3691:svn.math.uni-sb.de:3690

use this svn url:

 svn://localhost:3691/<your username>

git

Please send your public key to systemverwaltung at math . uni-sb . de

sshuttle

you can try sshuttle from within linux Installation in Debian or Ubuntu

Fehlersuche

Intern:

host = <ein Server der Mathematik>.math.uni-sb.de

host:~$ ssh host
channel 0: open failed: administratively prohibited: open failed
stdio forwarding failed
ssh_exchange_identification: Connection closed by remote host
  • ICMP gesperrt?
  • Firewall aktiviert?

Neuere Versionen

Neue Kommandos in

~/.ssh/config
...
ProxyJump
,,,

QR-Code
QR-Code systemverwaltung:user_info:jumphost (erstellt für aktuelle Seite)