2015-01-14 2 views
1

Jeffrey Way의 instructions을 따라했으며 터미널에서 동일한 SSH 오류가 계속 발생합니다. 그런 다음SSH 사용 권한이 거부되었습니다 (publickey) - Laravel Forge

ssh-keygen -t rsa -C "[email protected]" 

: 내 SSH 키 이런 식으로 생성

debug1: Host 'IP ADDRESS' is known and matches the RSA host key. 
debug1: Found key in /Users/ben/.ssh/known_hosts:17 
debug1: ssh_rsa_verify: signature correct 
debug1: SSH2_MSG_NEWKEYS sent 
debug1: expecting SSH2_MSG_NEWKEYS 
debug1: SSH2_MSG_NEWKEYS received 
debug1: Roaming not allowed by server 
debug1: SSH2_MSG_SERVICE_REQUEST sent 
debug1: SSH2_MSG_SERVICE_ACCEPT received 
debug1: Authentications that can continue: publickey 
debug1: Next authentication method: publickey 
debug1: Offering RSA public key: /Users/ben/.ssh/id_rsa 
debug1: Authentications that can continue: publickey 
debug1: Offering RSA public key: /Users/ben/.ssh/id_rsa.pub 
debug1: Authentications that can continue: publickey 
debug1: No more authentication methods to try. 
Permission denied (publickey). 

:

내가 속편 프로를 통해 그것으로 더 파고에 연결하고자하고, 이것이 가장 정확한 로그 설명입니다 다음과 같이 Laravel Forge에 복사하십시오.

cat ~/.ssh/id_rsa.pub | pbcopy 

오류없이 저장됩니다. 그런 다음 forge @ ip_address를 시도하면 Permission denied 오류가 항상 반환됩니다.

도움이 매우 감사 할 것입니다.

답변

1

나는 포지에 서버를 다시 만들어이 문제를 해결했다. pbcopy도 작동하지 않았습니다.

+0

Forge에서 새 서버를 만들 때 새 서버를 지불해야합니다 .- ' – cawecoy

1

지침과 동일한 문제가있었습니다.

봅니다 :

pbcopy < ~/.ssh/id_rsa.pub 
관련 문제