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 ssh.net (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:
http://stackoverflow.com/questions/10330678/gitolite-pty-allocation-request-failed-on-channel-0/10346575#10346575
http://lugatgt.org/2009/10/28/ssh-tips-and-tricks-2/
http://stackoverflow.com/questions/17900760/what-is-pseudo-tty-allocation-ssh-and-github
Regards,
Stefan
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 ssh.net (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'
$SshClient.Disconnect()
$SshClient.Dispose()
sleep -Seconds 2
$SshClient = New-Object Renci.SshNet.SshClient($ret[11], 22,$ret[8],$ret[9])
$SshClient.Connect()
#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:http://stackoverflow.com/questions/10330678/gitolite-pty-allocation-request-failed-on-channel-0/10346575#10346575
http://lugatgt.org/2009/10/28/ssh-tips-and-tricks-2/
http://stackoverflow.com/questions/17900760/what-is-pseudo-tty-allocation-ssh-and-github
Regards,
Stefan