From 57aeb4681a3c201b7a5cab45d65f118122c3652c Mon Sep 17 00:00:00 2001 From: Simonas Narbutas Date: Thu, 21 Feb 2019 09:37:12 +0100 Subject: [PATCH] kinit alias --- .yadm/alt/.ssh/config##Linux.epiphanius | 13 +++++++++++++ .yadm/alt/.zshrc##Linux | 3 ++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.yadm/alt/.ssh/config##Linux.epiphanius b/.yadm/alt/.ssh/config##Linux.epiphanius index 284ad7f..bca56c5 100644 --- a/.yadm/alt/.ssh/config##Linux.epiphanius +++ b/.yadm/alt/.ssh/config##Linux.epiphanius @@ -5,6 +5,19 @@ Host narbuto.lt 192.168.178.100 AddKeysToAgent yes IdentityFile ~/.ssh/id_rsa_home +Host mail.narbutas.it 116.203.70.29 + User simas + PubKeyAuthentication yes +# UseKeychain yes + AddKeysToAgent yes + IdentityFile ~/.ssh/id_rsa_mail_epiphanius + +Host git.narbuto.lt + User git + PubKeyAuthentication yes + AddKeysToAgent yes + IdentityFile ~/.ssh/id_rsa_backute_gitea + Host adm-gerrit-001 adm-gerrit-001.ams4.bolcom.net gerrit.internal.adm.bol.com gerrit.tools.bol.com User snarbutas Port 29418 diff --git a/.yadm/alt/.zshrc##Linux b/.yadm/alt/.zshrc##Linux index 8cc8f08..995e201 100644 --- a/.yadm/alt/.zshrc##Linux +++ b/.yadm/alt/.zshrc##Linux @@ -37,7 +37,7 @@ stty -ixon -ixoff ## Set a nice prompt PROMPT='%F{red}[%F{blue}%*%F{red}]%f %F{yellow}bosman%f %F{magenta}[%f%B%F{magenta}%1~%f%b%F{magenta}]%f %(!.%F{red}.%F{green})≫ %f$(git_super_status) ' -RPROMPT=$'%F{cyan}%*%f' +#RPROMPT=$'%F{cyan}%*%f' ## Set a nice remote prompt YELLOW="\[\033[38;5;3m\]" @@ -70,6 +70,7 @@ cdpath=( alias ls='ls --color=auto' +alias simit='gopass bolcom/dc/snarbutas |kinit -p snarbutas@BOLCOM.NET' ## Add pastebin support function Paste { curl -s -d "content='$(cat ${1})'&expire=6h" -o/dev/null -w "%{redirect_url}\n" http://go-paste.service.local:8080/; }