/dev/tty keeps changing permissions..?

Matthew D. Fuller fullermd at over-yonder.net
Mon Jun 9 11:45:25 PDT 2003


On Mon, Jun 09, 2003 at 09:41:01AM -0700 I heard the voice of
Thomas Park, and lo! it spake thus:
> 
> Interesting.  I have access to several FreeBSD 4.6 STABLE boxes, and
> /dev/tty on each of them looks thusly:

4.x doesn't have devfs, so /dev is static.  It's just internally (in the
kernel) that /dev/tty becomes 'dynamic' pointing to the current tty.  In
5.x with devfs, it shows through in /dev.


> I'm pretty sure the ssh problem is with /dev/tty - I've scoured quite a
> few message boards and newsgroups looking for a solution to the SSH
> problem.  The symptom:a user who doesn't currently own /dev/tty attempts
> to open an outbound SSH session and gets a permission denied error with
> an error message along the lines of "Host key verification failed."  SCP
> likewise doesn't work.

Don't say, show    :)

Try `ssh -vvv` to be really verbose about it.



-- 
Matthew Fuller     (MF4839)   |  fullermd at over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

"The only reason I'm burning my candle at both ends, is because I
      haven't figured out how to light the middle yet"


More information about the freebsd-questions mailing list