ssh root denied
mpsouza at centroin.com.br
Tue Apr 13 14:16:24 PDT 2004
On Tue, 13 Apr 2004, Remko Lodder wrote:
|> But, what should be te correct approach when you want to copy
|> root's files and/or remote execute programs as root with scripts using
|> scp/ssh and key authentication?
|> scp master.passwd host2:/etc/
|> ssh host2 'pwd_mkdb -p /etc/master.passwd'
|"remote execute programs" why? cant you locally run them and fetch them
|with a dedicated lowerlevel account?
Use my example above, supose you need to sync passwd between two
hosts, using an script via cron. Even if you tar/chown it and copy with
low level user, you will need to regenerate the passwd.
More information about the freebsd-questions