Re: GSSAPI authentication don't work in WinSCP 5.1.3
Hi,
I got it working in Windows 7 by removing Heimdal Kerberos and 64bit putty.
Intalled:
https://web.mit.edu/kerberos/dist/kfw/3.2/kfw-3.2.2/kfw-3-2-2.exe
Configured c:\windows\krb5.ini:
[libdefaults]
default_realm = MYREALM.COM
dns_lookup_kdc = false
dns_lookup_realm = false
[realms]
MYREALM.COM = {
kdc = primary.mydom.com:88
kdc = secondary.mydom.com:88
admin_server = primary.mydom.com
default_domain = MYREALM.COM
}
[domain_realm]
.mydom.com = MYREALM.COM
mydom.com = MYREALM.COM
Installed 32bit putty from:
<invalid hyperlink removed by admin>
Use default during installation.
Start Putty.
Under Category->SSH->Auth->GSSAPI
check: Attempt GSSAPI authentication (SSH-2only)
In box: Preference order for GSSAPI libraries
mark: User-specified GSSAPI DLL
and klick "Up" to move it to the top.
In "User-supplied GSSAPI library path":
Browse and choose "C:\Program Files (x86)\MIT\Kerberos\bin\gssapi32.dll"
Under "Saved sessions"
Mark "Default Settings"
Klick "Save"
Install WinSCP 5.1.3 (or later)
Check: "Advanced options"
Mark: SSH->Authentication
Check: "Attempt GSSAPI authentication (SSH-2)
Mark "Preferences" to left
Klick the "Preferences..." button.
Mark Integration->Applications
Make sure Putty path is: C:\Program Files (x86)\PuTTY\putty.exe
Klick "OK"
Mark Session at the top
Klick the arrow to right of the Save button and choose "Set defaults"
Klick "OK".
Get a ticket in Network Indentity Manager
Putty, pscp, plink, WinSCP etc will use the kerberos ticket.
Thanks!
Keep up the good work.
Regards
Bernt Jernberg
I got it working in Windows 7 by removing Heimdal Kerberos and 64bit putty.
Intalled:
https://web.mit.edu/kerberos/dist/kfw/3.2/kfw-3.2.2/kfw-3-2-2.exe
Configured c:\windows\krb5.ini:
[libdefaults]
default_realm = MYREALM.COM
dns_lookup_kdc = false
dns_lookup_realm = false
[realms]
MYREALM.COM = {
kdc = primary.mydom.com:88
kdc = secondary.mydom.com:88
admin_server = primary.mydom.com
default_domain = MYREALM.COM
}
[domain_realm]
.mydom.com = MYREALM.COM
mydom.com = MYREALM.COM
Installed 32bit putty from:
<invalid hyperlink removed by admin>
Use default during installation.
Start Putty.
Under Category->SSH->Auth->GSSAPI
check: Attempt GSSAPI authentication (SSH-2only)
In box: Preference order for GSSAPI libraries
mark: User-specified GSSAPI DLL
and klick "Up" to move it to the top.
In "User-supplied GSSAPI library path":
Browse and choose "C:\Program Files (x86)\MIT\Kerberos\bin\gssapi32.dll"
Under "Saved sessions"
Mark "Default Settings"
Klick "Save"
Install WinSCP 5.1.3 (or later)
Check: "Advanced options"
Mark: SSH->Authentication
Check: "Attempt GSSAPI authentication (SSH-2)
Mark "Preferences" to left
Klick the "Preferences..." button.
Mark Integration->Applications
Make sure Putty path is: C:\Program Files (x86)\PuTTY\putty.exe
Klick "OK"
Mark Session at the top
Klick the arrow to right of the Save button and choose "Set defaults"
Klick "OK".
Get a ticket in Network Indentity Manager
Putty, pscp, plink, WinSCP etc will use the kerberos ticket.
Thanks!
Keep up the good work.
Regards
Bernt Jernberg