diff --git a/Documents/bin/_docker-remote b/Documents/bin/_docker-remote
index cb0cf545f2990e245367ae53570e25cc45c9a85f..423d7f2785833a5884cc9ac3752fea26fb8c875c 100755
--- a/Documents/bin/_docker-remote
+++ b/Documents/bin/_docker-remote
@@ -1,13 +1,12 @@
 #!/bin/sh
 set -eu
 
-
 [ -n "$1" ] || { echo "You must specify host." >&2; exit 1; }
 host="$1"
 localsocket="$HOME/.ssh/docker_$host.sock"
 
-lsof -t "$localsocket" > /dev/null || rm "$localsocket"
-forward "$host" "$localsocket:/var/run/docker.sock"
+lsof -t "$localsocket" > /dev/null 2>&1 || rm -f "$localsocket"
+forward "$host" "$localsocket:/var/run/docker.sock" > /dev/null 2>&1
 
 # Echo the DOCKER_HOST export command, for eval'ing.
 echo "export DOCKER_HOST=unix://$localsocket"
diff --git a/Documents/bin/forward b/Documents/bin/forward
index d648670a70121669bd8efeaf5c2854b4e4ecd55a..a75ecd7bd965bc88081430397dcac68c26a70326 100755
--- a/Documents/bin/forward
+++ b/Documents/bin/forward
@@ -10,6 +10,10 @@ forward="$2" || { usage >&2; exit 1; }
 alias ssh='ssh -fnNTS ~/.ssh/%C.sock'
 
 # shellcheck disable=SC2029
-ssh -o ControlMaster=auto -o ControlPersist=0 -o ExitOnForwardFailure=no -o ControlPersist=0 "$host"
+ssh -o ControlMaster=auto \
+    -o ControlPersist=0 \
+    -o ExitOnForwardFailure=no \
+    -o ControlPersist=0 \
+    "$host"
 # shellcheck disable=SC2029
 ssh -O forward -L "$forward" "$host"