Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-04-2004, 03:54 PM   #1
Registered: Sep 2004
Distribution: Ubuntu
Posts: 109

Rep: Reputation: 15
sshd problem: notty

Hello friends.

I've just turned on sshd on a new slack 10.0 install on machine
target. When I try to ssh from machine source to machine target, ssh
asks me for the user's password and then gets lost. It won't respond
to ctrl-c, but will die if I kill -TERM.

Meanwhile, on machine target, if I ps -ef, I now get an entry saying:
sshd: gypsy@notty (where gypsy is the username on machine target that
I tried to ssh to).

Any idea why I don't get a tty? I turned off iptables on machine
target and it didn't help. I can ssh the other way (from target to
source) so the connection is definitely alive. I can't believe this
has anything to do with it, but machine target doesn't have a keyboard.


Old 09-04-2004, 04:20 PM   #2
Registered: Sep 2004
Distribution: Ubuntu
Posts: 109

Original Poster
Rep: Reputation: 15
The solution is here if you have a 2.6 kernel:

> Hi
> <quote>
> devfs.
> ~~~~~~
> - devfs was somewhat stripped down and a lot of duplicate functionality
> was removed. You now need to enable CONFIG_DEVPTS_FS=y and mount
> the devpts filesystem in the same manner you would if you were not
> using devfs.
> </quote>
> See:
> In other words, put a line like this one in /etc/fstab:
> none /dev/pts devpts mode=620 0 0
> HTH,
> Viktor


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
SSHd connection problem akumar_net Linux - Enterprise 1 03-03-2005 06:46 AM
Cygwin SSHD problem drigz Linux - Networking 1 09-28-2004 04:28 PM
sshd problem !!! har5ha Linux - Software 4 08-19-2004 07:16 PM
Suse 9.0 SSHD problem, please help. suseman Linux - General 1 02-23-2004 08:31 AM
Enabling SSH in mandrake 9.2 - sshd vs. sshd-xinetd DogTags Linux - Newbie 7 11-25-2003 12:17 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:16 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration