Re: Multihomed Configuration
- From: Bertram Scharpf <lists@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 13 Jun 2007 00:49:53 +0200
Hi,
Am Freitag, 08. Jun 2007, 16:56:34 +0000 schrieb mailbox@xxxxxxxxxxxxxx:
Perhaps you can have a script to do it for you.
# cat sshd_config | sed -s 's/THE_PLACEHOLDER/$MYNEW/g' > sshd_config
or something. figure it out - it can be done.
Sorry, this is dangerous. Use an in-place substituting
language instead.
perl -i -pe 's/x/y/g' sshd_conf
ruby -i -pe 'gsub /x/, "y"' sshd_conf
Bertram
--
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
- Follow-Ups:
- Re: Multihomed Configuration
- From: David Ford
- Re: Multihomed Configuration
- References:
- Re: Multihomed Configuration
- From: mailbox@xxxxxxxxxxxxxx
- Re: Multihomed Configuration
- Prev by Date: Re: Multihomed Configuration
- Next by Date: central management of ssh public keys
- Previous by thread: Re: Multihomed Configuration
- Next by thread: Re: Multihomed Configuration
- Index(es):