Remote root ssh
Robert Spanjaard
spamtrap at arumes.com
Mon Jun 25 15:53:42 UTC 2007
On Mon, 25 Jun 2007 11:24:46 -0400, fletcher johnson wrote:
> Hello, I'm trying to ssh remotely into my ubuntu box as root and transfer
> files. How can I do this without enabling root (Let's use sudo only)?
> Basically something like this. scp
> user at 192.168.1.103:/home/user/somefile_with_root_perms
How about working from the location that requires root?
user at localhost:~$ ssh user at 192.168.1.103
user at 192.168.1.103's password: xxxblahxxx
[motd]
user at 192.168.1.113:~$ sudo scp /home/user/somefile_with_root_perms [destination]
--
Regards, Robert http://www.arumes.com
More information about the ubuntu-users
mailing list