Strona 2 z 2

: 06 lipca 2009, 19:57
autor: Cyphermen
nie mam pojęcia co jest więc nie tak.

: 06 lipca 2009, 20:15
autor: thalcave
Nie nazywaj tegopliku authorized_keys tylko authorized_keys2 i ustaw prawa dostępu na 600

: 06 lipca 2009, 20:16
autor: mariaczi
Ponawiam pytanie, czy poprawnie masz skonfigurowanego demona do pracy z kluczami?
Pokaz plik konfiguracji.

: 06 lipca 2009, 21:02
autor: dacula
ssh_config

Kod: Zaznacz cały

# This is the ssh client system-wide configuration file.  See
# ssh_config(5) for more information.  This file provides defaults for
# users, and the values can be changed in per-user configuration files
# or on the command line.

# Configuration data is parsed as follows:
#  1. command line options
#  2. user-specific file
#  3. system-wide file
# Any configuration value is only changed the first time it is set.
# Thus, host-specific definitions should be at the beginning of the
# configuration file, and defaults at the end.

# Site-wide defaults for some commonly used options.  For a comprehensive
# list of available options, their meanings and defaults, please see the
# ssh_config(5) man page.

Host *
#   ForwardAgent no
#   ForwardX11 no
#   ForwardX11Trusted yes
#   RhostsRSAAuthentication no
#   RSAAuthentication yes
#   PasswordAuthentication yes
#   HostbasedAuthentication no
#   BatchMode no
#   CheckHostIP yes
#   AddressFamily any
#   ConnectTimeout 0
#   StrictHostKeyChecking ask
#   IdentityFile ~/.ssh/identity
#   IdentityFile ~/.ssh/id_rsa
#   IdentityFile ~/.ssh/id_dsa
#   Port 22
#   Protocol 2,1
#   Cipher 3des
#   Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
#   EscapeChar ~
   Tunnel yes
#   TunnelDevice any:any
#   PermitLocalCommand no
    ServerAliveInterval 30
    SendEnv LANG LC_*
    HashKnownHosts yes
    GSSAPIAuthentication yes
    GSSAPIDelegateCredentials no
    IdentityFile ~/.ssh/identity
    IdentityFile ~/.ssh/id_dsa
    IdentityFile ~/.ssh/id_rsa
    IdentityFile /etc/ssh_keys/id_dsa_apache
    IdentityFile /etc/ssh_keys/identity_apache

: 07 lipca 2009, 08:46
autor: mariaczi
dacula pisze:ssh_config

Kod: Zaznacz cały

# This is the ssh client system-wide configuration file.
Jak widzisz, ten plik konfiguracji odnosi sie do klienta. Mnie rozchodzi sie o plik konfiguracji demona, czyli /etc/ssh/sshd_config i to z maszyny do ktorej sie probujesz podlaczac.

: 08 lipca 2009, 17:28
autor: Cyphermen
Z ciekawości, czy problem został rozwiązany, gdyż ciekawi mnie ten przypadek?