Puneet solution also worked for me
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
ssh: Could not resolve hostname slack-master: Name or service not
To manage notifications about this bug go to:
ubuntu-bugs mailing list