[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]
Dave Stuit djs@stuit.org
Tue, 12 Nov 2002 20:12:24 -0800 (PST)
The limitations on command strings in the cf file should go away in the future, but for now, you shouldn't need the wrapper if your version of ssh supports a separate option for specifying the destination port (as OpenSSH versions do). E.g.: ssh -2 -t -lroot -p7001 termserv --dave On Tue, Nov 12, 2002 at 05:56:24PM -0500, Corey Hirschman wrote: >... >Then changed the line in conserver.cf to look like this: > > #machine1:!termsrv:7001:&: > machine1:|/usr/local/bin/ssh-term 7001 termsrv:7001:&: > >... Here is the wrapper: > > #!/bin/csh > > set PORT = $1 > set TERMSRV = $2 > > exec "ssh -2 -t root:$PORT@$TERMSRV" > >The reason I had to use the wrapper was because of the ':' in the ssh >command. The readconfig part of conserver interpreted it as a field >separater which it is not. I was going to change this in the source to >be something other than a ':' but decided to not muck with the source at >this point. I figured I would just ask if in the next version could >have a compile option added to chose what character you would like to >use as a field serparater in the conserver.cf file.