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

On Linux the ssh command has a -t option whose man page reads:

Force pseudo-tty allocation. This can be used to execute arbitrary screen-based programs on a remote machine, which can be very useful, e.g. when implementing menu services. Multiple -t options force tty allocate, even if ssh has no local tty.

I would like to use this same option with PuTTY on Windows. In particular, I can see that PuTTY has a bunch of options under:

Category -> Connection -> SSH -> TTY

and suspect it might be possible to achieve the same behavior via some of the (NUMEROUS!) settings found on this screen. Anyone know how to configure the following command:

ssh -t USER,PROJECT@shell.sourceforge.net create

Thanks!

share|improve this question
    
Hi, did you find any solution to this? I too want to use -t so I can set a custom bash prompt without changing anything on the server side. – w00t Sep 29 '15 at 9:35
    
-t putty equivalent* – w00t Sep 29 '15 at 9:41

I don't think there would be any point for this option in PuTTY.

Normally, ssh on UNIX creates a TTY on the server side if and only if there is a TTY on the client side. Since you may use ssh both in a terminal, or from a script (where there's no terminal attached), this option makes sense on UNIX. But PuTTY only works with a terminal, so there's no point in forcing the TTY allocation on the server side, as it should always happen even without forcing.

share|improve this answer
    
Interesting answer. However this flag is necessary to access a shell on sourceforge it seems. So, there must be an option. – John Sonderson Nov 12 '13 at 15:33

You must log in to answer this question.

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