[clug] ssh terminal

Nemo -earth native- nemo at nut.house.cx
Tue Feb 10 05:18:26 GMT 2004


On Tue, Feb 10, 2004 at 04:13:08PM +1100, Martijn van Oosterhout did utter:
> On Tue, Feb 10, 2004 at 04:10:04PM +1100, James McNeill wrote:
> > heeeey everybody. <hi doctor Nick!>
> > 
> > is there any way to have a terminal start with an ssh connection at 
> > boot? what  I mean is, could I have say tty4 be an ssh login to another 
> > machine straight up, rather than having to log in locally and then 
> > sshing to the remote machine?
> 
> I don't see any reason why you couldn't put the ssh command in /etc/inittab
> under the right console.

I believe you can end up with vague environment wierdness by doing that
- ie, because you're not actually running any getty. 

What would be wanted is `rungetty`

>From the debian desc:

Description: a minimal console getty that can run any process
rungetty might be the getty you were looking for.  It is able to run
any program, not just login. If a different program than login is used
it usually is run as nobody.nobody, or the user/group specified on the
commandline. rungetty can even be configured to autologin, under certain
circumstances. See the manual page for more information.


.../Nemo
-- 
  ------------------------------------------ --------------------------
                                                    earth native


More information about the linux mailing list