Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Feb 2007 15:02:24 +0100
From:      "Jeffrey Belles" <jaffa@fabfive.nl>
To:        Arindam <arindam.mukerjee@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: SSH woes
Message-ID:  <20070202135926.M9408@fabfive.nl>
In-Reply-To: <d85a51ff0702020507p14a8a91eye93e34fef9a156c6@mail.gmail.com>
References:  <d85a51ff0702020507p14a8a91eye93e34fef9a156c6@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

On Fri, 2 Feb 2007 18:37:14 +0530, Arindam wrote
> I have a Pentium III 733 Mhz box with 512 MB RAM running FreeBSD 6.1.
> I also have a second box with Fedora Core 2. I tried connecting to my
> FreeBSD box using ssh from my Fedora Core 2 machine.
> 
> # ssh -l root <myFreeBSD box>
> Password:
> Password:
> Password:
> 
> It kept asking me for Password: although everytime I put the correct
> value. I tried out clearing the .ssh* files in my home directories 
> and trying to reconnect. None of it worked.
> 
> Where am I going wrong.

By default ssh-ing to root is denied for security-reasons
Try login in with a normal account and do a 'su -' to act as root.
If you really really really want to allow root-logins through ssh, edit the 
file /etc/ssh/sshd_config

and remove the hash from the following line:
#PermitRootLogin yes


 HTH
 -Jeffrey




> -- Arindam
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-
unsubscribe@freebsd.org"


--
Open WebMail Project (http://openwebmail.org)




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20070202135926.M9408>