Skip to content

Fix #171 #262

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

Merged
merged 2 commits into from
Jan 11, 2016
Merged

Fix #171 #262

merged 2 commits into from
Jan 11, 2016

Conversation

QuentinPerez
Copy link
Contributor

fix #171

@@ -66,6 +66,10 @@ func RunExec(ctx CommandContext, args ExecArgs) error {
}
}

if server.PublicAddress.IP == "" && gateway == "" {
log.Warn("Your host hasn't gateway or public ip")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your host has no public IP address, you should use '--gateway', see 'scw help exec'.

@QuentinPerez
Copy link
Contributor Author

Done :)

@moul
Copy link
Contributor

moul commented Jan 11, 2016

LGTM

moul added a commit that referenced this pull request Jan 11, 2016
@moul moul merged commit cc6907e into scaleway:master Jan 11, 2016
@moul moul removed the in progress label Jan 11, 2016
clement-gilbert pushed a commit to clement-gilbert/scaleway-cli that referenced this pull request Mar 3, 2022
* feat: add ssh key data source
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

Successfully merging this pull request may close these issues.

Add a warn message when using ssh exec on host without public ip nor gateway
2 participants