Skip to content

Instantly share code, notes, and snippets.

@Mic92
Last active December 27, 2015 20:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mic92/7385147 to your computer and use it in GitHub Desktop.
Save Mic92/7385147 to your computer and use it in GitHub Desktop.
SSH Config mit X11-Forwarding für Praktikum Schaltkreis- und Systementwurf an der TU Dresden

Das ist meine SSH-Konfiguration für die verstaubten Solaris-Kisten der ET-Fakultät. Ihr benötigt darüber hinaus die X11-Bitmapfonts auf eurem eigenen System. Das ist unter Archlinux, das Paket xorg-fonts-100dpi und unter Ubuntu/Debian xfonts-100dpi.

Danach könnt ihr euch einloggen mit

ssh eeets1

oder

ssh eeets2

Ich habe noch eine paar andere Bonusfeature, wie eine zshrc, vimrc und screenrc angefügt.

#~/.ssh/config
Host eeets2
HostName eeets2.et.tu-dresden.de
ForwardX11 yes
Cipher arcfour
Compression yes
ForwardX11Trusted yes
User DEIN_USERNAME # durch den Anmeldenamen ersetzen
Host eeets1
HostName eeets2.et.tu-dresden.de
ForwardX11 yes
Cipher arcfour
Compression yes
ForwardX11Trusted yes
User DEIN_USERNAME # durch den Anmeldenamen ersetzen
# Um Screen automatisch beim Login zu starten
echo 'screen -RR && exit 0' > ~/.login
# ~/.screenrc
# Persistente Sessions
shell "/usr/bin/zsh"
term xterm
hardstatus alwayslastline '%{= G}[ %{G}%H %{g}][%= %{= w}%?%-Lw%?%{= R}%n*%f %t%?%{= R}(%u)%?%{= w}%+Lw%?%= %{= g}][ %{y}Load: %l %{g}][%{B}%Y-%m-%d %{W}%c:%s %{g}]'
syntax on
set mouse=a
set nocompatible
set nobackup
set nowritebackup
set shiftwidth=2
set tabstop=2
if has("autocmd")
filetype plugin indent on
endif
set showcmd
set showmatch
set ignorecase
set smartcase
set incsearch
set autowrite
set ruler
# ~/.zshrc
# bessere Shell als die per Standard eingestellte.
bindkey -e
autoload -U compinit promptinit
compinit
promptinit
# This will set the default prompt to the walters theme
prompt adam2
zstyle ':completion:*' menu select
setopt completealiases
alias ls="ls --color -F"
alias ll="ls --color -lh"
export LS_COLORS='no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;35:*.cmd=00;32:*.exe=00;32:*.sh=00;32:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.t=93:*.pm=00;36:*.pod=00;96:*.conf=00;33:*.off=00;9:*.jpg=00;94:*.png=00;94:*.xcf=00;94:*.JPG=00;94:*.gif=00;94:*.pdf=00;91'
HISTFILE=~/.zhistory
HISTSIZE=9999
SAVEHIST=6000
DIRSTACKSIZE=30
export EDITOR="vim"
export BROWSER="firefox"
export PATH="${HOME}/bin:${PATH}"
export PAGER=less
export ACK_PAGER=$PAGER
export READNULLCMD=$PAGER
export GREP_OPTIONS='--binary-files=without-match --directories=skip --color=auto'
export MANWIDTH=80
# If the execution of a command takes longer than
# REPORTTIME (in seconds), time statistics are printed
export REPORTTIME=4
export LESS_TERMCAP_mb=$'\E[01;31m'
export LESS_TERMCAP_me=$'\E[0m'
export LESS_TERMCAP_se=$'\E[0m'
export LESS_TERMCAP_so=$'\E[01;44;33m'
export LESS_TERMCAP_ue=$'\E[0m'
export LESS_TERMCAP_us=$'\E[03;33;146m'
# ICPRO versucht das zu setzen: /icpro_1.0.3/templates/project_templates/practice/ice/.modules.tud
export ICPRO_LEDA_MODULE=syn_leda/4.2.0
export ICPRO_DFII_MODULE=cds_ic/5.1.41_USR5
export ICPRO_SOC_MODULE=cds_soc/6.2_USR2
export ICPRO_IUS_MODULE=cds_ldv/6.11_USR3
export ICPRO_DC_MODULE=syn_dc/2008.09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment