[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Allowing default root SSH login



On Fri, 2003-04-11 at 15:44, Pizza Box manager wrote:
> Hello to all,
> 
> We are currently installing our existing sites on a RAQ550r, thanks to 
> those who helped about the migration / CMU question.
> My problem now is that the Cobalt with this host provider does not seem to 
> allow login as root directly.
> The best thing is the provider just told us that have no clue about how 
> this works and how to enable login as root on SSH.
> I know it's advised to login as admin and su to root - (do not really know 
> why though as we always do so in SSH and other providers we have let us use 
> a root login by default), but I need a direct root login in SSH for tools 
> like RSync apparently ?
> Does anybody know how to either enable root login in SSH on a Cobalt 550, 
> or how to login as admin as SU to root in the RSync command line ?
> Else I guess we could RSync from the target to the source instead of the 
> usual procedure - launch from source and SSH to target as root ?
> 
> Can anybody advise on the procedure ?
> Thanks for your time.

Simplest way is to edit /etc/ssh/sshd_config and change PermitRootLogin
to yes and then restart sshd by using
kill -HUP `cat /var/run/sshd.pid`

so it rereads the config and uses the new value.

HTH

-- 
Simon Dick <simon@xxxxxxxxxxxxxxxxxxxxxxxxx>