-
Notifications
You must be signed in to change notification settings - Fork 152
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
Exec should work even on servers without public IP #70
Comments
👍 for option 2 |
also 👍 for option 2 |
👍 for option 2 |
@shouze, can you try again ? We need to add some minor fixes, but you should be able to use it right now |
@moul it works like a charm! Just a design feedback: the -g option value should be a server hash reference imho. Why? If we accept an IPv4 value we pretty kill the beauty of the thing. Moreover, we can't pass a public IP of a gateway outside of Scaleway network so a reference is to me a definitive way to not have to manage this problem. The reference hash need to be resolved the same way the hash of the endpoint machine is resolved of course. |
yes 👍 |
@shouze, can you try again with: |
@moul works like a charm! |
Those options are now available in the release v1.3.0 version |
Add documentation about volumes usage
PAIN POINT
ATM we can't
scw exec
on some machine with no public IP attached.DIAGNOSTIC
exec
CMD looks to rely on a call to utils.SSHExec.So... we could use some ssh tunneling to keep it working under this kind of circumstances.
PROPOSALS
Whatever the solution,
exec
can have an option-g, --gateway=SERVER
. Also, a generalexec_gateway
config parameter could be set to avoid passing this parameter at each exec call.The text was updated successfully, but these errors were encountered: