Compare commits

...

2 Commits

Author SHA1 Message Date
Marcin Woźniak
f8240b9ea7 Added the ssh-permissions
Signed-off-by: Marcin Woźniak <marcin.wozniak@wundermanthompson.com>
2023-03-02 11:33:02 +01:00
Marcin Woźniak
793c63e340 Added the alias about work
Signed-off-by: Marcin Woźniak <marcin.wozniak@wundermanthompson.com>
2023-03-02 11:27:09 +01:00
2 changed files with 6 additions and 0 deletions

View File

@ -4,3 +4,6 @@ chmod 644 ~/.ssh/known_hosts
chmod 644 ~/.ssh/config chmod 644 ~/.ssh/config
chmod 400 ~/.ssh/id_rsa chmod 400 ~/.ssh/id_rsa
chmod 400 ~/.ssh/id_rsa.pub chmod 400 ~/.ssh/id_rsa.pub
chmod 400 ~/.ssh/*/id_rsa
chmod 400 ~/.ssh/*/id_rsa.pub

3
.zshrc
View File

@ -101,6 +101,9 @@ if [[ "$(uname -sr)" =~ "Microsoft" ]]; then
export GOROOT=/usr/lib/go export GOROOT=/usr/lib/go
fi fi
# Alias work
alias ssh-work="ssh -i ~/.ssh/work/id_rsa"
# Alias and Export Gentoo # Alias and Export Gentoo
alias svm="sudo $EDITOR /etc/portage/make.conf" alias svm="sudo $EDITOR /etc/portage/make.conf"
alias svr="sudo $EDITOR /etc/portage/repos.conf" alias svr="sudo $EDITOR /etc/portage/repos.conf"