summaryrefslogtreecommitdiff
path: root/dot
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2017-03-09 12:25:25 -0500
committerAndrew Cady <d@jerkface.net>2017-03-09 12:25:55 -0500
commit58135fd5de1993473f789586e48658096592c8b6 (patch)
tree1118230b14d59cd71bafc3e8a8f75e5e8c271443 /dot
parent2d8a341de04e3bc370aec52081238d08a0059fb0 (diff)
aliases to ssh to various hosts
Diffstat (limited to 'dot')
l---------dot/local/bin/adam1
l---------dot/local/bin/borges1
l---------dot/local/bin/chip1
l---------dot/local/bin/cupid1
l---------dot/local/bin/draco1
l---------dot/local/bin/emmy1
l---------dot/local/bin/jerkface.net1
l---------dot/local/bin/lasker1
l---------dot/local/bin/twinkie1
-rwxr-xr-xdot/local/bin/x11-ssh-host13
10 files changed, 22 insertions, 0 deletions
diff --git a/dot/local/bin/adam b/dot/local/bin/adam
new file mode 120000
index 0000000..a1bda3d
--- /dev/null
+++ b/dot/local/bin/adam
@@ -0,0 +1 @@
x11-ssh-host \ No newline at end of file
diff --git a/dot/local/bin/borges b/dot/local/bin/borges
new file mode 120000
index 0000000..a1bda3d
--- /dev/null
+++ b/dot/local/bin/borges
@@ -0,0 +1 @@
x11-ssh-host \ No newline at end of file
diff --git a/dot/local/bin/chip b/dot/local/bin/chip
new file mode 120000
index 0000000..a1bda3d
--- /dev/null
+++ b/dot/local/bin/chip
@@ -0,0 +1 @@
x11-ssh-host \ No newline at end of file
diff --git a/dot/local/bin/cupid b/dot/local/bin/cupid
new file mode 120000
index 0000000..a1bda3d
--- /dev/null
+++ b/dot/local/bin/cupid
@@ -0,0 +1 @@
x11-ssh-host \ No newline at end of file
diff --git a/dot/local/bin/draco b/dot/local/bin/draco
new file mode 120000
index 0000000..a1bda3d
--- /dev/null
+++ b/dot/local/bin/draco
@@ -0,0 +1 @@
x11-ssh-host \ No newline at end of file
diff --git a/dot/local/bin/emmy b/dot/local/bin/emmy
new file mode 120000
index 0000000..a1bda3d
--- /dev/null
+++ b/dot/local/bin/emmy
@@ -0,0 +1 @@
x11-ssh-host \ No newline at end of file
diff --git a/dot/local/bin/jerkface.net b/dot/local/bin/jerkface.net
new file mode 120000
index 0000000..a1bda3d
--- /dev/null
+++ b/dot/local/bin/jerkface.net
@@ -0,0 +1 @@
x11-ssh-host \ No newline at end of file
diff --git a/dot/local/bin/lasker b/dot/local/bin/lasker
new file mode 120000
index 0000000..a1bda3d
--- /dev/null
+++ b/dot/local/bin/lasker
@@ -0,0 +1 @@
x11-ssh-host \ No newline at end of file
diff --git a/dot/local/bin/twinkie b/dot/local/bin/twinkie
new file mode 120000
index 0000000..a1bda3d
--- /dev/null
+++ b/dot/local/bin/twinkie
@@ -0,0 +1 @@
x11-ssh-host \ No newline at end of file
diff --git a/dot/local/bin/x11-ssh-host b/dot/local/bin/x11-ssh-host
new file mode 100755
index 0000000..2869854
--- /dev/null
+++ b/dot/local/bin/x11-ssh-host
@@ -0,0 +1,13 @@
1#!/bin/sh
2host=$(basename "$0")
3case "$host" in
4 x11-ssh-host) host=$1 ;;
5esac
6
7if [ "$DISPLAY" -a ! -t 0 ]; then
8 exec xterm -T "$host" -e \
9 autossh "$host" -- -t screen -xRR
10else
11 exec \
12 autossh "$host" -- -t screen -xRR
13fi