Karl M. Joch
2005-Sep-09 07:57 UTC
serial terminal direct connection to remote host at login
Hi, i have some 4.10 systems with local connected serial terminals. now the problem is, that the terminal should connect to a remote host when they are switched on and prompt for the login at the romote host. the way of loging in at the local host and then do a telnet to remote-host is not a real good solution, because all users have to enter their password twice and furthermore all users have to be created on the local system with the terminals too. is there any way to hardwire the terminal to a remote host? i already searched all of the ttys aso man pages, but had no luck findig a solution. many thanks, best regards, karl
Torfinn Ingolfsen
2005-Sep-09 09:25 UTC
serial terminal direct connection to remote host at login
On Fri, 09 Sep 2005 16:56:19 +0200 "Karl M. Joch" <k.joch@kmjeuro.com> wrote:> Hi, > > i have some 4.10 systems with local connected serial terminals. now > the problem is, that the terminal should connect to a remote host when > they are switched on and prompt for the login at the romote host.perhaps you can use conserver for that, even if it is designed to do the opposite (ie. manage remote attacjed serial consoles)? It's in ports, see ports/comms/conserver ports/comms/conserver-com If not, you will have to look for a way to set up someting like the following: - automatic login on local machine (as an unprivileged user) - automatic connection to remote host (perhaps via .profile or somesuch Hmm, there is an 'autologin' entry in my /etc/gettytab, and gettytab(5) explains about the 'al' capability. This allows you to to autologin as a specified user, at least. There is also the 'lo' capability, which controls the program to execute once a name is obtained, usually '/usr/bin/login'. I don't know it it is possible to change this into, say ssh and have the teminal automatically connect to another machine. HTH -- Yours, Torfinn Ingolfsen, Norway
Nora Etukudo
2005-Sep-10 05:25 UTC
serial terminal direct connection to remote host at login
Am 09. September 2005 um 16:56:19 +0200 schrieb Karl M. Joch:> is there any way to hardwire the terminal to a remote host? i already > searched all of the ttys aso man pages, but had no luck findig a > solution.Telnet is crap anyway. Use 'ssh' instead. If you provide ssh keys, you can login w/o further password asking and your users have to give the password only once at the serial login. Liebe Gr??e, Nora. nora@sappho-net.de IM-NETZ Neue Medien, Berlin http://www.im-netz.de/ WWW von Frauen f?r Frauen, Hamburg http://www.w4w.net/ Lesbian Computer Networks, Helsinki http://www.sappho.net/