[SAC] ssh config to connect to LXC containers

Sandro Santilli strk at kbt.io
Fri Jun 7 08:40:48 PDT 2019


On Fri, Jun 07, 2019 at 04:43:55PM +0200, Sandro Santilli wrote:

> I'd still like ot have an "osgeo-lxd-" prefix to the hostname to be
> used by `ssh <hostnamehere>`, in case you have suggestions I'm happy
> to hear them :)

Found:

  Host osgeo-*
    ProxyCommand ssh download.osgeo.org -W $(sed -e "s/^osgeo-//" <<< "%h"):%p

With the above entry I can, for example:

  ssh root at osgeo-secure
  ssh osgeo-grass

Where should I write this hint ?

--strk;


More information about the Sac mailing list