From 5dedb4de9e65cd044790d77f642d0c82ba6f1d2a Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 28 Feb 2014 15:29:55 -0300 Subject: Needed .ssh/config portion --- share/hydra/init | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'share') 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 -- cgit v1.2.3