ssh config for multiple bitbucket accounts - Simple example, but getting 'remote end hung up unexpectedly'

前端 未结 3 2119
时光取名叫无心
时光取名叫无心 2021-02-05 16:35

Suppose my bitbucket user name is \"jon\" and I have some personal projects at https://bitbucket.org/jon.

Suppose I then join a development team that has a

3条回答
  •  耶瑟儿~
    2021-02-05 17:01

    I had the same problem. After i changed permissions of the file ~/.ssh/config to -rw-r--r--, the error

    Bad owner or permissions on /home/username/.ssh/config
    fatal: The remote end hung up unexpectedly
    

    disappeared.

    Write in console:

    cd ~/.ssh
    chmod 644 config
    

提交回复
热议问题