Go Back   The UNIX and Linux Forums > Operating Systems > OS X (Apple)
.
google site



OS X (Apple) OS X is a line of Unix-based graphical operating systems developed, marketed, and sold by Apple.

Reply
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-24-2009
Registered User
 

Join Date: Nov 2009
Posts: 1
No terminal (tty) after ssh and telnet also

Hi all,

we are just confused about a strange problem on one server in production (XServer, running OSXS 10.5.6). It works normal for month. Since two day everthing seems to be fine also with one exception.

When we connect trough ssh we won't get a tty session. For testing purposes, we enabled telnet and try to connect from another server behind the firewall to the machine. But no "login" occured.

If you launch something like ssh user@machine "my command" you will get the output as normal.

We don't know the reason. Fact is, no system update oder software update was done since the last weeks and ssh worked properly till Saturday.

I think it's no problem of ssh. It's something behind ssh. But ssh -vvv won't give more information.

So our current workaround is ssh user@server "bash". But this is extremly uncomfortable without concrete ttys. Using this way and e.g. running vi will give the short information:


Code:
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal

So this is also a hint, that ssh works, but something behind doesn't work. We don't find "interesting" things in message logs or so.

Any hints for further analyze?

Do anybody now which service or process will be responsible to return a "tty session" to ssh or telnet?


Frustrated but hopefull

Frank
Sponsored Links
  #2 (permalink)  
Old 11-24-2009
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 6,172
It's probably a pty you are missing. OpenSSH 4.3.2 (I think) had a bug creating pty sessions. In Linux the call is openpty(), in OSX - I do not know.

You may want to enable some more warnings in syslog.conf. The messages you need are probably not showing up.

See:
Mac OS X Manual Page For syslog.conf(5)
  #3 (permalink)  
Old 11-24-2009
Registered User
 

Join Date: Aug 2009
Location: New Jersey
Posts: 98

Code:
ssh -t

Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Gnuplot wxt terminal vs x11 terminal cosmologist UNIX for Dummies Questions & Answers 0 06-27-2009 08:39 AM
Pseudo-terminal will not be allocated because stdin is not a terminal. Shivdatta UNIX for Advanced & Expert Users 1 08-04-2008 11:29 AM
Webpage to Telnet via Perl and Expect: Telnet problem? jondo Shell Programming and Scripting 1 07-22-2008 01:35 AM
connecting to unix through hyper terminal - as a dumb terminal michelle UNIX for Advanced & Expert Users 2 11-05-2001 03:32 PM
Using telnet client from MacOSX's command line terminal tylerl UNIX for Dummies Questions & Answers 2 07-15-2001 11:05 AM



All times are GMT -4. The time now is 07:06 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2010. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0