If you have dino user on the <a href="http://recipient.com">recipient.com</a> machine, but don't have a dino user on the <a href="http://sending.com">sending.com</a> machine, you can easily ssh (knowing dino's password on the receiver as you do) with ssh <a href="mailto:dino@recipient.com">dino@recipient.com</a> and when asked, putting in dino's password. <br>
You are logged in as <a href="mailto:moose@sending.com">moose@sending.com</a> <br>how do you specify that the user you are doing ssh-keygen is the dino@large user?<br>I can see you would be able to do fine if you did an adduser <a href="mailto:dino@sending.com">dino@sending.com</a> and sudo to that user and ssh-keygen. Is that the only way to do this. The man pages are silent on this issue<br>
<br><div class="gmail_quote">On Fri, Jan 13, 2012 at 1:56 PM, Jim Kinney <span dir="ltr"><<a href="mailto:jim.kinney@gmail.com">jim.kinney@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
root user needs to do a keygen and put the pub on wilma.<br><br><div class="gmail_quote"><div><div class="h5">On Fri, Jan 13, 2012 at 1:40 PM, Tim Watts <span dir="ltr"><<a href="mailto:tim@cliftonfarm.org" target="_blank">tim@cliftonfarm.org</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="h5"><div>On Fri, 2012-01-13 at 11:51 -0500, Jim Kinney wrote:<br>
> root on fred goes to fredbak on wilma<br>
<br>
</div>Just to be clear: does this mean that the backup job runs as root but<br>
rsyncs as fredbak (via ssh key) to wilma? As in:<br>
<br>
# rsync $OPTS $SRC fredbak@$TGTHOST:$DST<br>
<br>
I get an error when I try to do something similar:<br>
<br>
OPTS="-az --delete-during --delete-delay -h --progress --stats"<br>
<br>
# rsync $OPTS /etc /home/timtw timtw@blueberry:/home/timtw/backups/dellberry<br>
Permission denied (publickey).<br>
rsync: connection unexpectedly closed (0 bytes received so far) [sender]<br>
rsync error: unexplained error (code 255) at io.c(601) [sender=3.0.7]<br>
#<br>
<br>
I am able to ssh to blueberry via my ssh key when I'm timtw but not as<br>
root. Is my key in the wrong place?<br>
<br>
<br></div></div><div class="im">_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br></div></blockquote></div><div class="HOEnZb"><div class="h5"><br><br clear="all"><br>-- <br>-- <br>James P. Kinney III<br><br>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.<br>- <i><i><i><i>2011 Noam Chomsky<br><br><a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a><br></i></i></i></i><br>
</div></div><br>_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>This Apt Has Super Cow Powers - <a href="http://sourcefreedom.com" target="_blank">http://sourcefreedom.com</a><br>Advancing Libraries Together - <a href="http://LYRASIS.org" target="_blank">http://LYRASIS.org</a><br>
<br>