i trying git clone repository on remote vm, , doesn't work. following error
[pepperboy@remserver check]$ git clone -b integratedscript https://github.com/pepperboy/project101.git initialized empty git repository in /home/pepperboy/myscript/project101/.git/ error: requested url returned error: 403 forbidden while accessing https://github.com/pepperboy/project101.git/info/refs fatal: http request failed on personal laptop, when try above, works fine.
i have tried pinging remote vm , works fine
ping github.com (192.30.252.128) 56(84) bytes of data. 64 bytes github.com (192.30.252.128): icmp_seq=1 ttl=54 time=85.8 ms 64 bytes github.com (192.30.252.128): icmp_seq=2 ttl=54 time=86.3 ms ^z i have generated ssh key , added github
[pepprboy@remserver check]$ ssh-keygen generating public/private rsa key pair. enter file in save key (/home/pepprboy/.ssh/id_rsa): y enter passphrase (empty no passphrase): enter same passphrase again: identification has been saved in y. public key has been saved in y.pub. key fingerprint is: 08:f5:25:34:ea:42:c3:fb:7a:67:95:17:a7:83:8a:9e pepprboy@remserver key's randomart image is: +--[ rsa 2048]----+ | ..+ . | | . . o + | | = . . | | . = . . . | | o o s o + | | o + + | | .. o . . | | .o.+ | | .oeo | +-----------------+ [pepprboy@remserver check]$ cat ~/.ssh/id_rsa.pub ssh-rsa aaaab3nzac1yc2eaaaabiwaaaqea74n/3lza2kfu3gnptwxv4tvbl715jb6wkta1iy/ot/p+rxxrg9cvtzthvsz3140bnnk2asbxakoahqq31vbocho8lnefwqyzk85xweyjvphjkwhpgpbzdcz1xaf/1itprqxplhvolz7zkx1qrkggkqr5a9uzbpwc9gtc/1bpkcbzynu3zrushqivvmas58i67m03z8z7urge0pnclcw0nmfzedigtxaxhvlkywbsdvmx96cxo1cvbdizuzbsveff6vnz0orbuq/9mlcjkrktbmbsaba6naa8jzhwrqe3ggdz7sahpo+shmh2spnvv4c+19a+zwe0h+oawseyt9e0rq== pepprboy@remserver [pepprboy@remserver check]$ please let me know how can git clone repo vm. (this private repo)
you may using credential-helper running environment, cache password you. won't available vm. putting password?
alternatively may have put password in .netrc file in surrounding machine, not made available in vm.
Comments
Post a Comment