On Tue, 8 Feb 2005, daniel wrote:
i've disabled PermitRootLogin in sshd_config and now i find that i miss it a great deal when it comes to server administration. i need to copy some files from a directory on the master machine to a directory owned by root on a series of cluster machines. normally, i'd just do this:
$ scp <file> [EMAIL PROTECTED]:/path/to/root-owned/folder/
but obviously, that fails now. outside of re-enabling PermitRootLogin (not really an option) is there another option for me? suggestions? comments?
PermitRootLogin without-password
Then, add your public ssh key to /root/.ssh/authorized_keys
Don't have a public ssh key? Run 'ssh-keygen -t rsa' to generate an RSA key (or -t dsa for a DSA key, and I'm not sure what the difference is). It will put the keys in ~/.ssh
I recommend only allowing root to ssh to root on another machine.
-- I decided long ago never to walk in anyone's shadow () The ASCII Ribbon Campaign against HTML Email, /\ vCards, and proprietary formats. http://www.georgedillon.com/web/html_email_is_evil.shtml
-- [email protected] mailing list
