[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SSH keys
Yeah, when I did a "echo $SSH_variable" the values
weren't there. I manually loaded them and I was able
to get to where instead of the passWORD it wanted the
passPHRASE. A zero percent improvement for my
purposes.
Anyway, I ended up just running ssh_keygen and then
copying the public keys and cat'ing them into the
"authorized_keys" file. Then I could scp without a
password between systems.
Q: Is this still fairly secure?
--- Steven Pritchard <steve@silug.org> wrote:
> Robert Threet said:
> > I am trying to automate SSH so I won't have to use
> the
> > password to log in. When I type ssh-agent
> followed by
> > ssh-add it complains "Failed to connect to
> > authentication agent - agent not running?" even
> though
> > the agent *IS* running. It's something silly - I
> know.
>
> You have to specify the command to run under
> ssh-agent as an argument
> to ssh-agent.
>
> I usually use one of the following. Either this
> bash alias:
>
> alias ssh-auth="exec ssh-agent sh -c 'ssh-add &&
> exec bash -login'"
>
> or something like this in ~/.Xclients (or .xinitrc,
> or whatever):
>
> exec ssh-agent sh -c 'ssh-add < /dev/null &&
> exec wmaker'
>
> Does that help?
>
> Steve
> --
> steve@silug.org | Southern Illinois Linux
> Users Group
> (618)398-7320 | See web site for meeting
> details.
> Steven Pritchard | http://www.silug.org/
> -
> To unsubscribe, send email to majordomo@luci.org
> with
> "unsubscribe luci-discuss" in the body.
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.