Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO]sshd problema connessione
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
JK_Shark
n00b
n00b


Joined: 10 Apr 2006
Posts: 33
Location: Italy

PostPosted: Mon Apr 10, 2006 8:29 pm    Post subject: [RISOLTO]sshd problema connessione Reply with quote

Ciao a tutti,
ho fatto l'emerge, guardato e impostato opportunamente i file di configurazione
ma non riesco a far funzionare sshd:
se provo a connettermi da un qualsiasi ip della lan mi dà questo errore

Code:
ssh_exchange_identification: Connection closed by remote host


Se provo anche in locale
Code:
ssh localhost


mi da lo stesso errore.

Qualche idea su come risolvere il problema?


Last edited by JK_Shark on Sat Apr 15, 2006 9:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
Deus Ex
Guru
Guru


Joined: 16 Nov 2005
Posts: 489
Location: Patavium

PostPosted: Mon Apr 10, 2006 9:28 pm    Post subject: Reply with quote

Forse questo ti può risultare utile:http://www.gentoo.org/proj/en/infrastructure/config-ssh.xml
_________________
Deus Ex
--
L’inflazione che caccia nelle mani dell’individuo, in un gesto solo, miliardi di marchi, lasciandolo più miserabile di prima, dimostra punto per punto che il denaro è un’allucinazione collettiva.
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


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

PostPosted: Tue Apr 11, 2006 7:32 am    Post subject: Re: sshd problema connessione Reply with quote

i log cosa dicono? la prima cosa da fare è guardare i log
Back to top
View user's profile Send private message
Ilvalle
Guru
Guru


Joined: 07 Mar 2005
Posts: 325
Location: Gallarate - ITALY

PostPosted: Tue Apr 11, 2006 9:46 am    Post subject: Reply with quote

Se non risolvi con il link di @Deus Ex
Prova a postare il file di configurazione.
Code:
cat /etc/ssh/sshd_config


valle
Back to top
View user's profile Send private message
JK_Shark
n00b
n00b


Joined: 10 Apr 2006
Posts: 33
Location: Italy

PostPosted: Fri Apr 14, 2006 8:45 am    Post subject: Reply with quote

Purtroppo, nonostante tutti i consigli non ho ancora risolto.
Il file di configurazione è corretto.

Credo, invece, che il problema sia collegato con il problema che ho a udev....
Ho aperto un nuovo thread al proposito qui:
https://forums.gentoo.org/viewtopic-t-453556.html
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


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

PostPosted: Fri Apr 14, 2006 6:10 pm    Post subject: Re: sshd problema connessione Reply with quote

k.gothmog wrote:
i log cosa dicono? la prima cosa da fare è guardare i log

hai guardato i log? nei log è sempre riportata la causa dell'errore. se non è così aumenta il livello di debug del server SSH
Back to top
View user's profile Send private message
JK_Shark
n00b
n00b


Joined: 10 Apr 2006
Posts: 33
Location: Italy

PostPosted: Sat Apr 15, 2006 8:35 pm    Post subject: Re: sshd problema connessione Reply with quote

k.gothmog wrote:
k.gothmog wrote:
i log cosa dicono? la prima cosa da fare � guardare i log

hai guardato i log? nei log � sempre riportata la causa dell'errore. se non � cos� aumenta il livello di debug del server SSH

Allora ho impostato sul file di configurazione sshd_config il livello di logging massimo
Code:
LogLevel DEBUG3

ma non riesco a trovare il file di log...
Dove dovrebbe stare?
in /var/log non ci sta :evil:
Back to top
View user's profile Send private message
Luca89
Advocate
Advocate


Joined: 27 Apr 2005
Posts: 2107
Location: Agrigento (Italy)

PostPosted: Sat Apr 15, 2006 9:36 pm    Post subject: Reply with quote

Se non erro i messaggi di sshd li gestisce il logger di sistema.
_________________
Running Fast!
Back to top
View user's profile Send private message
JK_Shark
n00b
n00b


Joined: 10 Apr 2006
Posts: 33
Location: Italy

PostPosted: Sat Apr 15, 2006 9:46 pm    Post subject: Reply with quote

Luca89 wrote:
Se non erro i messaggi di sshd li gestisce il logger di sistema.

In effetti ha ragione.
Ho risolto :D
Il problema non era nella configurazione di sshd, ma nel fatto che c'era un problema nel logger di sistema.
Ora funziona tutto :mrgreen:
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