|
|
|
|
google site
|
|||||||
| Forums | Register | Blog | Man Pages | Forum Rules | Links | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| OS X (Apple) OS X is a line of Unix-based graphical operating systems developed, marketed, and sold by Apple. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|||
|
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 | ||
|
|
|
|||
|
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) |
|
|||
|
Code:
ssh -t |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
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 |