This project is read-only.

enable pty allocation

Apr 8, 2014 at 2:33 PM
Hi all,

I try to open a ssh connection to a IBM Management Module.
The error on the Server is: "tty name check failed"
If I use plink with -t (enable pty allocation) or putty, everything is working fine.
So my question is: How can I enable the pty allocation with the library?

Apr 10, 2014 at 11:24 AM
Edited Apr 10, 2014 at 11:49 AM
Hello all,

it's me again :-)
On a typicall Linux Client I can use the -t option for connection without tty or pty allocation or to use pseudo allocation.
I found some Links, where the Situation is explained, but unfortunatelly no information inside the Dokumentation how to fix this with (renci.ssh).
Has someone a hint to show me right direction?

To explain the Situation a little bit more:
The connection to the Server is working.
I run these commands:
$ErrorActionPreference = 'SilentlyContinue'
sleep -Seconds 2
$SshClient = New-Object Renci.SshNet.SshClient($ret[11], 22,$ret[8],$ret[9])
#So far so good!!!!
$nicinfo = $SshClient.RunCommand("ifconfig eth0")
$output = $nicinfo.CommandText
$output | Out-File $logfile -Append
$output = $nicinfo.Result
$output | Out-File $logfile -Append
# ERROR in Logfile
The Links: