MDB React installation -- need help with SSH


Topic: MDB React installation -- need help with SSH

mattagape pro asked 6 years ago

Gitlab username:   @mattagape
(I had posted a support question earlier today, but hopefully the one here is more clear.)
When I add "mdbreact": "git+https://oauth2:@git.mdbootstrap.com/mdb/react/re-pro.git"  to my package.json  file, I get this error when I run yarn...
error Refusing to download the git repo {"hostname":"git.mdbootstrap.com","protocol":"https:","repository":"https://oauth2:@git.mdbootstrap.com/mdb/react/re-pro.git"} over HTTPS without a commit hash - possible certificate error?
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Could you please tell me how I can connect with my computer with Gitlab using SSH?  I'm not sure how to do that.  I'm having trouble using the instructions you had provided.
I'm not yet able to use MDB React Pro with my app.  The free version does work on my app though.
Thanks so much, Matt

Bartłomiej Malanowski staff pro premium commented 6 years ago

Did you generate the SSH Key and add it to your account?

mattagape pro commented 6 years ago

Yes, I did generate the SSH Key and added it to my account. Do you think I need to set up a Personal Access Token in Gitlab? If so, how could that connect to my computer? When I enter... $ ssh -T git.mdbootstrap.com/mattagape ...I get,... ssh: Could not resolve hostname git.mdbootstrap.com/mattagape: nodename nor servname provided, or not known When I enter... $ gitlab-rake gitlab:check ...I get... -bash: gitlab-rake: command not found I'm not sure how to make the connection. Thanks for any help.

mattagape pro commented 6 years ago

Do you think I should try to a new SSH key pair. If so, should I use the email address at https://git.mdbootstrap.com/profile?

mattagape pro commented 6 years ago

The ssh-rsa.. in my id_rsa.pub file is definitely the same as what I had pasted & added into https://git.mdbootstrap.com/profile/keys

mattagape pro commented 6 years ago

The "email" at the end of my ssh-rsa... is different from the email at https://git.mdbootstrap.com/profile Would that make a difference?

Jakub Mandra staff premium commented 6 years ago

I'm not sure SSH key has to do anything here. You should generate your token and use it as shown here, in tab PRO: https://mdbootstrap.com/react/5-min-quick-start/

mattagape pro commented 6 years ago

That worked! Thanks a lot!

Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.7.1
  • Device: Mac Book Pro
  • Browser: Chrome
  • OS: High Sierra
  • Provided sample code: No
  • Provided link: No