Reversing milking machine (console server)

Dan Kaminsky dan at doxpara.com
Sun Sep 26 12:56:59 EST 2010


Little known feature of GNU Screen is it'll talk straight to serial  
ports. Could be useful.



On Sep 25, 2010, at 10:12 PM, "Dan Mahoney, System Admin" <danm at prime.gushi.org 
 > wrote:

> On Sat, 25 Sep 2010, Philip Prindeville wrote:
>
>
> Look at rtty or conserver.
>
>> Hi.
>>
>> I have a box (a net5501 with a Perle serial octal RS-232 card in  
>> it) that I want to use as a console server for a bunch of headless  
>> computers.
>>
>> I was wondering if there's a trivial app that I can run as the  
>> shell that ssh (or telnet) would run, example:
>>
>> #!/bin/bash
>>
>> port=$(echo "$SSH_CONNECT" | cut -d' ' -f4)
>>
>> let -i tty=$port-2000
>>
>> ttyname=$(printf "/dev/ttyS%02d" $tty)
>>
>> (stty 19200 ; \
>> termserv) <$ttyname >$ttyname
>>
>> exit
>>
>> I could write one from scratch, but if someone already has, that  
>> would be even better.
>>
>> Thanks,
>>
>> -Philip
>> _______________________________________________
>> openssh-unix-dev mailing list
>> openssh-unix-dev at mindrot.org
>> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
>>
>
> -- 
>
> <Belldandy> ha. you have not met me.
> <BaldDwarf> ha. but i have sene pictures
> <Belldandy> thanks but uh.,
> <BaldDwarf> seen dammit! SEEN!
> <Gushi> I don't know who dammit! is.
> <Belldandy> so anyway
>
> -Undernet #reboot, October 2nd, 2000, 3AM
>
> --------Dan Mahoney--------
> Techie,  Sysadmin,  WebGeek
> Gushi on efnet/undernet IRC
> ICQ: 13735144   AIM: LarpGM
> Site:  http://www.gushi.org
> ---------------------------
>
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev


More information about the openssh-unix-dev mailing list