Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

Re: error: open /dev/tty failed - could not set controlling tty: No such

Subject: Re: error: open /dev/tty failed - could not set controlling tty: No such device or address
Date: Thu, 26 Jul 2007 10:59:33 -0700 (PDT)
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/sy@0:tty
bash-2.03# ls -l /devices/pseudo/sy*
crw-rw-rw-   1 root     tty       22,  0 Jul 25 10:39
/devices/pseudo/sy@0:tty
crw-------   1 root     sys       97,  1 Mar 17 17:06
/devices/pseudo/sysmsg@0:msglog
crw-------   1 root     sys       97,  0 Apr  8 03:10
/devices/pseudo/sysmsg@0: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 <Jim_Horwath@glic.com> 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 <amalarasan@yahoo.com> 
Sent by: listbounce@securityfocus.com
07/25/2007 01:44 PM



To
secureshell@securityfocus.com
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

<Prev in Thread] Current Thread [Next in Thread>