[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]
Steve Koinm skoinm@bcm.edu
Fri, 18 Jan 2008 12:25:58 -0800 (PST)
### set up global access default full { rw *; }
### set the defaults for all the consoles # these get applied before anything else default * { # The '&' character is substituted with the console name logfile /var/conserver/consoles/&; # timestamps every hour with activity and break logging timestamp 1hab; # include the 'full' default include full; # master server is localhost master localhost; }
default conssh { type exec; exec /usr/local/bin/conssh P H; execsubst P=pd,H=hs; }
console swift { port 44; include conssh; host cons-2; }
######### The /usr/local/bin/conssh script looks like:
#!/bin/sh PORT=${1} TERMSRV=${2} ssh -2 -q -x -t root:ttyS${PORT}@${TERMSRV}