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

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to add a host to ssh_config with a rule that emulates the -t option in the ssh command?

share|improve this question
up vote 2 down vote accepted

Well, I searched the man pages and asked around a bit and it looks like your best option for doing this will be to define an alias for it or make a script. I also looked for some catch all command you can use in ssh_config to specify options that don't have config file equivalents and surprisingly, there isn't one. I downloaded the latest version of openssh and it looks like there isn't even any option for it there. So if its something you really need, I'd submit a bug/feature request over it because it really should be an option since nearly every other option has an config file command for it.

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.