diff options
Diffstat (limited to 'openssh')
l--------- | openssh | 1 | ||||
-rw-r--r-- | openssh/Makefile | 24 | ||||
-rw-r--r-- | openssh/bash-aliases | 9 |
3 files changed, 1 insertions, 33 deletions
@@ -0,0 +1 @@ +ssh
\ No newline at end of file diff --git a/openssh/Makefile b/openssh/Makefile deleted file mode 100644 index 6ee7512..0000000 --- a/openssh/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -.POSIX: -include ../common.mk - -install: - if test -L ~/.ssh; then \ - test "$$(readlink -- ~/.ssh)" = ~/.dotfiles/.secrets/ssh; \ - else \ - test ! -e ~/.ssh && \ - ln -sf -- ~/.dotfiles/.secrets/ssh ~/.ssh; \ - fi - mkdir -p -- ../.secrets/ssh - mkdir -p -- ~/.config/bash/aliases.d - test ! -d ~/.config/bash/aliases.d/openssh - ln -sf -- ~/.dotfiles/openssh/bash-aliases ~/.config/bash/aliases.d/openssh - -uninstall: - -if ! $(CHECK_INSTALLED) ssh 2>/dev/null && \ - ! $(CHECK_INSTALLED) openssh 2>/dev/null; then \ - unlink -- ~/.ssh; \ - unlink -- ~/.config/bash/aliases.d/openssh; \ - rmdir -- ~/.config/bash/aliases.d; \ - fi - -.PHONY: install uninstall diff --git a/openssh/bash-aliases b/openssh/bash-aliases deleted file mode 100644 index 38f7a01..0000000 --- a/openssh/bash-aliases +++ /dev/null @@ -1,9 +0,0 @@ -# -*- shell-script -*- - -if test -n "$DISPLAY"; then - alias sshhome="ssh -YC -p7777 mattias@maandree.ignorelist.com" -else - alias sshhome="ssh -p7777 mattias@maandree.ignorelist.com" -fi -alias sftphome="sftp -P7777 mattias@maandree.ignorelist.com" -alias scphome="scp -P7777" |