Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Risolto] Configurare SSH per accesso senza password
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
adamsview2
n00b
n00b


Joined: 14 Feb 2006
Posts: 13

PostPosted: Sun Feb 19, 2006 10:00 pm    Post subject: Reply with quote

...fatto.... e ora? Da dove ricomincio?

ho editato di nuovo sshd_config, togliendo # davanti a

Code:

RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile      .ssh/authorized_keys


ho startato sshd

Poi:

Code:

alessio@alevan ~ $ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/alessio/.ssh/id_rsa):
/home/alessio/.ssh/id_rsa already exists.
Overwrite (y/n)? y
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/alessio/.ssh/id_rsa.
Your public key has been saved in /home/alessio/.ssh/id_rsa.pub.
The key fingerprint is:
c6:a3:62:34:7d:73:96:38:85:68:5f:d1:53:65:06:2b alessio@alevan
alessio@alevan ~ $ cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
alessio@alevan ~ $


ancora mi chiede le password!! sia su alevan che su localhost
_________________
AMD Athlon64 3200+ (Venice 939 with ss3 support), MB MSI K8N Platinum based on nVidia nForce4 SLI, MSI nVidia 6600GT Video Card, HDD SATA
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 Feb 19, 2006 10:07 pm    Post subject: Reply with quote

codadilupo wrote:
siccome questi dubbi li ho anch'io, e sto seguendo con trepidazione questo thread, se qualcuno volesse spiegare i passi, indicando anche cosa effettivamente provocano, gliene sarei di molto grato :roll:


Sono stati linkati un paio di articoli tra cui uno di Robbins che spiegano abbastanza bene i passi da seguire e il signifato di questi :wink:
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
adamsview2
n00b
n00b


Joined: 14 Feb 2006
Posts: 13

PostPosted: Sun Feb 19, 2006 10:39 pm    Post subject: Reply with quote

Ultimo post....PER STASERA!! 8)
Ebbene....ripeto che ho letto gli articoli...e ho fatto quello che dicevano. A parte ssh-agent...lo proverò domani... (ma mi sembra di aver capito che questo serva solo per la frase di decriptazione (che io non ho messo)...e non per la password...o sbaglio??
Poi..... visto che io mi devo connettere dal mio pc...al mio pc..... non dovrebbero essere attivi sia sshd (ok, è attivo) che anche ssh? Cioè..se ho capito un minimo, sshd sta in ascolto sulla macchina A CUI connettersi, nel mio caso alevan...(o localhost???) mentre ssh deve girare sull macchina DA CUI ci si connette. Questo probabilmente avviene prorpio col comando 'ssh user@host'....GIUSTO??? MA allora...se localhost (O ALEVAN????) è l'host di "arrivo".... qual è l'host di "partenza"??????
_________________
AMD Athlon64 3200+ (Venice 939 with ss3 support), MB MSI K8N Platinum based on nVidia nForce4 SLI, MSI nVidia 6600GT Video Card, HDD SATA
Back to top
View user's profile Send private message
codadilupo
Advocate
Advocate


Joined: 05 Aug 2003
Posts: 3135

PostPosted: Sun Feb 19, 2006 10:57 pm    Post subject: Reply with quote

adamsview2 wrote:
Ma allora...se localhost (O ALEVAN????) è l'host di "arrivo".... qual è l'host di "partenza"??????


é sempre alevan. la domanda vera é: localhost, o alevan ? Hai scritto correttamente il file /etc/hosts ?

P.S.: gutter ce l'aveva con me, parlando delle guide ;-)

Coda
Back to top
View user's profile Send private message
neon
l33t
l33t


Joined: 04 Aug 2003
Posts: 759
Location: Catania, Italy, Europe

PostPosted: Sun Feb 19, 2006 11:13 pm    Post subject: Reply with quote

io ai tempi ho seguito questa mini guida di poche righe ed in 3 minuti ero connesso al mio server senza pass:
http://openskills.info/infobox.php?IDbox=893

Capisco che sono le stesse operazioni che ti hanno spiegato per 2 pagine di thread e che ormai ti sarai rotto di ripetere ma:
Quote:
NOTA: Se la password viene ancore richiesta, provare a controllare sul server in /etc/ssh/sshd_config l'opzione "StrictModes": inserire
StrictModes no
e far ripartire il servizio sshd.


good luck ;)
_________________
Io credo che le tecnologie siano moralmente neutrali fino a quando non le utilizziamo - William Gibson

LINEE GUIDA DEL FORUM
Back to top
View user's profile Send private message
adamsview2
n00b
n00b


Joined: 14 Feb 2006
Posts: 13

PostPosted: Mon Feb 20, 2006 10:01 am    Post subject: Reply with quote

Quote:

NOTA: Se la password viene ancore richiesta, provare a controllare sul server in /etc/ssh/sshd_config l'opzione "StrictModes": inserire
StrictModes no
e far ripartire il servizio sshd.



FINALMENTEEEEEEEEEEEEEEEEE!!!!!!!!!!!!!!!!!!!!


GRAZIE MILLEEEEEE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
_________________
AMD Athlon64 3200+ (Venice 939 with ss3 support), MB MSI K8N Platinum based on nVidia nForce4 SLI, MSI nVidia 6600GT Video Card, HDD SATA
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


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

PostPosted: Mon Feb 20, 2006 11:58 am    Post subject: Reply with quote

codadilupo wrote:

P.S.: gutter ce l'aveva con me, parlando delle guide ;-)


Confermo :D
_________________
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
Goto page Previous  1, 2
Page 2 of 2

 
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