PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : SSH - login im Lan aber nich von Inet



OdinD
11.11.03, 19:11
Hallo an alle

innerhalb des LANs geht der Login, von außen wird mir nur gesagt "Permission denied"

Er fragt mich immer nach Passwort, obwohl ich ihm es mitgebe.

auch wenn ich einem User erlaube ohne Passwort einzuloggen, klappt es im LAN vom Inet wieder nicht

Wer hat eine Idee ?

hier mein config:

#!/bin/bash
# ---------------------------------------------------------------------
# $OpenBSD: sshd_config,v 1.59 2002/09/25 11:17:16 markus Exp $

# This is the sshd server system-wide configuration file. See
# sshd_config(5) for more information.

# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin

# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented. Uncommented options change a
# default value.


# Change to no to disable s/key passwords
ChallengeResponseAuthentication no

X11Forwarding yes

# override default of no subsystems
Subsystem sftp /usr/lib/ssh/sftp-server
IgnoreRhosts yes
RhostsRSAAuthentication no
RhostsAuthentication no
IgnoreUserKnownHosts no
PrintMotd yes
StrictModes yes
RSAAuthentication yes
PermitRootLogin no
PermitEmptyPasswords yes
PasswordAuthentication yes
ReverseMappingCheck no
GatewayPorts yes
AllowTcpForwarding yes
KeepAlive yes
Protocol 2
#Port 22
ListenAddress 192.168.192.11:22
ListenAddress 0.0.0.0:22022
AllowGroups users
AllowUsers andreas lars ssh_anon
UsePrivilegeSeparation yes
KeyRegenerationInterval 86400
ServerKeyBits 1024
#Port 22022
#Port 22
LogLevel debug
SysLogFacility DAEMON

dipesh
11.11.03, 19:39
Kann eine ssh-Instanz mehr als eine ListenAddress verarbeiten? Ich vermute mal nicht (lasse mich aber gerne belehren :-) Versuch es dementsprechend doch mal mit nur einer Angabe.

OdinD
11.11.03, 20:11
er hat nicht gemeckert ! unter netstat -nl hat er es auch angezeigt, nur Verbindungen wollte er keine !