From 9168b8c42f91d546d940c8c5794d7942d8087374 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Thu, 2 Mar 2023 11:39:10 +0100 Subject: [PATCH] Added the ssh commands MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcin Woźniak --- .zshrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 67ed7bd..816d5c7 100644 --- a/.zshrc +++ b/.zshrc @@ -101,8 +101,10 @@ if [[ "$(uname -sr)" =~ "Microsoft" ]]; then export GOROOT=/usr/lib/go fi -# Alias work +# Alias ssh alias ssh-work="ssh -i ~/.ssh/work/id_rsa" +alias ssh-restore="cp -rv ~/ssh-mega/config ~/.ssh/ ; ssh-permissions" +alias ssh-backup="cp -rv ~/.ssh/config ~/ssh-mega/" # Alias and Export Gentoo alias svm="sudo $EDITOR /etc/portage/make.conf"