Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO] Login RemotoSsh: server refused to allocate Pty
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Shaden
n00b
n00b


Joined: 08 Jan 2005
Posts: 63
Location: Rome

PostPosted: Sun Mar 27, 2005 12:26 pm    Post subject: [RISOLTO] Login RemotoSsh: server refused to allocate Pty Reply with quote

Salve Splendidi! :wink:

sto finendo di installare Gentoo su un secondo pc.
Visto che sto seguendo l'handbook dal pc (dal quale vi scrivo) ho pensato bene di collegarmi in remoto con SSH per dirigere comodamente i lavori di installazione sull'altro pc.

Il primo giorno riuscivo tranquillamente a connettermi. Nei giorni successivi invece nada.
Credo che dopo la compilazione del Kernel sono iniziati i rifiuti del secondo pc di accettare login da remoto.

Ecco cio' che vedo quando tento di connettermi:
Code:

Login as: root
Password:

Server refused to allocate pty


Ho trovato un paio di post sul forum che parlavano del mio problema. Ma sinceramente non ho capito a cosa imputavano "il rifiuto" :oops:

Grazie e BUONA PASQUA a TUTTI ! :D
_________________
~< Viaggiare non solo allarga la mente.... le dà forma. >~


Last edited by Shaden on Sun Mar 27, 2005 3:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Sun Mar 27, 2005 1:04 pm    Post subject: Re: Login Remoto con Ssh: server refused to allocate Pty Reply with quote

per caso hai installato subito udev? o hai toccacciato qualcosa in /etc/pam.d o in /etc/security ?
Back to top
View user's profile Send private message
Shaden
n00b
n00b


Joined: 08 Jan 2005
Posts: 63
Location: Rome

PostPosted: Sun Mar 27, 2005 1:38 pm    Post subject: Re: Login Remoto con Ssh: server refused to allocate Pty Reply with quote

k.gothmog wrote:
per caso hai installato subito udev? o hai toccacciato qualcosa in /etc/pam.d o in /etc/security ?


Mmm... non mi pare di aver toccato nulla di ciò.

Però noto che sul "server" esce un riferimento a pam. In particolare:

Code:

sshd(pam_unix)[11497]: session opened for users root by (uid=0)


:roll:
_________________
~< Viaggiare non solo allarga la mente.... le dà forma. >~
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Sun Mar 27, 2005 2:07 pm    Post subject: Reply with quote

Controlla che nel kernel siano abilitate queste voci:

Code:
CONFIG_UNIX98_PTYS=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256

_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
Shaden
n00b
n00b


Joined: 08 Jan 2005
Posts: 63
Location: Rome

PostPosted: Sun Mar 27, 2005 2:38 pm    Post subject: Reply with quote

gutter wrote:
Controlla che nel kernel siano abilitate queste voci:

Code:
CONFIG_UNIX98_PTYS=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256


Nel file .config risultano settato così come le riporti.

Grazie a tutti per l'aiuto!
_________________
~< Viaggiare non solo allarga la mente.... le dà forma. >~
Back to top
View user's profile Send private message
Shaden
n00b
n00b


Joined: 08 Jan 2005
Posts: 63
Location: Rome

PostPosted: Sun Mar 27, 2005 3:00 pm    Post subject: Reply with quote

Che strano....
ora funziona!

Credo di aver problemi con "GenKernel".

Ora ho compilato "a mano" il kernel e tutto funziona. Boh...

Per ora metto RISOLTO ...
...ma non escludo che ci si senta presto! 8O
_________________
~< Viaggiare non solo allarga la mente.... le dà forma. >~
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Sun Mar 27, 2005 3:05 pm    Post subject: Reply with quote

Shaden wrote:

Credo di aver problemi con "GenKernel".


Hai confrontato i due config per vedere le differenze?

Almeno scopriamo il motivo ;)
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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