Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

New zsher here.

When I do

$ ssh

all is well. But when I create an alias in .zshrc:

alias foo='ssh' and run foo, I get "Could not resolve hostname". Question: how do I begin to figure out what's going on? It all works for me in bash, but that has nothing to do with me knowing what I'm doing!

Update: When I change my alias to alias foo='user@ip_addess_for_foo' it works. A bug, maybe.

share|improve this question
What do you mean by "get my internet"? – poplitea Nov 28 '12 at 22:22
Connect to wifi and make sure I can ping host foo. – eeeeeean Nov 28 '12 at 23:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.