ssh and remote sudo not hiding password

Hal Burgiss hal at burgiss.net
Sat Nov 7 01:44:14 UTC 2009


On Fri, Nov 06, 2009 at 09:59:27PM +0000, Colin Law wrote:
>  How can I use ssh keys to prevent having to enter pwd for sudo?

Root does not need sudo. So make sure the remote system has a functional root
accout:

 sudo passwd root

then on the local system

 ssh-copy-id root at remote.system


-- 
Hal




More information about the ubuntu-users mailing list