How to use a credential in the url when the user’s name is an email? Is it necessary to escape?

Asked

Viewed 425 times

1

For you to make connections via SSH, usually use credentials directly in the url not be necessary to set the user and password all the time.

Example:

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

That’s exactly what I’m doing to utilize the Bower to manage CSS and javascript dependencies, but I have to use the user and password, because the repository is in Bitbucket.

However, we recently created a user who, in order to authenticate, is required to pass the email and 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 the username how the e-emai, how could I do?

Example, I need to authenticate this user:

 usuário: desenvolvimento@meusite
 senha: 123456
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.