Hi everyone,
I apologize, as this may be more of a MacOS question than an OpenBSD
one...
We are using authpf for authenticating remote users. Works great, and
I haven't had any trouble at all writing frontends for Windows clients--
I just use AutoIt to hide all of the details of opening up an SSH
session in PuTTY and establishing a tunnel to the gateway.
The problem is, I can't seem to replicate the same functionality in
the MacOS. If, for instance, I try to wrap up an SSH session in an
AppleScript, I get the error "Psuedo-terminal will not be allocated
because stdin is not a terminal." I understand why this happens but I
can't think of a way to fix it. Searching the web for instances of this
error give me pointers to use the -T switch for ssh ("Disable pseudo-tty
allocation."), which solves the error, but appears to cause ssh to
connect only momentarily and then disconnect. Obviously, in order to
get something useful out of authpf, I need that connection to stick
around for awhile.
It may be easier (for me) just to suck it up and have my Mac users
open up a Terminal window and type in 'ssh foo', but being graphic
designers, most of these people are deathly afraid of computers.
Dan
- authpf shell at startup Daniel Barowy
-