voltagex/checkout — Issue #5: Plink and checkout.bat
Author: voltagex
Created: 2011-11-04 13:57:02+00:00
State: open

Maybe this output will help with designing error handling -

C:\Users\VoltageX\Documents\Scripts>"C:\Program Files (x86)\PuTTY\plink.exe" git
hub.com
The server's host key is not cached in the registry. You
have no guarantee that the server is the computer you
think it is.
The server's rsa2 key fingerprint is:
ssh-rsa 2048 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48
If you trust this host, enter "y" to add the key to
PuTTY's cache and carry on connecting.
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) y
login as: git
Server refused to allocate pty
Hi voltagex! You've successfully authenticated, but GitHub does not provide shel
l access.