[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Zugriff auf den Rechner von außen



On Wednesday 19 March 2014 20:40:46 Volker Wysk wrote:
> Am Mittwoch, 19. März 2014, 19:31:30 schrieb Michael Schuerig:
> > > > ssh -v benutzen, dann siehts du mehr, mit -vv noch mehr.
> > > 
> > > Da kommt:
> > > 
> > > ~ % ssh -v 85.179.114.16
> > > [...]
> > 
> > Du willst dich als root auf dem Server anmelden? Wirklich? Das geht
> > nur, wenn es auch erlaubt ist, siehe in /etc/ssh/sshd_config
> > PermitRootLogin und man sshd_config.
> 
> Nein, nicht wirklich. Aber "ssh -v thomas@85.179.114.16" liefert das
> gleiche Ergebnis:

Das verstehe ich nicht. Weshalb probiert dein SSH-Client dann identity 
files in /root/.ssh? Da solltest du als normaler Benutzer überhaupt 
nicht zugreifen dürfen:

>  /etc % ssh -vv thomas@78.48.253.210
> OpenSSH_6.5, OpenSSL 1.0.1f 6 Jan 2014
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug1: /etc/ssh/ssh_config line 19: Applying options for *
> debug2: ssh_connect: needpriv 0
> debug1: Connecting to 78.48.253.210 [78.48.253.210] port 22.
> debug1: Connection established.
> debug1: permanently_set_uid: 0/0
> debug1: identity file /root/.ssh/id_rsa type -1
> debug1: identity file /root/.ssh/id_rsa-cert type -1
> debug1: identity file /root/.ssh/id_dsa type -1
> debug1: identity file /root/.ssh/id_dsa-cert type -1
> debug1: identity file /root/.ssh/id_ecdsa type -1
> debug1: identity file /root/.ssh/id_ecdsa-cert type -1
> debug1: identity file /root/.ssh/id_ed25519 type -1
> debug1: identity file /root/.ssh/id_ed25519-cert type -1
> debug1: Enabling compatibility mode for protocol 2.0
> debug1: Local version string SSH-2.0-OpenSSH_6.5p1 Debian-6
> ssh_exchange_identification: Connection closed by remote host

Michael

-- 
Michael Schuerig
mailto:michael@schuerig.de
http://www.schuerig.de/michael/


Reply to: