1
mediatemple 서버에서 git를 통해 몇 가지 개발 작업을 수행하려고합니다. 내 ssh 키를 올바르게 설치했지만 ssh-agent에 문제가있는 것처럼 보입니다. 아래의 프롬프트에서 에이전트를 설정 한 후 올바르게 자식 서버에 연결할 수 있습니다. 그러나, 약 15 분 후, 에이전트는 타임 아웃된다; 그때 나는 그것을 다시 실행하고 내 열쇠를 추가해야합니다.
누구든지이 때마다이 필요를 해결하는 방법을 알고 있습니까? 당신에게 다음 돈을github ssh-agent timeout mediatemple
Host github.com
IdentityFile ~/.ssh/id_rsa_github
과 : 이미 MT와 함께 티켓을 열고 그들의 지원과 잡담,하지만 그들은에 큰 도움이되지 있습니다 ...
15:04:03 login: ~ $ssh -T [email protected]
Permission denied (publickey).
15:04:26 login: ~ $ssh-add -l
Could not open a connection to your authentication agent.
15:04:33 login: ~ $eval "$(ssh-agent -s)"
Agent pid 19228
15:04:39 login: ~ $ssh-add ~/.ssh/id_rsa_github
Identity added: /home/215537/users/.home/.ssh/id_rsa_github (/home/215537/users/.home/.ssh/id_rsa_github)
15:04:47 login: ~ $ssh-add -l
4096 e4:26:3e:f0:33:d3:74:4c:2c:fe:9c:d8:e8:59:9a:53 /home/215537/users/.home/.ssh/id_rsa_github (RSA)
15:04:50 login: ~ $ssh -T [email protected]
Hi ConstantinoSchillebeeckx! You've successfully authenticated, but GitHub does not provide shell access.
15:17:28 login: ~ $ssh -T [email protected]
Permission denied (publickey).
15:17:36 [email protected]: ~ $ssh-add -l
Could not open a connection to your authentication agent.
15:20:21 [email protected]: ~ $eval "$(ssh-agent -s)"
Agent pid 26564
15:20:27 [email protected]: ~ $ssh-add ~/.ssh/id_rsa_github
Identity added: /home/215537/users/.home/.ssh/id_rsa_github (/home/215537/users/.home/.ssh/id_rsa_github)
15:20:33 [email protected]: ~ $ssh -T [email protected]
Hi ConstantinoSchillebeeckx! You've successfully authenticated, but GitHub does not provide shell access.
'ssh-add -t 1h'을 사용해 볼 수 있습니까? (http://unix.stackexchange.com/questions/122511/configuring-the-default-timeout-for-the-ssh-agent) – VonC