W
waschbaer
Jungspund
Hallo,
ich verwende Suse 10 und habe ein Problem mit SSH.
Ich habe folgendes gemacht:
1. Auf Maschine1 wurde ein public-key erzeugt.
Danach wurde die Datei /etc/ssh/ssh_config wie folgt verändert:
2. Der public-key wurde dann auf Maschine2 kopiert.
3. Auf Maschine2 wurde die Datei /etc/ssh/ssh_config wurde wie folgt verändert:
4. Die Direktverbindung funktioniert prima, d.h.
maschine1# ssh user@maschine2 ls /
liefert mir das Verzeichnis von Maschine2. Super!
Das Problem: SCP geht nicht mehr, d.h.
maschine2# scp text.txt root@maschine1:/
funktioniert nicht. Und ich habe keine Ahnung warum...
Kennt Jemand von Euch das Problem? Kann mir Jemand bitte helfen?
ich verwende Suse 10 und habe ein Problem mit SSH.
Ich habe folgendes gemacht:
1. Auf Maschine1 wurde ein public-key erzeugt.
Danach wurde die Datei /etc/ssh/ssh_config wie folgt verändert:
Code:
# 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
[B] IdentityFile ~/.ssh/id_rsa[/B]
# IdentityFile ~/.ssh/id_dsa
# Port 22
[B] Protocol 2[/B]
# Cipher 3des
# Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
# EscapeChar ~
# GSSAPIAuthentication no
# GSSAPIDelegateCredentials no
# GSSAPIEnableMITMAttack no
2. Der public-key wurde dann auf Maschine2 kopiert.
3. Auf Maschine2 wurde die Datei /etc/ssh/ssh_config wurde wie folgt verändert:
Code:
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
[B]Protocol 2
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
[/B]# Cipher 3des
# Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
# EscapeChar ~
# GSSAPIAuthentication no
# GSSAPIDelegateCredentials no
# GSSAPIEnableMITMAttack no
SendEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
SendEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
SendEnv LC_IDENTIFICATION LC_ALL
4. Die Direktverbindung funktioniert prima, d.h.
maschine1# ssh user@maschine2 ls /
liefert mir das Verzeichnis von Maschine2. Super!
Das Problem: SCP geht nicht mehr, d.h.
maschine2# scp text.txt root@maschine1:/
funktioniert nicht. Und ich habe keine Ahnung warum...
Kennt Jemand von Euch das Problem? Kann mir Jemand bitte helfen?