Skip to content
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

Where to issue SSH tunnel command? #59

Open
gezmi opened this issue Sep 21, 2020 · 3 comments
Open

Where to issue SSH tunnel command? #59

gezmi opened this issue Sep 21, 2020 · 3 comments

Comments

@gezmi
Copy link

gezmi commented Sep 21, 2020

Hi,

this seems like a lovely package, but I cannot get it to work. I am trying to connect to a server on a university system which is behind VPN. I hava already connected to the uni's system via a VPN client.
I have started an SSH session on my remote computer, after logging in via SSH. Now, I am trying to connect with ssh tunneling, using the command ssh user@server -L 55556:localhost:55555 -N (changing user and server, of course) in RStudio's terminal. This asks for password and then hangs.
Then, I am issuing remoter::client() command, which hangs indefinitely. I suppose, this is not the wanted behaviour. What am I doing wrong?

Thank you!

@wrathematics
Copy link
Member

Hard to say what may be going on. Just to make sure, is the remote computer running a server when you try to connect with remoter::client()? With your ports, you should have the server listening on port 55555 and the client should be called on the local machine as client(port=55556).

@gezmi
Copy link
Author

gezmi commented Sep 21, 2020

Thank you, I realized I did not set port to 55556. Now it works!

Is there a way to open a project via remoter or to see the files in the file browser in Rstudio?

@wrathematics
Copy link
Member

Integration with rstudio isn't great. It may be possible to do those sorts of things using the rstudioapi package, but I haven't investigated it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants