Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

Why does the following not work from one ubuntu machine to anohter

ssh  user@host mutt

(it just sits there doing nothing)

Whereas the following is fine

ssh  user@host ls 
share|improve this question
up vote 6 down vote accepted

Try using the -t option to ssh, to force it to allocate a pseudo-terminal. For more information, see section of SSH: The definitive guide.

share|improve this answer
@coneslayer - I had seen the pseudo-terminal but didnt understand what it really did. This does the trick for me – justintime Apr 15 '10 at 22:46
That -t option is awesome -- thanks so much! – Coderer May 28 '10 at 20:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .