2014-12-03 4 views
0

opensshift로 ssh 또는 git push를 시도하면 "access not allowed"오류가 발생합니다. SSH 공용 키 openshift에 표시하고 ~/스푸핑/id_rsa.pub 리눅스 민트 17openshift ssh access denied

[email protected] ~ $ ssh-keygen -l 
Enter file in which the key is (/home/dick/.ssh/id_rsa): 
2048 70:f1:92:9d:d8:7b:09:4c:8e:7d:60:94:53:a0:7a:8a OpenShift-Key (RSA) 
[email protected] ~ $ rhc sshkey list 
default (type: ssh-rsa) 
----------------------- 
    Fingerprint: 70:f1:92:9d:d8:7b:09:4c:8e:7d:60:94:53:a0:7a:8a 
    Available: true 

You have 1 SSH keys associated with your account. 
[email protected] ~ $ cd /c/src/time 
[email protected] /c/src/time $ git push 
ssh: connect to host time-cronos.rhcloud.com port 22: Connection timed out 
fatal: Could not read from remote repository. 

Please make sure you have the correct access rights 
and the repository exists. 
[email protected] /c/src/time $ ssh time-cronos.rhcloud.com 
ssh: connect to host time-cronos.rhcloud.com port 22: Connection timed out 
[email protected] /c/src/time $ 
+0

죄송합니다.이 "액세스가 허용되지 않음"오류는 어디에 있습니까? 샘플 출력물 어디에도 보이지 않습니다. – Kenster

답변

0

의 핵심은 당신이 어디에 어쩌면 포트 (22)가 차단 된 것 같은데 일치인가? time -cronos.rhcloud.com에서 포트 22로 telnet 할 수 있습니까? 그렇지 않은 경우 시스템 관리자와 협력하거나 다른 위치에서 시도하십시오.

0

내가 포트 상태에 대한 자세한 정보를 얻기 위해에 nmap은 스캔을 실행 제안, 포트 (22)는 연결 시간 초과로 차단 된 것으로 보인다 서버 스캔 포트에 허가를 가지고 제공 :

nmap -p 22 --reason -sT time-cronos.rhcloud.com