LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 10-15-2012, 07:16 AM   #1
HotPizzaBox
LQ Newbie
 
Registered: Oct 2012
Posts: 4

Rep: Reputation: Disabled
dropbear - pty


Hi there

I crated a Linux from scratch. Then I tried to install the dropbear ssh server.

This are my building steps:
Code:
extract dropbear-2012.55.tar.bz2
cd dropbear-2012.55

CC="${CC} -Os" ./configure --prefix=/usr --host=${CLFS_TARGET} --with-zlib=${CLFS}/usr

make dropbear dropbearkey scp
I copied them to /usr/bin. The server starts successfully but I can't connect to it. It always says:
Code:
[721] Jan 01 00:02:44 Password auth succeeded for 'user' from 192.168.1.40:49738
[721] Jan 01 00:02:44 Failed to open any /dev/pty?? devices
[721] Jan 01 00:02:44 No pty was allocated, couldn't execute
[721] Jan 01 00:02:44 Exit (user): Exited normally
What am I missing? I created those dev entries

sudo mknod -m 666 ptmx c 5 2
sudo mknod -m 666 tty c 5 0

my rcS contains this

# Create pts folder
if [ ! -d /dev/pts ]; then
mkdir -m 0755 /dev/pts
fi

# Create shm folder
if [ ! -d /dev/shm ]; then
mkdir -m 0755 /dev/shm
fi

and fstab mounts:
/dev/mmcblk0p2 / ext2 defaults 0 0
proc /proc proc defaults 0 0
devpts /dev/pts devpts defaults 0 0
sysfs /sys sysfs defaults 0 0
 
  


Reply



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
Vpn poptop - CTRL: PTY read or GRE write failed (pty,gre)=(5,6) dezeque Linux - Networking 9 08-26-2016 10:39 AM
dropbear ajink Linux - Newbie 8 05-17-2010 01:04 PM
Busybox and dropbear related problem linuxwang Linux - Newbie 3 02-02-2010 11:20 PM
dropbear ssh with floppyfw rocordial Linux - Networking 1 07-04-2004 08:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:41 AM.

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