Hilfe! SSH geht nicht mehr beim 1&1 Root Server

Backup, Restore und Transfer von Daten
Post Reply
wolli
Posts: 9
Joined: 2002-07-10 08:50
Location: Düsseldorf
Contact:
 

Hilfe! SSH geht nicht mehr beim 1&1 Root Server

Post by wolli »

Ich komm nicht mehr per SSH auf meinen Server. Ich habe meinen Server letztens seit 50 Tagen neu gestartet, seit dem habe ich das Problem.

Ich weiß nicht wodran es liegen kann. Ich kann mich nicht erinnern das ich irgendwas verändert oder installiert habe.

Ã?ber den Rescue Modus komme ich noch rein.

Als Fehler kommt das der Server die Verbindung verweigert.
TCP-Fehler: 10061

Bitte helft mir!

Big THX Dat Wolli
sascha
Posts: 1325
Joined: 2002-04-22 23:08
 

Re: Hilfe! SSH geht nicht mehr beim 1&1 Root Server

Post by sascha »

Festplatte mounten und im Logfile nachsehen. Dann wieder hier posten :wink:
wolli
Posts: 9
Joined: 2002-07-10 08:50
Location: Düsseldorf
Contact:
 

Re: Hilfe! SSH geht nicht mehr beim 1&1 Root Server

Post by wolli »

Hmm. In welchem Logfile denn?
Ich hab schon den kompletten /var/log Ordner durch und finde nix zu SSH.
THX
Anonymous
 

Re: Hilfe! SSH geht nicht mehr beim 1&1 Root Server

Post by Anonymous »

in
/var/log/message
/var/log/warn

achte auf
sshd[*]:*
einträge

poste mal deine
/etc/ssh/sshd_config
wolli
Posts: 9
Joined: 2002-07-10 08:50
Location: Düsseldorf
Contact:
 

Re: Hilfe! SSH geht nicht mehr beim 1&1 Root Server

Post by wolli »

Also in den LOGs hab ich nichts gefunden.
Und hier ist meine sshd_config:


# $OpenBSD: sshd_config,v 1.42 2001/09/20 20:57:51 mouring Exp $

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

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

Port 22
Protocol 1,2
#ListenAddress 0.0.0.0
#ListenAddress ::

# HostKey for protocol version 1
HostKey /etc/ssh/ssh_host_key
# 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
#obsoletes QuietMode and FascistLogging

# Authentication:

LoginGraceTime 600
PermitRootLogin yes
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/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!
PasswordAuthentication yes
PermitEmptyPasswords no

# Uncomment to disable s/key passwords
ChallengeResponseAuthentication no

# Uncomment to enable PAM keyboard-interactive authentication
# Warning: enabling this may bypass the setting of 'PasswordAuthentication'
#PAMAuthenticationViaKbdInt yes

# 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 no
X11DisplayOffset 10
PrintMotd yes
#PrintLastLog no
KeepAlive yes
#UseLogin no

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

Subsystem sftp /usr/lib/ssh/sftp-server
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
Contact:
 

Re: Hilfe! SSH geht nicht mehr beim 1&1 Root Server

Post by captaincrunch »

Hast du SSH sebst kompiliert, oder sind das die normalen SuSE-Pakete ?

Kurze Anmerkung : Du möchtest beim Punkt "Protocol 1,2" die 1 da ganz bestimmt nicht stehen haben. SSH v1 ist Pfui ... :wink:
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
wolli
Posts: 9
Joined: 2002-07-10 08:50
Location: Düsseldorf
Contact:
 

Re: Hilfe! SSH geht nicht mehr beim 1&1 Root Server

Post by wolli »

Ich bin ja schon froh wenn ich überhaupt SSH hätte :cry:

Es kann sein das ich mal SSH installiert habe. In meinem Home Verzeichniss liegt ein download. Ich kann mich aber nicht mehr dran erinnern.

Ich schätze mal dann muss ich das wohl richtig Konfigurieren.
Kann mir jemand ein gutes Tutorial dafür sagen? Oder vielleicht gleich was ich wo reinscheiben muss?

Big THX im vorraus Dat Wolli
bjulian
Posts: 5
Joined: 2002-11-01 15:41
Location: Dortmund
 

Re: Hilfe! SSH geht nicht mehr beim 1&1 Root Server

Post by bjulian »

Hallo,
also wenn in den Logs _nix_ über sshd steht, dann würde ich vermuten, dass er nicht gestartet wird!

Besonders, wenn Du ihn selbst kompiliert hast, dann sind mit Sicherheit keine Start-Skripte (/etc/init.d/sshd) vorhanden! Sieh mal im Verzeichnis /etc/init.d/ nach, das Skript sollte sshd heißen!

Warum installierst Du im Rescue-Modus im chroot nicht einfach ein sshd-rpm? Da sind mit Sicherheit Startskripte bei und die Config sollte wohl auch ok sein!

Gruss,
Julian
wolli
Posts: 9
Joined: 2002-07-10 08:50
Location: Düsseldorf
Contact:
 

Re: Hilfe! SSH geht nicht mehr beim 1&1 Root Server

Post by wolli »

Hmm. Also ich hab das sshd Skript und wenn ich rpm ausführen will sagt er mir das gibt es net.
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
Contact:
 

Re: Hilfe! SSH geht nicht mehr beim 1&1 Root Server

Post by captaincrunch »

Im Rescue-System gibt es tatsächlich kein RPM, da es ein Debian ist, das über's Netz gebootet wird.

Um das rpm zu installieren (wozu ich dir auch raten würde), solltest du im Rescue-System mal deine /-Partition (müsste auf dem "Standard-Rootie" /dev/hda3 sein) unter /mnt zu mounten, etwa so :

Code: Select all

mount /dev/hda3 /mnt
Sobald das ganze gemountet ist, holst du dir das RPM vom SuSE-Server, und kopierst das ganze nach /mnt/root.

Danach kannst du mit einem chroot /mnt in dein "normales" System wechseln, da gibt's dann auch den rpm-Befehl, mit dem du das sshd-RPM (das du dann unter /root findest) installieren kannst.

Hoffe, das hilft dir weiter.
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
wolli
Posts: 9
Joined: 2002-07-10 08:50
Location: Düsseldorf
Contact:
 

Re: Hilfe! SSH geht nicht mehr beim 1&1 Root Server

Post by wolli »

Danke. Ich hab das so gemacht aber leider hat es nichts gebracht.
Dafür hab ich aber doch noch was in meinen log files gefunden:

Jan 2 20:56:01 p15097422 sshd[12276]: Did not receive identification string from 213.25.9.69.
wolli
Posts: 9
Joined: 2002-07-10 08:50
Location: Düsseldorf
Contact:
 

Re: Hilfe! SSH geht nicht mehr beim 1&1 Root Server

Post by wolli »

JUHU!
Ich hab es geschafft. Ich hab über yast ssh neu installiert und das root Passwort neu eingestellt.
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
Contact:
 

Re: Hilfe! SSH geht nicht mehr beim 1&1 Root Server

Post by captaincrunch »

Na siehst du ... herzlichen Glückwunsch !
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
Post Reply