gitprep / tmp / memo.txt /
bb16a8a 9 years ago
1 contributor
31 lines | 1.407kb
command="ls",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAurwDPkF1gw5Nf98BhBtPKLBEQ/AdiLIJUEreaa39aWGqzi5s4WBxBP3LMvdvqpMdbnj81ivklJTdlTbKuP4EkhVaXAtB0bw1m/oHPFpp2lH772Bj7ToZQc9omW0bqpP7CtRHCBlf10RIFnhB6ugHSETo4C/esL7OQPThHYvRd8lCGTFq9/4sVd1fWbTcreyXhQA669W+w//xNWla2KnO6+4i/P15SlZfvlgwkziaUHQRZXeVJ0toKuvQRjw5XI18Q3fORnlPALAL4ZV2vUA2Nh4wQGeEkMnXVKF92h+JrXG01filfvnPZZzSnIzVMEyA5ZHV1GhOFUzsogsBKhWrOw== gitprep@www7402u.sakura.ne.jp

# gitolite start
command="/home/git/gitolite/src/gitolite-shell yuku_t",
no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty
ssh-rsa AAAAB3NzaC1y...== yuku_t
# gitolite end

ssh -p55555 -i ~/tmp/id_rsa_gitprep2 59.106.185.196


ssh -p55555 -i ~/tmp/id_rsa_gitprep2 git clone ssh://gitprep@59.106.185.196:55555/home/gitprep/labo/gitprep/data/rep/kimoto/gitprep_t.git

ssh -p55555 -i ~/tmp/id_rsa_gitprep2 git-upload-pack gitprep_t.git


ssh -p55555 59.106.185.196


git clone ssh://gitprep@59.106.185.196:55555/gitprep_t.git


�‹��ϐ� GIT_SSH

~/.ssh/config �͑�ϕ֗��ł����A Git �Ƃ͖��֌W�� SSH �ڑ����ɂ�Q�Ƃ����̂ŕs�s���Ȃ��Ƃ���܂��B�ʂ̕�@�Ƃ��āA GIT_SSH �‹��ϐ��� SSH �̃��b�p�[�X�N���v�g��w�肷�邱�Ƃ��ł��܂��B

git-ssh.sh
#!/bin/sh
exec ssh -oIdentityFile=~/.ssh/github_id_rsa "$@"
$ GIT_SSH=git-ssh.sh git push git@github.com:kyanny/hello.git master