Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- putty: force pseudo terminal
December 11, 2008, 2:20 pm
rate this thread
you connect to a host. Does the putty gui also have that? If so can
someone please tell me where to find it? I'm using version 0.60.
Here's why I need it. One of our environments has to be PCI compliant
and shell access to any of the servers within that environment cannot be
direct from my workstation. I have to first connect to a special server
which is the only one allowed to ssh to any of the servers inside the
PCI environment. In linux and cygwin I can run something like this to
accomplish it in one command from my workstation...
ssh -t server1 ssh server2
I'd like to be able to do the same thing with the putty gui. I run
paegeant, cache my private key, and launch shell sessions to various
servers from the pageant tray icon. I can't find any "force pseudo
terminal" in the gui though.
Re: putty: force pseudo terminal
Oops, wasn't reading carefully enough, sorry.
PuTTY (the GUI) nearly always requests a pty by default. I believe the
only circumstances in which it will not are:
1. if the option above (or the equivalent '-T' command-line option) is
2. if the '-m' option (to pass a command from a file) is used;
3. if the 'Don't start a shell or command at all' (or '-N') option is
4. if the '-nc' option is used.
To recap what you're trying to do:
You don't describe what you're doing exactly, but in your case, I think
2 is the only one of these you're remotely likely to be doing. In that
case, specifying the '-t' option on the command-line would force PuTTY
to request a pseudo-terminal. (There is no equivalent in the GUI.)
But if you're just setting the "Remote command" in the PuTTY GUI to
"ssh server2" and running PuTTY, I think it should request a pty from
Another way of doing this sort of thing is described at
(although the '-nc' option is a bit broken in 0.60, so you'd probably
need to use a development snapshot).
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum