ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

wstool user and password

asked 2015-07-09 11:07:49 -0500

I want to use wstool on private git repos. But for some reasons (shared computer), I have to clone over HTTPS. It is quite annoying to type my username and password everytime I do wstool up. Is there anyway I can type it only once evertyime I want to update repos?


edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2015-07-09 15:58:35 -0500

William gravatar image

You can use the ssh version of the git url in your rosinstall file, for example would become This will use your ssh keys. If you're on a shared computer and can't put your ssh keys on it (which is what you've described) then you can use git-credential cache to "save" your user name and password for a short time:

wstool does not store your password or ask for it on principal to avoid any security concerns. You can also setup a .netrc file, but that's not generally a good idea, especially on a shared computer, since it stores your password in plain text.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-07-09 11:07:49 -0500

Seen: 1,217 times

Last updated: Jul 09 '15