Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Feb 2007 14:04:47 +0000
From:      Vince <jhary@unsane.co.uk>
To:        Arindam <arindam.mukerjee@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: SSH woes
Message-ID:  <45C344FF.7000101@unsane.co.uk>
In-Reply-To: <d85a51ff0702020507p14a8a91eye93e34fef9a156c6@mail.gmail.com>
References:  <d85a51ff0702020507p14a8a91eye93e34fef9a156c6@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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 Freebsd will not allow root login via ssh. best bet is to add
your  non root user to wheel and login as that user, then su to root. If
you really need to login as root you need to edit /etc/ssh/sshd_config
but then again the only reason to allow remote root logins rather than
using su/sudo i can think of is laziness ;)

Vince

> -- 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"




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?45C344FF.7000101>