Hi James,

  thanks for the reply. I checked the permissions and
they look ok.

bash-2.03# ls -l /dev/tty
lrwxrwxrwx   1 root     other         26 Jul 13  2004
/dev/tty -> ../devices/pseudo/[EMAIL PROTECTED]:tty
bash-2.03# ls -l /devices/pseudo/sy*
crw-rw-rw-   1 root     tty       22,  0 Jul 25 10:39
/devices/pseudo/[EMAIL PROTECTED]:tty
crw-------   1 root     sys       97,  1 Mar 17 17:06
/devices/pseudo/[EMAIL PROTECTED]:msglog
crw-------   1 root     sys       97,  0 Apr  8 03:10
/devices/pseudo/[EMAIL PROTECTED]:sysmsg


The problem that I mentioned occured rarely earlier,
but now it is quite frequent. But most of the times
users are able to ssh.

If this a permission issue, it should never work, but
that is not the case here.

Will there be any problem with file descriptors
limit?.

Thanks
Amal

--- James B Horwath <[EMAIL PROTECTED]> wrote:

> Check permission's on the /dev/tty device.  It
> should be 666, owned by 
> root, group root or system depending on your flavor
> of Unix. If the device 
> is gone, you will need to recreate the device via
> mknod.
> YMMV
> 
> Jim
> 
> 
> 
> 
> Amalarasan Jayaraman <[EMAIL PROTECTED]> 
> Sent by: [EMAIL PROTECTED]
> 07/25/2007 01:44 PM
> 
> 
> 
> To
> [email protected]
> cc
> 
> Subject
> error: open /dev/tty failed - could not set
> controlling tty: No such 
> device or address
> 
> 
> 
> 
> 
> 
> Hi
> 
>   I am using OpenSSH_4.5p1, OpenSSL 0.9.8d 28 Sep
> 2006
> on solaris 8 sparc Generic_117350-44.
> 
>   Very frequently I see this error message in
> /var/adm/messages file
> 
> error: open /dev/tty failed - could not set
> controlling tty: No such device or address
> 
>   Also users are getting this error when then try to
> ssh to remote hosts from this host
> 
> ssh -l username -L 1080:localhost:1080 -L
> 8080:localhost:8080 -L 8888:localhost:8888
> remotehost
> Permission denied, please try again.
> Permission denied, please try again.
> Permission denied (publickey,password). 
> 
> It doesn't prompt for password, instead it just
> throws
> this error and returns to the prompt.
> 
> Any clues on this problem?.
> 
> Thanks
> Amal
> 
> 
>  
>
____________________________________________________________________________________
> Get the Yahoo! toolbar and be alerted to new email
> wherever you're 
> surfing.
>
http://new.toolbar.yahoo.com/toolbar/features/mail/index.php
> 
> 
> 
> -----------------------------------------
> This message, and any attachments to it, may contain
> information
> that is privileged, confidential, and exempt from
> disclosure under
> applicable law.  If the reader of this message is
> not the intended
> recipient, you are notified that any use,
> dissemination,
> distribution, copying, or communication of this
> message is strictly
> prohibited.  If you have received this message in
> error, please
> notify the sender immediately by return e-mail and
> delete the
> message and any attachments.  Thank you.



      
____________________________________________________________________________________
Luggage? GPS? Comic books? 
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz

Reply via email to