Passwordless file transfer using Kerberos and WinSCP
- Install WinSCP from https://winscp.net/eng/download.php, use default options when prompted
- Get Kerberos ticket for the account you want to log in
- If you have multiple tickets, you need to "make default" the one you want to use for the remote server.
- Double click WinSCP, double click "New Site".
- For File protocol, use either SFTP or SCP
- Enter hostname you want to connect to
- Enter username (this is the username on the remote host you want to connect as)
- In the drop down labelled "Advanced", choose "Advanced" then authentication.
- Check both checkboxes under GSSAPI
- Uncheck "Attempt authentication using Pageant
- Click OK, then Save the session setting.
You should be able to connect without password (You might be prompted WRT host key, make sure you save it to avoid the prompt in the future)