我想從工作(windows機器)訪問我的heroku應用程序。heroku抱怨我的公鑰由ssh-keygen2創建
我在機器上安裝了cygwin並生成了ssh-key。但是,我收到以下錯誤:
C:>heroku keys:add "C:\cygwin\home\4541450\[email protected]" Uploading ssh public key C:\cygwin\home\4541450\[email protected] Enter your Heroku credentials. Email: [email protected] Password: Uploading ssh public key C:\cygwin\home\c54550\[email protected] ! Contents Invalid public key/ Contents Invalid public key/ Fingerprint can 't be blank
我使用以下命令生成了ssh密鑰。
ssh-keygen2 "[email protected]" -t rsa
ssh-keygen不可用於此cygwin。
真棒,爲我工作。多麼簡單的事情多麼令人驚奇...... – 2010-10-03 11:47:20