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



can you check /etc/securetty and see if any of the /dev/ttys are commented out?

On 7/26/07, Orlin Gueorguiev <orlin@xxxxxxxxxxx> wrote:
i would assume u don't have enough virtual terminals to support all your
users.

how many tty-s (normally in /dev) do u have, do u get this error only when u
have to many users?

На 25.7.2007 19:44 Amalarasan Jayaraman пише:
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



Relevant Pages

  • Re: Restricting dtlogin/CDE to the directly-attached graphics console.
    ... > I am stripping a single-application Solaris 9 system to have it only answer ... > on very specific TCP ports for it to accomplish its tasks. ... May allow windows from other systems to display on this one. ... > To prevent the remote hosts from responding to requests to display their ...
    (comp.unix.solaris)
  • Re: No Login prompt at console when running multi user mode.
    ... > to login at the serial console. ... > PS i can login without worries using telnet when in multi user mode so it is ... If you do get a prompt in single user mode, ... type console to get to the Solaris console. ...
    (comp.unix.solaris)
  • Re: scanf behaviour
    ... Solaris defines flushing an input stream only when it can ... Print a prompt for user input ... The point of flushing input is to discard any characters the user ... but with modern systems it is barely possible to define such a function. ...
    (comp.lang.c)
  • Re: Installing Solaris 10 on Ultra 10
    ... I'm having trouble booting an Ultra 10 off of a burned copy of Solaris ... a Stop-A gets you to the ok prompt. ...
    (comp.unix.solaris)
  • Re: [TCPIP V5.6] SFTP ACCVIOs
    ... In fact, I noted the problem this way (to Solaris, ... as I normally do not connect to localhost via SFTP;-) ... not give you a prompt like on VMS. ... entering a cdonly inserts the tab into the command line ...
    (comp.os.vms)