in reply to ' Inappropriate ioctl for device ' on read from SSH over open2() handle

Just as a possible way to work around this, you could give the remote user sudo permissions without requiring a password for certain commands, which will probably fix the requirement for a tty, or you could give the remote user higher level access but restrict the login shell to do only what you want to do. See the sshd and sudoers documentation on your system.

  • Comment on Re: ' Inappropriate ioctl for device ' on read from SSH over open2() handle