summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-02-28 15:29:55 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-02-28 15:29:55 -0300
commit5dedb4de9e65cd044790d77f642d0c82ba6f1d2a (patch)
tree811ad0795a4125d4ec11aa8aadc9dc369c7f3382 /share
parentf847a348c2eae31d5c13b4af443fe0cef16e465e (diff)
downloadhydra-5dedb4de9e65cd044790d77f642d0c82ba6f1d2a.tar.gz
hydra-5dedb4de9e65cd044790d77f642d0c82ba6f1d2a.tar.bz2
Needed .ssh/config portion
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydra/init22
1 files changed, 22 insertions, 0 deletions
diff --git a/share/hydra/init b/share/hydra/init
index 82ce114..69a0ef5 100755
--- a/share/hydra/init
+++ b/share/hydra/init
@@ -70,5 +70,27 @@ else
hydra $HYDRA bootless init
fi
+cat<<-EOF
+Hydra suite relies heavilly in the address in the form of "admin.example.org"
+as the repository server which hosts configuration.
+
+So make sure you have the following in your ~/.ssh/config:
+
+ Host admin.example.org
+ HostName server.example.org
+ Port 22
+
+Replace HostName by the address of the git repository server
+and Port by it's SSH port.
+
+While HostName and Port might change in the future if you move your
+repository for another server, having a fixed alias helps to keep
+your git remotes always updated.
+EOF
+
+# Prompt
+echo "Press any key to continue, Ctrl-C to abort."
+read response
+
# Sync repositories
hydra $HYDRA sync