cat: can't open '/etc/uks/*.pem': No such file or directory
That's... bad. But nicely explains why it's utterly broken
Basically, you need to restore the default /etc/uks folder.
I see that it looks like you still have usbnet installed... That might be easier to investigate/fix over SSH... Put back the usbnet folder from the latest usbnetwork packages to 'revive' it
I'd be curious as to what is/where the kiterm init script came from, because I don't think luigi's original stuff included one...