Enjoyable with Kermit and ZMODEM over SSH
Frederic Cambus April 25, 2023 [Networking]
In my “Capturing text screens on modern operating systems” article
printed again in 2013, I discussed discovering a really promising program known as
Qodem. It has since reached maturity and model 1.0 was launched in
2017. I’ve been having fun with it frequently to reminisce concerning the
superb days of utilizing Terminate and Minicom within the nineties,
and even packaged it in each OpenBSD and NetBSD.
Qodem has inbuilt help for SSH, and likewise allows you to spawn an area shell
and SSH from there, which permits authentication utilizing SSH keys.
For the aim of this text, I used two Fedora machines and put in
the ckermit and lrzsz packages to deal with the Kermit and ZMODEM
protocols respectively. There’s a qodem package deal as properly, but it surely solely
bundles the X11 binary. I favor to make use of the curses model, so I constructed it
from supply.
And from there, let the enjoyable start:
C-Kermit 9.0.302 OPEN SOURCE:, 20 Aug 2011, for Linux (64-bit)
Copyright (C) 1985, 2011,
Trustees of Columbia College within the Metropolis of New York.
Kind ? or HELP for assist.
(/residence/fcambus/) C-Kermit>ship NetBSD-9.3-amd64.iso
Return to your native Kermit and provides a RECEIVE command.
KERMIT READY TO SEND...
9 S~/ @- SENT: [/home/fcambus/NetBSD-9.3-amd64.iso] To: [netbsd-9_3-amd64.iso] (OK)
(/residence/fcambus/) C-Kermit>
Right here is our Kermit switch in motion:
For transfering recordsdata utilizing ZMODEM, we use sz from the lrzsz package deal:
sz NetBSD-9.3-amd64.iso
And right here is our ZMODEM switch in motion:
There’s something fairly particular about seeing ZMODEM transfers attain speeds
near 600 MBit/s. It is arduous to elucidate.
For the file, I used the next script to take screenshots in burst mode
after which create an animated GIF:
whereas true; do
gnome-screenshot -w;
carried out
Lastly, if you happen to get pleasure from watching these superb progress bars, you would possibly
additionally get pleasure from my “File transfers via the parallel port on DOS using LapLink”
submit from final yr, which served because the inspiration for this one.