You are not logged in.

#1 2011-04-28 02:24:09

pgcudahy
Member
Registered: 2011-02-14
Posts: 7

Customize virtual consoles

Hey, I've been reading up on how to setup my virtual consoles with /etc/inittab. I've got a couple switched over to mingetty so that they now automatically login which is great. I'd like to take it a step further and have various virtual consoles run a command on login. What I want to happen is that when I boot my machine tty1 is automatically logged in and presenting me with a command prompt while tty2 has also logged in and connected over ssh to my server and presenting the server's command prompt. I already have ssh setup with rsa keys so all inittab has to run is 'ssh user@1.2.3.4'
e.g.
TTY1 would show [user@local ~]$
and TTY2 would show [user@server ~]$
without having to type a single key

Anyone have a suggestion?

Patrick

Offline

Board footer

Powered by FluxBB