Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Making my LAN a passwordless zone



On Fri, Jul 10, 2009 at 14:05, Stephen J. Turnbull<stephen@example.com> wrote:
> Keith Bawden writes:
>  > On 2009/07/09, at 19:06, Phillip Tribble
>  > <ptribble@example.com> wrote:
>  > >
>  > > When you do ssh-copy-id, make sure that you do it like this:
>  > >
>  > > ssh-keygen -i ~/.ssh/id_rsa.pub root@example.com
>  >
>  > Not sure if that is such a great idea. As root ?
>

# SNIP

> I also don't understand the purpose of the "-i" flag here.

# SNIP

I think the key thing here is that Phillip was talking about
ssh-copy-id then used a mongrel/hybrid example of ssh-copy-id syntax
with the ssh-keygen command.

>From the man page, and what I suspect Phillip was trying to say:

ssh-copy-id [-i [identity_file]] [user@example.com

However Phillip's example would see you placing your public key in the
remote machine's root user authorized_keys file :(

Regards, Keith


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links