More struggels with GIT and ssh (migration)

Linking the ssh credentials

The ssh key can easily loaded into pagent.exe and very smooth from KeypassXC (automatically when starting). But git is not automatically using it. Therefore we have to set the environment variable to the path of the plink.exe:

GIT_SSH=C:\Program Files\PuTTY\plink.exe

Freezing git command for new repo

Fetching a git repo from command line may cause a freeze and you have no

If you want to carry on connecting just once, without
adding the key to the cache, enter "n".
If you do not trust this host, press Return to abandon the
connection.
Store key in cache? (y/n)

When this happens for Azure DevOps the following is working:

  1. Open Putty
  2. Connect to git@ssh.dev.azure.com
  3. Click Ok to cache the host key
  4. Close Putty

With that git works with the cached host key

Move Putty Sessions to new Computer

Putty Sessions are stored in the registry only. So backup and restore the following node helps:

Computer\HKEY_CURRENT_USER\SOFTWARE\SimonTatham\PuTTY\Sessions

Move WinSCP to a new Computer

The configuration can be exported in the login screen