Compare commits

...

3 Commits

Author SHA1 Message Date
Michael Ochmann 085923abb9 added new "go" subroutine for reaching folder fast 2 years ago
Michael Ochmann bd2d321e91 added new host "iot" 2 years ago
Michael Ochmann 5056fd37a0 added new hosts "prusa", "newbridge" and "asgard" 2 years ago
  1. 16
      .bashrc
  2. 12
      .ssh/config.d/maschinendeck
  3. 5
      .ssh/config.d/propeller

@ -290,6 +290,22 @@ bash_plugin() {
fi
}
go() {
DIRS=($(cat -n ~/bin/go_dirs))
select=$(dialog --menu "Go to..." 20 100 16 "${DIRS[@]}" 3>&1 1>&2 2>&3)
dialog --clear
if [ $? -ne 0 ]
then
exit 1
fi
p="${DIRS[$select * 2 - 1]}"
p="${p/#\~/$HOME}"
cd $p
}
trap bash_plugin DEBUG

@ -10,7 +10,7 @@
# Version 1,0,0 #
# #
###############################################################################
host asgard tuer bridge mdeck.uber.space mediapi
host asgard tuer bridge mdeck.uber.space mediapi newbridge prusa fujitsu
IdentityFile /Users/mochmann/.ssh/maschinendeck_rsa
User miko
@ -35,11 +35,21 @@ host asgard
host mediapi
Hostname mediapi.local
host prusa
Hostname prusa.local
host bridge
Hostname bridge.local
ProxyJump asgard
KexAlgorithms diffie-hellman-group-exchange-sha256
host newbridge
Hostname newbridge.local
host tuer
Hostname 192.168.0.101
ProxyJump asgard
host fujitsu
HostName 192.168.0.107
ProxyJump asgard

@ -25,7 +25,7 @@ Host gitlab.propeller.de
IdentityFile /Users/mochmann/.ssh/propeller_rsa
ForwardAgent yes
Host anubis atum hapi min aton thot geb ptah bastet propeller.technology crommelin ra selket blackbird cyberzentrale
Host anubis atum hapi min aton thot geb ptah bastet propeller.technology crommelin ra selket blackbird cyberzentrale iot
User mochmann
IdentityFile /Users/mochmann/.ssh/propeller_rsa
ForwardAgent yes
@ -72,9 +72,10 @@ Host nexus
HostName nexus.propeller.de
Host mars
HostName mars.propeller.de
Host cyberzentrale
HostName cyberzentrale.propeller.local
Host iot
HostName iot.local
Host pbx
HostName propellerpbx.propeller.local

Loading…
Cancel
Save