heroku - rails - Permission denied (publickey)

前端 未结 5 1823
花落未央
花落未央 2021-02-04 06:01
heroku create
Creating floating-planet-1824......................... done, stack is bamboo-mri-1.9.2
http://floating-planet-1824.heroku.com/ | git@heroku.com:floating-pl         


        
5条回答
  •  悲&欢浪女
    2021-02-04 06:35

    The problem which i face was setting the ssh environment variable.

    SSH_AUTH_SOCK=0
    
    heroku keys
    

    will show the keys, remove and then login, it will create one for you and add to your app. Or you can create your rsa key with your email and then use it using

    heroku keys:add /path

    Generate key using ssh-keygen -t rsa -C "your_email@youremail.com"

提交回复
热议问题