2009/1/17 CHAPLIN, JAMES (CTR) <[email protected]>:
> We have a security requirement (which is common with Linux) to prevent
> ssh login for root (setting PermitRootLogin to no).  One problem we
> find, as system administrators, we like to use secure copy (remote file
> copy program, scp) files between systems. However this will not work for
> any root level files, since scp uses ssh to copy files over a network.
> Does anyone have a suggested solution or better way around this issue?
Still a kludge, but I commonly (if the files I want to grab are world-readable)
ssh to the target machine, su and then copy them with
scp -p u...@host:/path/to/file /path/to/file


Cheers,
Andrej

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to