Topic: Setting up Pro Package with SSH key rather than an access token??

Bridget Melvin premium asked 1 year ago

Expected behavior I am trying to hide my access token (used to install mdb-react-ui-kit pro version) from showing up in github via package.json ... Thus, I am trying to set up with SSH so that the repo URL does not require an access token in my package.json ..

Actual behavior I generated a new ed_25519 key to $HOME/.ssh/private/ed_25519 but when verifying if I can connect, I get "failed to add the host to the list of known hosts".. See below the steps I took and the error I received..

ssh-keygen -t ed25519 -f $HOME/.ssh/private/ed_25519
( I did not add a passphrase )
cat ~/.ssh/ | clip
( I paste the clipped contents into a new SSH Key in Gitlab )
ssh-keyscan -H
ssh -T

Error Message on Git Bash enter image description here


  PreferredAuthentications publickey
  IdentityFile ~/.ssh/private/

# Private GitLab instance
  PreferredAuthentications publickey
  IdentityFile ~/.ssh/private/

** Desired Outcome ** I want to be able to have the following line in my package.json .. will this work with Github actions?

"mdb-react-ui-kit": ""

Grzegorz Bujański staff answered 1 year ago

I checked it at myself. Steps I took:

  1. I have created a new folder
  2. I ran npm init and created a basic configuration.
  3. I ran npm i

I had no errors in the console and in node modules I can see that the package has downloaded correctly

Did you just try to execute the command npm i

Please insert min. 20 characters.


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



Specification of the issue

  • ForumUser: Premium
  • Premium support: Yes
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: Surface Laptop Studio
  • Browser: Chrome
  • OS: Windows 11
  • Provided sample code: Yes
  • Provided link: No