Remote root ssh
fletcher johnson
fjohnson at ipsmarx.com
Mon Jun 25 16:41:47 UTC 2007
Good Idea thanks Robert. I was just wondering for reference though if it can
be done the way I specified?
On 6/25/07, Robert Spanjaard <spamtrap at arumes.com> wrote:
>
> On Mon, 25 Jun 2007 17:53:42 +0200, Robert Spanjaard 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]
>
> 113 = 103, ofcourse :-)
>
> --
> Regards, Robert http://www.arumes.com
>
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070625/aa2b5282/attachment.html>
More information about the ubuntu-users
mailing list