Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] [SSH] Użycie klucza wygenerowanego przez PuTTY
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
Odinist
Apprentice
Apprentice


Joined: 09 Aug 2006
Posts: 175
Location: Silesia, Poland

PostPosted: Sun Oct 15, 2006 3:08 pm    Post subject: [SOLVED] [SSH] Użycie klucza wygenerowanego przez PuTTY Reply with quote

Witam!
Chcę użyć prywatnego klucza aby dostać się do pewnego serwera. Ustawiłem plikowi odpowiednie uprawnienia ale i tak nie chce przejść. W PuTTY nie pyta o hasło a z ssh tak:
Code:
$ ssh -C -D 1080 -i ~/.klucz.ppk -l XXX -p 22 XXX
Enter passphrase for key '/home/bartek/klucz.ppk':


Ktoś może wie jak to naprawić?


Last edited by Odinist on Sun Oct 15, 2006 10:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
Raku
Bodhisattva
Bodhisattva


Joined: 28 Feb 2004
Posts: 2375
Location: Poland

PostPosted: Sun Oct 15, 2006 3:47 pm    Post subject: Reply with quote

masz klucz prywatny zabezpieczony hasłem. Możesz:
a) zdjąć hasło z klucza (nie zalecam)
b) podawać hasło do klucza za każdym razem gdy z niego korzystasz
c) użyc ssh-agenta (wtedy wystarczy na początku "otworzyć" klucz poleceniem ssh-add i do końca sesji można korzystać z klucza bez koneiczności podawania hasła).
_________________
raku

Powered by Archlinux ;-)
Back to top
View user's profile Send private message
Odinist
Apprentice
Apprentice


Joined: 09 Aug 2006
Posts: 175
Location: Silesia, Poland

PostPosted: Sun Oct 15, 2006 4:35 pm    Post subject: Reply with quote

Problem w tym, że ten klucz na 100% nie zabezpieczałem hasłem. Nawet PuTTY się nie pyta o hasełko.
Back to top
View user's profile Send private message
wuja
Guru
Guru


Joined: 16 Jan 2005
Posts: 323
Location: Szczecin

PostPosted: Sun Oct 15, 2006 4:57 pm    Post subject: Reply with quote

Sprawdź ssh_config i sshd_config na kliencie i na serwerze. Zobacz czy: RSAAuthentication i PasswordAuthentication mają te same wartości
_________________
Pozdrowienia
Wojtek
www.wojciechgracz.pl
Back to top
View user's profile Send private message
Odinist
Apprentice
Apprentice


Joined: 09 Aug 2006
Posts: 175
Location: Silesia, Poland

PostPosted: Sun Oct 15, 2006 9:46 pm    Post subject: Reply with quote

Podpiąłem się przez PuTTY i dodałem klucz z ssh-keygen :)
BTW. Znacie jakieś graficzne/ncursowe narzędzie do przesyłania plików przez sftp?
Back to top
View user's profile Send private message
no4b
Bodhisattva
Bodhisattva


Joined: 18 Jan 2004
Posts: 773
Location: Tarnów, Poland

PostPosted: Sun Oct 15, 2006 9:53 pm    Post subject: Reply with quote

A może chodziło o różnicę kodowania końca linii?

Quote:
BTW. Znacie jakieś graficzne/ncursowe narzędzie do przesyłania plików przez sftp?


mc
_________________
GTK2/GNOME - The weakest link!
Back to top
View user's profile Send private message
argasek
Bodhisattva
Bodhisattva


Joined: 06 May 2004
Posts: 1120
Location: Sol [0,0], Poland, Kraków

PostPosted: Mon Oct 16, 2006 2:13 pm    Post subject: Reply with quote

-Nile- wrote:
Podpiąłem się przez PuTTY i dodałem klucz z ssh-keygen :)
BTW. Znacie jakieś graficzne/ncursowe narzędzie do przesyłania plików przez sftp?

Zarówno Gnome jak i KDE mają wbudowaną obsługę tego protokołu. Piszesz po prostu w Konqueror sftp://adres.serwera.tls/ i gotowe :)
_________________
RLU #137109 | BYKOM STOP! | Chcesz do mnie napisać? | jog
"Mam plany gotowe i wszystko, no i wiesz, idę do tego, no, mebloroba..." (Raaf) :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) 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