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

Is it able for DPgen to Connect to Internal Servers via Double SSH Jump? #1697

Open
KaiservonAfrika opened this issue Dec 24, 2024 · 0 comments

Comments

@KaiservonAfrika
Copy link

Discussed in #1696

Originally posted by KaiservonAfrika December 24, 2024
Summary
I've encountered a situation where I need to connect to an internal server that can only be accessible via a double SSH jump (i.e., I first SSH into an intermediate server, and then SSH into the target internal server from there).

The intermediate server is the login server in our university, thus running DPgen directly on it is forbidden. The target server is not in any queue system, I have to use local batch on it.

After reviewing the documentation and experimenting with the configuration options, I couldn't find a way to set up the software to handle this type of connection. I tried to add "execute_command":"ssh -i id_rsa user@ip" which works on the intermediate server, to remote_profile section in machine.json, but this does not work. I was wondering if this functionality is supported in the current version of the software, or if it's planned for a future release.

If this functionality is indeed supported, could you please provide some guidance or examples on how to configure the software to connect to an internal server via a double SSH jump? Thank you very much.

DP-GEN Version
dpgen ==0.13.0

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

1 participant