Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

rstudio push 'rpostback-askpass' error

From CLI, I can push/pull to git. However, from Rsudio, I'm only able to pull but not to push. I have opened my firewall for ssh/https ports but I'm still getting the following error when trying to push:

error: unable to read askpass response from 'rpostback-askpass'
fatal: could not read Username for 'https://github.com': No such device or address

Rstudio Version 0.99.484.

like image 847
Antex Avatar asked Sep 21 '15 16:09

Antex


1 Answers

The problem is in the latest https authentication in RStudio. (As explained in this post)

The solution is to switch the repository URL from https to ssh by editing the repository's config in your project: .git/config

Then, don't forget to setup public keys on github (Your Profile->Settings->SSH Keys as explained here)

like image 182
Viliam Simko Avatar answered Sep 22 '22 05:09

Viliam Simko