How to use a credential in the url when the user name is an email? Do you need to escape?

1

For you to make connections via SSH, the credentials are usually used directly in the url so you do not have to set the user and password at all times.

Example:

 ssh://login:[email protected]/repos/repositorio.git

This is exactly what I'm doing to use Bower to manage CSS and javascript dependencies, however I have to use the username and password because the repository is on Bitbucket.

However, we recently created a user that, in order to authenticate, it is necessary to pass the email and the password.

But as far as I know, the @ character is part of the separation between host and credenciais do usuário .

So, if I need to connect a user that contains username like e-emai, how could I do it?

Example, I need to authenticate this user:

 usuário: desenvolvimento@meusite
 senha: 123456
    
asked by anonymous 20.05.2016 / 14:43

0 answers