On Tue, 1 Apr 2003, Jianping Zhu wrote: the subject should be can not root ssh login linux box
> I have linux redhat 7.3 box called B with ssh on. > i need to to root ssh to it inorder to use rsync for backup. > > but i failed to login, i did following > ------------------------------ > [EMAIL PROTECTED] ssh [EMAIL PROTECTED] > [EMAIL PROTECTED]'s password: > Permission denied, please try again. > [EMAIL PROTECTED]'s password: > Permission denied, please try again. > --------------------------------------- > > the /etc/ssh/sshd_config looks like > > -------------------------------------------------- > > #Port 22 > #Protocol 2,1 > #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 > #obsoletes QuietMode and FascistLogging > #SyslogFacility AUTH > #LogLevel INFO > > # Authentication: > > #LoginGraceTime 600 > PermitRootLogin yes > RSAAuthentication yes > PubkeyAuthentication yes > AuthorizedKeysFile .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 > # Change to yes if you don't trust ~/.ssh/known_hosts for > # RhostsRSAAuthentication and HostbasedAuthentication > #IgnoreUserKnownHosts no > ------------------------------------------ > > > How can root ssh login B, thanks > > > -------------------------------- > Jianping Zhu > Department of Computer Science > Univerity of Georgia > Athens, GA 30602 > Tel 706 5423900 > -------------------------------- > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list > -------------------------------- Jianping Zhu Department of Computer Science Univerity of Georgia Athens, GA 30602 Tel 706 5423900 -------------------------------- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list