URI: 
       Title: Transfer your files with Kermit
       Author: Solène
       Date: 31 January 2019
       Tags: unix kermit
       Description: 
       
       Hi, it's been long time I wanted to write this article. The topic is
       Kermit,
       which is a file transfer protocol from the 80's which solved problems
       of that
       era (text files and binaries files, poor lines, high latency etc..).
       
       There is a comm/kermit package on OpenBSD and I am going to show you
       how to use
       it. The package is the program **ckermit** which is a client/server for
       kermit.
       
       Kermit is a lot of things, there is a protocol, but it's also the
       client/server, when you type **kermit**, it opens a kermit **shell**,
       where you
       can type commands or write kermit scripts. This allows scripts to be
       done using
       a kermit in the shebang.
       
       I personally use kermit over ssh to retrieve files from my remote
       server, this
       requires kermit on both machines. My script is the following:
       
           #!/usr/local/bin/kermit +
           set host /pty ssh -t -e none -l solene perso.pw kermit
           remote cd /home/ftp/
           cd /home/solene/Downloads/
           reget /recursive /delete .
           close
           exit
       
       This connects to the remote server and starts kermit. It changes the
       current
       directory on the remote server into **/home/ftp** and locally it goes
       into
       **/home/solene/Downloads**, then, it start retrieving data, continuing
       previous
       transfer if not finished (reget command), for every file finished, it's
       deleted
       on the remote server. Once finished, it close the ssh connection and
       exits.
       
       The transfer interfaces looks like this. It shows how you are
       connected, which
       file is currently transferring, its size, the percent done (0% in the
       example),
       time left, speed and some others information.
       
           C-Kermit 9.0.302 OPEN SOURCE:, 20 Aug 2011, solene.perso.local
       [192.168.43.56]
dataswamp.org:70 /~solene/article-kermit:56: port field too long