2 Commits

Author SHA1 Message Date
  Markus Bergholz 2e56f24350
update ssh config 2 months ago
  Markus Bergholz b331ce4484
add copy function 2 months ago
2 changed files with 14 additions and 0 deletions
Split View
  1. +9
    -0
      bash/function.bashrc
  2. +5
    -0
      ssh/config

+ 9
- 0
bash/function.bashrc View File

@ -78,3 +78,12 @@ totp() {
TOKEN=$(jq ".$1" -r ~/git/secrets/totp.json)
oathtool -b --totp $TOKEN | xclip
}
_totp() {
TOKEN=$(jq ".$1" -r ~/git/secrets/totp.json)
oathtool -b --totp $TOKEN
}
copy() {
cat $1 | xclip
}

+ 5
- 0
ssh/config View File

@ -1,6 +1,11 @@
Host osuv
User m
Hostname osuv.de
IdentityAgent none
IdentityFile ~/.ssh/id_ed25519
ControlMaster auto
ControlPath ~/.ssh/osuv-%r@%h:%p.socket
ControlPersist 1m
Host git.osuv.de
User git


Loading…
Cancel
Save