I changed this option to 'yes' in the sshd.conf. But it still doesn't work. Below is the message from client.
OpenSSH_3.8p1, SSH protocols 1.5/2.0, OpenSSL 0.9.7d 17 Mar 2004 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to x.x.x.x [x.x.x.x] port 22. debug1: Connection established. debug1: identity file /root/.ssh/identity type -1 debug3: Not a RSA1 key file /root/.ssh/id_rsa. debug2: key_type_from_name: unknown key type '-----BEGIN' debug3: key_read: missing keytype debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug2: key_type_from_name: unknown key type '-----END' debug3: key_read: missing keytype debug1: identity file /root/.ssh/id_rsa type 1 debug1: identity file /root/.ssh/id_dsa type -1 debug1: Remote protocol version 2.0, remote software version OpenSSH_3.8.1p1 debug1: match: OpenSSH_3.8.1p1 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_3.8p1 debug1: SSH2_MSG_KEXINIT sent Connection closed by x.x.x.x ________________________________ From: Mark Jacobs <mark.jac...@custserv.com> To: IBM-MAIN@bama.ua.edu Sent: Mon, January 25, 2010 9:19:56 PM Subject: Re: z/OS SSHD Configuration Issue On 01/25/10 08:17, Anson Ye wrote: > Yes, the client is running as root..... > > I have no idea why the root ID needs extra setup efforts. Could you give me > some clue? Thanks! > > > Check your sshd.conf file for this option; PermitRootLogin no The default is to disallow root to directly ssh to the shell. Mark Jacobs > > ________________________________ > From: Jan MOEYERSONS<jan.moeyers...@adelior.be> > To: IBM-MAIN@bama.ua.edu > Sent: Fri, January 22, 2010 6:59:50 PM > Subject: Re: z/OS SSHD Configuration Issue > > On Thu, 21 Jan 2010 20:30:08 -0800, Anson Ye<ye.an...@yahoo.com> > wrote: > > 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 > > Is this client running as root? I seem to remember that there is (much and > complex) extra set-up to do in order to allow root to connect through ssh. > > I'd suggest you try to connect from a regular user account first. > > Cheers, > > Jantje. > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO > Search the archives at http://bama..ua.edu/archives/ibm-main.html > > > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO > Search the archives at http://bama.ua.edu/archives/ibm-main.html > > > -- Mark Jacobs Time Customer Service Tampa, FL ---- Protest is when I say this does not please me. Resistance is when I ensure what does not please me occurs no more. Ulrike Meinhof (1934-1976) ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html