-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RStudio may not show SSH password prompt on macOS #206
Comments
If I remember correctly, it already asked for a password on the console if no keys are set up. Does it not work? If no, can you describe you setup and what you see? |
Okay, so I think the problem is that ZeroMQ is not installed on the cluster. I talked to the admin and they were not super excited about installing it unfortunately. Are there any resources which explain a bit more why |
ZeroMQ provides that TCP/IP sockets that There is a high chance the library is already installed on your cluster, e.g. as part of any IPython/Jupyter setup. If not, it should be as simple as downloading the release and: # tar -xf ... and change into directory
./configure
make
make install # probably "make DESTDIR=/somewhere/in/your/home/dir install" followed by: # if you find the library installed somewhere you can just add that path here
LD_LIBRARY_PATH=/somewhere/in/your/home/dir/lib R -e "install.packages('clustermq')" I should probably still write this down step-by-step in the docs. Please let me know if this works and if you run into any problems! |
Okay, ZeroMQ should be now installed on the HPC and I can also load the package on the HPC without any errors. But trying to connect from my local R session I get the following errors and the password prompt never shows up. Not sure if that is a problem with my laptop and the SSH though. I did re-install ssh-askpass but that did not help.
I'm on macOS Catalina 10.15.6 |
Please have a look at this and see if it helps: https://mschubert.github.io/clustermq/articles/userguide.html#ssh-1 |
So I also have a .log-file setup in my local . |
My guess is that What is your: echo SSH_ASKPASS # shell Sys.getenv("SSH_ASKPASS") # R and RStudio Does the file Does the |
I tried R and RStudio and both do not work. Here is what the two commands returned.
|
I've updated the SSH troubleshooting page to also test system("ssh -R 54709:localhost:6687 <user@host> R --vanilla") from R so we can see if the SSH connection works that way. Above, |
Okay, so |
I think You could try and fix that, or try unsetting These may also be a solution/workaround: (1) microsoft/vscode#32097, (2) http://it.gerull.nl/blog/2018/ssh-agent-on-mac/ |
@mhesselbarth Did any of the hints help? |
Not really...I was able to reach another cluster that I have access to from the machine. So it's seems to be a problem on the cluster side I think.. |
Here is the debug from
However, a password prompt is never showing up |
Do you have a |
I just checked and yes. It also tried to find some help with that error using google, but can't really figure out what the problem might be |
Okay...So it does work when R is started directly in the Terminal, but not if RStudio/R.app is used. |
Just out of curiosity, I also tried if I can access the HPC directly from RStudio using the |
Possibly related: #280 |
The HPC cluster I'm using does not allow to use a SSH key pair unfortunately. I know that some packages allow an interactive password prompt. Would something also be possible for the
clustermq
package?Thanks a lot for the help!
The text was updated successfully, but these errors were encountered: