Kermit / Ckermit
A reasonable .kermrc file for serial tty line access
define a9600 set line /dev/ttyACM0, set carrier-watch off, set speed 9600, set parity none, set terminal bytesize 8, set flow-control none, connect define u2400 set line /dev/ttyUSB0, set carrier-watch off, set speed 2400, set parity none, set terminal bytesize 8, set flow-control none, connect define u9600 set line /dev/ttyUSB0, set carrier-watch off, set speed 9600, set parity none, set terminal bytesize 8, set flow-control none, connect define u19200 set line /dev/ttyUSB0, set carrier-watch off, set speed 19200, set parity none, set terminal bytesize 8, set flow-control none, connect define u38400 set line /dev/ttyUSB0, set carrier-watch off, set speed 38400, set parity none, set terminal bytesize 8, set flow-control none, connect define u57600 set line /dev/ttyUSB0, set carrier-watch off, set speed 57600, set parity none, set terminal bytesize 8, set flow-control none, connect define u115200 set line /dev/ttyUSB0, set carrier-watch off, set speed 115200, set parity none, set terminal bytesize 8, set flow-control none, connect define v2400 set line /dev/ttyUSB1, set carrier-watch off, set speed 2400, set parity none, set terminal bytesize 8, set flow-control none, connect define v9600 set line /dev/ttyUSB1, set carrier-watch off, set speed 9600, set parity none, set terminal bytesize 8, set flow-control none, connect define v19200 set line /dev/ttyUSB1, set carrier-watch off, set speed 19200, set parity none, set terminal bytesize 8, set flow-control none, connect define v38400 set line /dev/ttyUSB1, set carrier-watch off, set speed 38400, set parity none, set terminal bytesize 8, set flow-control none, connect define v57600 set line /dev/ttyUSB1, set carrier-watch off, set speed 57600, set parity none, set terminal bytesize 8, set flow-control none, connect define v115200 set line /dev/ttyUSB1, set carrier-watch off, set speed 115200, set parity none, set terminal bytesize 8, set flow-control none, connect define w2400 set line /dev/ttyUSB2, set carrier-watch off, set speed 2400, set parity none, set terminal bytesize 8, set flow-control none, connect define w9600 set line /dev/ttyUSB2, set carrier-watch off, set speed 9600, set parity none, set terminal bytesize 8, set flow-control none, connect define w19200 set line /dev/ttyUSB2, set carrier-watch off, set speed 19200, set parity none, set terminal bytesize 8, set flow-control none, connect define w38400 set line /dev/ttyUSB2, set carrier-watch off, set speed 38400, set parity none, set terminal bytesize 8, set flow-control none, connect define w57600 set line /dev/ttyUSB2, set carrier-watch off, set speed 57600, set parity none, set terminal bytesize 8, set flow-control none, connect define w115200 set line /dev/ttyUSB2, set carrier-watch off, set speed 115200, set parity none, set terminal bytesize 8, set flow-control none, connect define s9600 set line /dev/ttyS0, set carrier-watch off, set speed 9600, set parity none, set terminal bytesize 8, set flow-control none, connect define s19200 set line /dev/ttyS0, set carrier-watch off, set speed 19200, set parity none, set terminal bytesize 8, set flow-control none, connect define s38400 set line /dev/ttyS0, set carrier-watch off, set speed 38400, set parity none, set terminal bytesize 8, set flow-control none, connect define s57600 set line /dev/ttyS0, set carrier-watch off, set speed 57600, set parity none, set terminal bytesize 8, set flow-control none, connect define s115200 set line /dev/ttyS0, set carrier-watch off, set speed 115200, set parity none, set terminal bytesize 8, set flow-control none, connect define x2400 set carrier-watch off, set speed 115200, set parity none, set terminal bytesize 8, set flow-control none, connect define x9600 set carrier-watch off, set speed 115200, set parity none, set terminal bytesize 8, set flow-control none, connect define x19200 set carrier-watch off, set speed 115200, set parity none, set terminal bytesize 8, set flow-control none, connect define x57600 set carrier-watch off, set speed 115200, set parity none, set terminal bytesize 8, set flow-control none, connect define x115200 set carrier-watch off, set speed 115200, set parity none, set terminal bytesize 8, set flow-control none, connect
An ssh wrapper, /usr/local/bin/skermit:
#!/bin/sh cmd="kermit -C \"ssh $1\",\"quit\"" echo $cmd eval "$cmd"