Mailing List Archive

conserver.cf and colons
(Sent accidently previously with wrong account. Sending again with correct
one.)

Hi guys,

I'm trying to enter a line like this in conserver.cf:

test8:|ssh -l conuser:7001 cyclades1::&:

The command obviously being "|ssh -l conuser:7001 cyclades1". Unfortunately
since colons are delimeters on this file, I'm having problems. I've tried
backslashing the colon, and even quoting the entire line, but it doesn't
help.

Is there any way I can do this?

--
Bruce Z. Lysik <eldrik@logrus.com> http://www.logrus.com/~eldrik
Re: conserver.cf and colons [ In reply to ]
unfortunately, there really isn't a way to make it work (directly,
anyway). the code uses a simple search for colons, so backslashes and
quotes just don't hide them. what you can do in this case (although
it's slightly ugly) is to write a wrapper that would accept something
like "conuser 7001 cyclades1" as arguments and then pass them to ssh
with the colon and approprate flags. yeah, not ideal, but it should
work.

Bryan

On Tue, Jun 18, 2002 at 02:51:57PM -0700, Bruce Z. Lysik wrote:
> (Sent accidently previously with wrong account. Sending again with correct
> one.)
>
> Hi guys,
>
> I'm trying to enter a line like this in conserver.cf:
>
> test8:|ssh -l conuser:7001 cyclades1::&:
>
> The command obviously being "|ssh -l conuser:7001 cyclades1". Unfortunately
> since colons are delimeters on this file, I'm having problems. I've tried
> backslashing the colon, and even quoting the entire line, but it doesn't
> help.
>
> Is there any way I can do this?
>
> --
> Bruce Z. Lysik <eldrik@logrus.com> http://www.logrus.com/~eldrik
>
> _______________________________________________
> users mailing list
> users@conserver.com
> https://www.conserver.com/mailman/listinfo/users