PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : ssh-public_keyauth -> X-forwarding funzt nich mehr



dor_kollaesch
02.08.02, 15:41
Hi!

ich hab n seltsames Problem.

ich bin das letzte Mal auf public_keyauthentication umgestiegen und hab meine configs entsprechend angepasst (betrifft sicherheitsloch zwecks pam).

nun hab ich versucht mal wieder n prog zu forwarden ...

Fehler: ** CRITICAL **: Unable to open display

habs mit xhost (also manuell) und auch per ssh -X versucht
- same f*ck :ugly:

is echt n bisl assy :)

8<-----------------------------------------
Port 22
Protocol 2
# HostKeys for protocol version 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
# Lifetime and size of ephemeral version 1 server key
KeyRegenerationInterval 3600
ServerKeyBits 768

# Logging
SyslogFacility AUTH
LogLevel INFO

# Authentication:
LoginGraceTime 600
PermitRootLogin no
StrictModes yes

RSAAuthentication yes
PubkeyAuthentication yes
#AuthorizedKeysFile %h/.ssh/authorized_keys

# rhosts authentication should not be used
RhostsAuthentication no
# Don't read the user's ~/.rhosts and ~/.shosts files
IgnoreRhosts yes
# For this to work you will also need host keys in /etc/ssh_known_hosts
RhostsRSAAuthentication no
# similar for protocol version 2
HostbasedAuthentication no
# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
#IgnoreUserKnownHosts yes

# To disable tunneled clear text passwords, change to no here!
PermitEmptyPasswords no

# Uncomment to disable s/key passwords
ChallengeResponseAuthentication no

# Use PAM authentication via keyboard-interactive so PAM modules can
# properly interface with the user
PasswordAuthentication no
PAMAuthenticationViaKbdInt no

# To change Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#AFSTokenPassing no
#KerberosTicketCleanup no

# Kerberos TGT Passing does only work with the AFS kaserver
#KerberosTgtPassing yes

X11Forwarding yes

X11DisplayOffset 10
PrintMotd no
#PrintLastLog no
KeepAlive yes
#UseLogin no

#MaxStartups 10:30:60
#Banner /etc/issue.net
#ReverseMappingCheck yes

Subsystem sftp /usr/libexec/sftp-server

8<---------------------------------------------------------

ich hatte vorher X11Forward auf no - hat damit auch gefunzt ...

ansonsten - irgendwelche configfehler ersichtlich ?

THX4 support :)

cu @ all

Udo
:ugly:

dor_kollaesch
02.08.02, 17:01
shit ! :)

liegt scheinbar doch nich am ssh ...

ich hab n update update vollzogen - und nu lauschen die xserver nich mehr

scheint doch das problem zu sein :)

aber wie krieg ich die wieder an ?