I'm using plink.exe (from PuTTY) to run shell commands over SSH. Trying to authenticate via GSSAPI makes it slow ("freezes" ~ 7 sec while trying). Therefore I want to disable GGSSAPI authentication.
Under PuTTY I can disable GSSAPI authentication and everything is fine (because I don't want to authenticate via GSSAPI).
How to disable GSSAPI authentication using plink.exe?
There's no command-line switch in Plink/PuTTY to disable GSSAPI.
All you can do is to configure a stored session in PuTTY GUI with GSSAPI disabled and use it in Plink using -load switch.
plink -load "my session with disabled gssapi"
You can combine that with other command-line options. So you can create a stored session that only disables GSSAPI:
plink -load "disable gssapi" username@hostname
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With