[ale] [ot] Xmpp, ejabberd question
Wolf Halton
wolf.halton at gmail.com
Fri Jan 27 16:47:17 EST 2012
If you have dino user on the recipient.com machine, but don't have a dino
user on the sending.com machine, you can easily ssh (knowing dino's
password on the receiver as you do) with ssh dino at recipient.com and when
asked, putting in dino's password.
You are logged in as moose at sending.com
how do you specify that the user you are doing ssh-keygen is the dino at largeuser?
I can see you would be able to do fine if you did an adduser
dino at sending.com and sudo to that user and ssh-keygen. Is that the only
way to do this. The man pages are silent on this issue
On Fri, Jan 13, 2012 at 1:56 PM, Jim Kinney <jim.kinney at gmail.com> wrote:
> root user needs to do a keygen and put the pub on wilma.
>
> On Fri, Jan 13, 2012 at 1:40 PM, Tim Watts <tim at cliftonfarm.org> wrote:
>
>> On Fri, 2012-01-13 at 11:51 -0500, Jim Kinney wrote:
>> > root on fred goes to fredbak on wilma
>>
>> Just to be clear: does this mean that the backup job runs as root but
>> rsyncs as fredbak (via ssh key) to wilma? As in:
>>
>> # rsync $OPTS $SRC fredbak@$TGTHOST:$DST
>>
>> I get an error when I try to do something similar:
>>
>> OPTS="-az --delete-during --delete-delay -h --progress --stats"
>>
>> # rsync $OPTS /etc /home/timtw timtw at blueberry
>> :/home/timtw/backups/dellberry
>> Permission denied (publickey).
>> rsync: connection unexpectedly closed (0 bytes received so far) [sender]
>> rsync error: unexplained error (code 255) at io.c(601) [sender=3.0.7]
>> #
>>
>> I am able to ssh to blueberry via my ssh key when I'm timtw but not as
>> root. Is my key in the wrong place?
>>
>>
>> _______________________________________________
>> Ale mailing list
>> Ale at ale.org
>> http://mail.ale.org/mailman/listinfo/ale
>> See JOBS, ANNOUNCE and SCHOOLS lists at
>> http://mail.ale.org/mailman/listinfo
>>
>>
>
>
> --
> --
> James P. Kinney III
>
> As long as the general population is passive, apathetic, diverted to
> consumerism or hatred of the vulnerable, then the powerful can do as they
> please, and those who survive will be left to contemplate the outcome.
> - *2011 Noam Chomsky
>
> http://heretothereideas.blogspot.com/
> *
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
>
--
This Apt Has Super Cow Powers - http://sourcefreedom.com
Advancing Libraries Together - http://LYRASIS.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20120127/9d2edd34/attachment.html
More information about the Ale
mailing list