-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
Name or service not knownname <hostname> #27
Comments
I'm not familiar with zsh but sshto has this shebang: |
no, I don't use any "fancy way" to run your script. just 'sshto' |
https://habr.com/ru/articles/661687/ |
@vaniacer When I pasted your sshto script into shellcheck.net it output about 15 pages of info, suggestions, warnings and errors. Then I told shellcheck to ignore all the info and suggestions by adding the following under the shebang:
That left just 3 errors and 28 warnings. 2 of the warnings relate to $hostname |
It's got Ivan's name at the top of the article: vaniacer 19 апр 2022 в 19:26 |
Yep |
I wonder how many errors/warnings will be in piu-piu ) |
shellcheck.net refused to process it because it's too large. It does the same with one of my scripts that was 2000 lines. |
my ~/.ssh/config looks like this:
after running
sshto
and selecting hostgate
I got error:Name or service not knownname gate
my default shell is zsh. But I run /bin/bash before starting
sshto
. I use Linux Mint 21.2The text was updated successfully, but these errors were encountered: