aboutsummaryrefslogtreecommitdiffstats
path: root/openssh
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-11-18 23:23:40 +0100
committerMattias Andrée <maandree@kth.se>2023-11-18 23:23:40 +0100
commit0f1df0db903ba576fd17b08197d3066af7a61e5f (patch)
treea59c04307b1382257afa3c3512ec3abadf7e0e47 /openssh
parentUse losetup -d instead of --detach and add clean up (diff)
downloaddotfiles-0f1df0db903ba576fd17b08197d3066af7a61e5f.tar.gz
dotfiles-0f1df0db903ba576fd17b08197d3066af7a61e5f.tar.bz2
dotfiles-0f1df0db903ba576fd17b08197d3066af7a61e5f.tar.xz
A lot of changes
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'openssh')
l---------openssh1
-rw-r--r--openssh/Makefile24
-rw-r--r--openssh/bash-aliases9
3 files changed, 1 insertions, 33 deletions
diff --git a/openssh b/openssh
new file mode 120000
index 0000000..ffd8d03
--- /dev/null
+++ b/openssh
@@ -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"