Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Server refused to allocate pty
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
sleepingsun
Guru
Guru


Joined: 03 May 2006
Posts: 395
Location: Bosnia

PostPosted: Thu May 12, 2011 9:23 am    Post subject: Server refused to allocate pty Reply with quote

Problem with ssh Server refused to allocate pty i cant connect to put more information to server.
Need help to fix this when i arrive on server place please i need instruction.

Code:
login as: root
Using keyboard-interactive authentication.
Password:
Server refused to allocate pty


Upgrade system and world with new use and also upgrade to kde-meta 4.6.2 and get this problem and doesnt no that ssh doesnt work please how to fix this ?

upgraded virtual ssh and openssh
_________________
Gentoo is Rocks
Back to top
View user's profile Send private message
Takkun
n00b
n00b


Joined: 07 May 2011
Posts: 15

PostPosted: Thu May 12, 2011 8:29 pm    Post subject: Reply with quote

try using -T in ssh on login

ssh -T user@host

if successful, probably a quick fix of:

/sbin/MAKEDEV pty
/sbin/MAKEDEV tty
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Wed May 25, 2011 5:57 pm    Post subject: Reply with quote

which package provides MAKEDEV?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 15967

PostPosted: Thu May 26, 2011 3:14 am    Post subject: Reply with quote

For baselayout-1 users, /sbin/MAKEDEV is provided by =sys-apps/baselayout-1*. I have no baselayout-2 systems on which to check, but those should be pretty common now, so perhaps someone else can answer that side of it.
Back to top
View user's profile Send private message
gentoo_ram
Guru
Guru


Joined: 25 Oct 2007
Posts: 418
Location: San Diego, California USA

PostPosted: Thu May 26, 2011 5:39 am    Post subject: Reply with quote

I wonder if you have devpts filesystem support in the kernel. Issue a 'mount' command. You should have an entry that looks like this:

Code:
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)


If not, then check /proc/filesystems to make sure you have the support:

Code:
gw:~> grep devpts /proc/filesystems
nodev   devpts
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum