Hi,
also so siehts auf meinem Client aus bzgl des Ortes und des Inhalts des Public Keys.
Code:
mathias@mini:~$ ls -l .ssh
total 12
-rw------- 1 mathias mathias 1743 2010-03-19 09:42 id_rsa
-rw-r--r-- 1 mathias mathias 394 2010-03-19 09:42 id_rsa.pub
-rw-r--r-- 1 mathias mathias 1768 2010-03-19 11:42 known_hosts
mathias@mini:~$ cat .ssh/id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAssGjYzETS+7sBOFjz+WMys7iZ46m8ojVMWaSTTBWaCo0CQXu3lwzXWhJNH1s4/WMyV2RGanAuEC3wUrxVxeZthtVcRG6njgUARO2p0qen5tzkJHLEoab4mEq3jptOMNDJxYO0o6XUzodk+/g0bHtHr2XwYcH3r7DO022SD/mYGZ+9pn0j86EfSt2BtGUh8F+TRbIlbmy4Mn6xQ7yrfaY/+4aa9DlNPtOtibY4+Lufl22CHyTGfUZM9X7vkqMfdFG8uTWsLKtdveUh/9DyQHj8rAegRnQzeZ9eOAKsNfeR5/plP35VuzDs2xwYKId+bu/xAL/B+CwaMZw4waIvPwEFQ== mathias@mini
mathias@mini:~$
Eine eigene client config habe ich nicht, aber ich kann dir mal die globale posten:
Code:
Host *
# ForwardAgent no
# ForwardX11 no
# ForwardX11Trusted yes
# RhostsRSAAuthentication no
# RSAAuthentication yes
# PasswordAuthentication yes
# HostbasedAuthentication no
# GSSAPIAuthentication no
# GSSAPIDelegateCredentials no
# GSSAPIKeyExchange no
# GSSAPITrustDNS 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
# MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160
# EscapeChar ~
# Tunnel no
# TunnelDevice any:any
# PermitLocalCommand no
SendEnv LANG LC_*
HashKnownHosts yes
GSSAPIAuthentication yes
GSSAPIDelegateCredentials no Ist aber die standard config.
Auf dem Server ist der public key installiert:
Code:
mathias@ironman:~$ cat .ssh/authorized_keys
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAssGjYzETS+7sBOFjz+WMys7iZ46m8ojVMWaSTTBWaCo0CQXu3lwzXWhJNH1s4/WMyV2RGanAuEC3wUrxVxeZthtVcRG6njgUARO2p0qen5tzkJHLEoab4mEq3jptOMNDJxYO0o6XUzodk+/g0bHtHr2XwYcH3r7DO022SD/mYGZ+9pn0j86EfSt2BtGUh8F+TRbIlbmy4Mn6xQ7yrfaY/+4aa9DlNPtOtibY4+Lufl22CHyTGfUZM9X7vkqMfdFG8uTWsLKtdveUh/9DyQHj8rAegRnQzeZ9eOAKsNfeR5/plP35VuzDs2xwYKId+bu/xAL/B+CwaMZw4waIvPwEFQ== mathias@mini
mathias@ironman:~$
cu
serow