macOS using kerberos proxy authentication in the command line

My network configuration requires a proxy authentication to connect to the internet. Most of the applications use the proxy settings from the system preferences which use the kerberos to authenticate. Unfortunately the Terminal does not. After searching a little bit I found one solution which does not satisfy me. This solution use Squidman to make a local proxy server which use then the Kerberos to authenticate at the real proxy server, or how they say 'restore the operation of some MacOS X applications that normally fail through authenticated proxy servers'.


For me it is not the best solution to bring another software in my operating system only for this reason. Is there a script base solution which does the same? Or even a system based solution?


Does anyone have an idea to solve this problem?

macOS using kerberos proxy authentication in the command line
 
 
Q