Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.