Coder Social home page Coder Social logo

cursoudemy's Introduction

npm install --save sweetalert ng g s services/usuario/usuario npm install angular-2-local-storage

  • crear componentes en el app.module ng g c components/mapa --module=app.module --spec=false

Hola, Bienvenido

Solucion

ERROR en la conexión de git LOCAL con git REMOTO (bitBucket)

Cuando se intenta hacer un push a un repositorio, previo la creacion de

  1. $ git remote add origin [email protected]:leone2015/ecommerce-frontend.git

  2. $ git push -u origin master se puede visualizar este error

$ git push -u origin master Warning: Permanently added the RSA host key for IP address '2406:da00:ff00::22c3 :9b0a' to the list of known hosts. Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

Paso 1. crear una clave, ingresar en el shell del proyecto y digitar

$ ssh-keygen -t rsa -b 4096 -C "[email protected]"

ó

$ ssh-keygen more info

esto creará dos archivos dentro del proyecto o del directorio que se abrio el shell

Paso 2. abrir cualquiera de los dos archivos preados (.pub) y publicarlos en bitBucket

1. From Bitbucket, choose Bitbucket settings from your avatar in the lower left.The Account 
   settings page opens.  Click SSH keys.
   If you've already added keys, you'll see them on this page.
2. Open your .ssh/id_rsa.pub file (or whatever you named the public key file) and copy its contents.
   You may see an email address on the last line. It doesn't matter whether or not you include the email address.
   From Bitbucket, click Add key.
3. Enter a Label for your new key, for example, Default public key.
   Paste the copied public key into the SSH Key field.

Paso 3. regresar al shell y digitar

$ ssh -T [email protected]

puede salir el siguiente mensaje:

  You can use git or hg to connect to Bitbucket. Shell access is disabled.

ó

  Permission denied (publickey)

Paso 4. Permission denied (publickey) more info

  • Copiar los archivos generados en mi caso se generaron ( leo, leo.pub) en el directorio C:\usuario\NOMBRE-USUARIO-ORDENADOR.ssh\
  • digitar el siguiente código $ ssh-add ~/.ssh/leo
  • esto solicitará la clave que se ingresó cuando se generó en el en el Paso 1.
  • Digitar $ ssh -T [email protected]

EL RESULTADO DEBE SER EL SIGUIENTE

logged in as leone2015.
You can use git or hg to connect to Bitbucket. Shell access is disabled.

Datos importantes

Use the btoa() function to encode:

    console.log(btoa("password")); 
    // cGFzc3dvcmQ= 

To decode, you can use the atob() function:

    console.log(atob("cGFzc3dvcmQ=")); 
    // password

cursoudemy's People

Contributors

leone2015 avatar leone2016 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.