Hello!
I'm trying to use openssh to control remote apllication. I'm starting
openssh from my
program and taking over stdin/stdout to send commands and check results.
The problem is that remote application requires pseudo-tty.
If I connect from shell by
ssh -t user@host command
It works.
If I will do
ssh -T user@host command
the application crashes.
But if I issue
ssh -t user@host command
from within my program, I get the message:
Pseudo-terminal will not be allocated because stdin is not a terminal.
and application crashes.
If I issue
ssh -tt user@host command
I'm getting message:
tcgetattr: No such device
and command isn't started at all.
SFTP using a single use key. ... Okay, first off, we are using the SSH Communications...scp of a specific file from the source to the destination (i.e. ... so what I need is the format that the scp command is ... with OpenSSH, but can't get the details down on this one. ... (comp.security.ssh)
Re: Really need help on this one ... Is there a way to read the output of a particular command into ... Heres a better example using ssh....set timeout $timeout...exec kill -9 $pid ... (comp.lang.tcl)
RE: midnight commander and ssh sftp ... midnight commander and ssh sftp... which is displayed at the bottom of the MC panel.... "Left file command options right" at the top of the MC ... MC SSH session with the remote host by hitting F10 key. ... (freebsd-questions)
Re: [Info-ingres] problems with ssh ... Check the SSHD log on the server for errors. ... ancient version of SSH, unfortunately. ... the command seems to have functioned - but just wont terminate and leaves a process hanging around. ...Duckman: You got anymore of those glues? ... (comp.databases.ingres)
Scripts using SSH and SSH_ASKPASS ... To test SSH scripts you better destroy the control TTY. ... The trick is to run YOUR script on YOUR local ... As for the password relaying command: this needs not be an X command. ... # we read one line from a temporary pipe.... (comp.security.ssh)