Re: cannot login with ssh

From: Patrick Van der Veken (patrick.vanderveken@hp.com)
Date: 01/08/03


From: "Patrick Van der Veken" <patrick.vanderveken@hp.com>
Date: Wed, 8 Jan 2003 17:09:08 +0100


"node" <node500@xs4all.nl> wrote in message
news:3e1c3b97$0$49110$e4fe514c@news.xs4all.nl...
> yes i am
>
> "Patrick Van der Veken" <patrick.vanderveken@hp.com> wrote in message
> news:avhd4l$9c9$1@web1.cup.hp.com...
> > Are you allowed to login as 'root' throug ssh?
> >
> > "node" <node500@xs4all.nl> wrote in message
> > news:3e1c33c1$0$49115$e4fe514c@news.xs4all.nl...
> > > Hi,
> > > Here's the ssh -v output, i dont see anything wrong, does anyone do?
> > >
> > >
> > > debug1: Reading configuration data /etc/ssh/ssh_config
> > > debug1: Applying options for *
> > > debug1: Rhosts Authentication disabled, originating port will not be
> > > trusted.
> > > debug1: restore_uid
> > > debug1: ssh_connect: getuid 0 geteuid 0 anon 1
> > > debug1: Connecting to ns1 [194.151.160.130] port 22.
> > > debug1: temporarily_use_uid: 0/0 (e=0)
> > > debug1: restore_uid
> > > debug1: temporarily_use_uid: 0/0 (e=0)
> > > debug1: restore_uid
> > > debug1: Connection established.
> > > debug1: read PEM private key done: type DSA
> > > debug1: read PEM private key done: type RSA
> > > debug1: identity file /root/.ssh/identity type -1
> > > debug1: identity file /root/.ssh/id_rsa type 1
> > > debug1: identity file /root/.ssh/id_dsa type -1
> > > debug1: Remote protocol version 1.99, remote software version
> > OpenSSH_3.1p1
> > > debug1: match: OpenSSH_3.1p1 pat OpenSSH*
> > > Enabling compatibility mode for protocol 2.0
> > > debug1: Local version string SSH-2.0-OpenSSH_3.1p1
> > > debug1: SSH2_MSG_KEXINIT sent
> > > debug1: SSH2_MSG_KEXINIT received
> > > debug1: kex: server->client aes128-cbc hmac-md5 none
> > > debug1: kex: client->server aes128-cbc hmac-md5 none
> > > debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent
> > > debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
> > > debug1: dh_gen_key: priv key bits set: 126/256
> > > debug1: bits set: 1609/3191
> > > debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
> > > debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
> > > debug1: Host 'ns1' is known and matches the RSA host key.
> > > debug1: Found key in /root/.ssh/known_hosts:1
> > > debug1: bits set: 1615/3191
> > > debug1: ssh_rsa_verify: signature correct
> > > debug1: kex_derive_keys
> > > debug1: newkeys: mode 1
> > > debug1: SSH2_MSG_NEWKEYS sent
> > > debug1: waiting for SSH2_MSG_NEWKEYS
> > > debug1: newkeys: mode 0
> > > debug1: SSH2_MSG_NEWKEYS received
> > > debug1: done: ssh_kex2.
> > > debug1: send SSH2_MSG_SERVICE_REQUEST
> > > debug1: service_accept: ssh-userauth
> > > debug1: got SSH2_MSG_SERVICE_ACCEPT
> > > debug1: authentications that can continue:
> > > publickey,password,keyboard-interactive
> > > debug1: next auth method to try is publickey
> > > debug1: try privkey: /root/.ssh/identity
> > > debug1: try pubkey: /root/.ssh/id_rsa
> > > Connection closed by 194.151.160.130
> > > debug1: Calling cleanup 0x80634c0(0x0)
> > >
> > >
> > > thanks in advance
> > >

Do you have any useful output from the sshd daemon on the server side?
syslog entries etc?



Relevant Pages

  • SUMARY: Cant login as root
    ... As a result, i was not able to log in as root, neither create a new ... Asunto: RE: Can't login as root ... > console. ... > If we log as any other user everythig is ok, but we cannot either do su-. ...
    (Tru64-UNIX-Managers)
  • RE: Urgent help needed with Login problems after installation of FC1
    ... symptom trying to su back to root. ... After another minimal install, I was able to add my user and su to it and su ... I was unable to boot using the boot floppy. ... I did a minimal install and was able to login as root, ...
    (Fedora)
  • Re: BSM, SSH, and Session ID
    ... Are you logging in as root through ssh or is that just the way it is ... Sun SSH/OpenSSH should fork off before the login because the sshd ... It should always be a different session, ...
    (Focus-SUN)
  • Re: i can not log as a root
    ... >> how i can log as a user but not as a root. ... > Problem seems to be with the X session not your login but we'll try a few ... > select the OS/kernel that you boot to, ... > Looks like something is wrong with your Xsessions script or one of the ...
    (linux.redhat)
  • Re: Urgent help needed with Login problems after installation of FC1
    ... login would do anything but loop back to the Login: ... >From Gnome desktop, I was able to logout user, login root, over and ... Am able to boot from floppy. ... >After another minimal install, I was able to add my user and su to ...
    (Fedora)