[Tizen General] unable to clone tizen repositories via ssh

Kanevskiy, Alexander alexander.kanevskiy at intel.com
Thu Oct 31 10:09:27 GMT 2013


On 31/10/13 08:28 , "Prathamesh P Ghanekar" <prathamesh.ghanekar at igate.com<mailto:prathamesh.ghanekar at igate.com>> wrote:

Please check that your proxy is allowing connections to outside world for required ports.

If proxy is behaiving correctly, you should see similar output like below:

$ nc -v -x proxy.company.com:1080 review.tizen.org 29418
Connection to review.tizen.org port 29418 [tcp/*] succeeded!
SSH-2.0-GerritCodeReview_2.6.1.20130902 (SSHD-CORE-0.6.0)



Hi,
I wish to build TIZEN IVI for FreeScale iMX.6 board using GBS build system.
I started with the steps mentioned in the developers’ guide.( https://source.tizen.org/documentation/developer-guide/clone-tizen-source)

1)My .ssh/config file looks like follows:
Host tizen
  Hostname review.tizen.org
  IdentityFile /home/patni/.ssh/id_rsa
  User prathamesh
  Port 29418

Host review.tizen.org
  Hostname review.tizen.org
  IdentityFile /home/patni/.ssh/id_rsa
  User prathamesh
  Port 29418
ProxyCommand nc -X5 -x <proxyuser>:<proxypassword>@<proxyserver>:8080 %h %p

2)And following is my ~/.gitconfig file:
[user]
        name = prathamesh ghanekar
        email = prathamesh.ghanekar at igate.com<mailto:prathamesh.ghanekar at igate.com>
[http]
        proxy = "http://<user>:<password>@<proxyserver>:8080"
[https]
        proxy = https://<user>:<password>@<proxyserver>:8080<https://%3cuser%3e:%3cpassword%3e@%3cproxyserver%3e:8080>

3)After uploading SSH public key and generating https password from TIZEN gerrit,I tried all of the following commands, but none worked:
>ssh tizen
>ssh review.tizen.org
>ssh review.tizen.org –p 29418

All of them gave me the same error as follows:
>ssh: connect to host review.tizen.org port 29418: Connection refused

4) Since, this did not work, I chose the other option i.e. cloning repositories using https instead of ssh.
After downloading repo, I tried to initialize repo with following command:
>repo init -u https://prathamesh:<HTTP_Password>@review.tizen.org/gerrit/p/scm/manifest -b tizen -m ivi.xml<https://prathamesh:%3cHTTP_Password%3e@review.tizen.org/gerrit/p/scm/manifest%20-b%20tizen%20-m%20ivi.xml>

But, I ended up getting following error:
fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle
fatal: error [Errno -2] Name or service not known

N.B. My firewall(ufw) is disabled and iptables are cleared.

Could you please help me out with these errors??
Thanks in advance.

Regards,
Prathamesh

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Disclaimer~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Information contained and transmitted by this e-mail is confidential and proprietary to iGATE and its affiliates and is intended for use only by the recipient. If you are not the intended recipient, you are hereby notified that any dissemination, distribution, copying or use of this e-mail is strictly prohibited and you are requested to delete this e-mail immediately and notify the originator or mailadmin at igate.com<mailto:mailadmin at igate.com>. iGATE does not enter into any agreement with any party by e-mail. Any views expressed by an individual do not necessarily reflect the view of iGATE. iGATE is not responsible for the consequences of any actions taken on the basis of information provided, through this email. The contents of an attachment to this e-mail may contain software viruses, which could damage your own computer system. While iGATE has taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening an attachment. To know more about iGATE please visit www.igate.com<http://www.igate.com>.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


--
Best regards, Alexander Kanevskiy.
---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


More information about the General mailing list