Re: ssh-askpass in bash script

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



>
> By what you have said, it doesn't sound like you're caching things in the
> keyring.  For a day at work, I only ever have to enter my passphrase once
> (unless I remotely connect to my desktop from another desktop to connect to
> a server).


Bingo! That's what I'm after.

I too am using ssh-agent and ssh-add.

I have added ssh-agent to my bash profile so it's automatically ran.  From
> there I manually run ssh-add and enter my passphrase.  Smooth sailing from
> there.



Think you could maybe post the lines in your bash_profile to achieve that?
I've tried everything from what I showed you at the top of the thread to
just simply adding:

eval $(ssh-agent)
ssh-add

To my bashrc file. Also what's the difference between storing something
like this in your bash_profile vs bashrc?

Thanks
Tim


On Sun, Mar 2, 2014 at 1:54 PM, SilverTip257 <silvertip257@xxxxxxxxx> wrote:

> On Sun, Mar 2, 2014 at 1:26 PM, Alexander Dalloz <ad+lists@xxxxxxxxx>
> wrote:
>
> > Am 02.03.2014 19:16, schrieb Joseph Spenner:
> >
> > > Why not just use authorized_keys with an empty pass phrase?
> >
> > Because that is discouraged due to security.
> >
>
> +1 security, security, security
> -- password-less SSH keys aren't a great idea
> -- for some situations, they are acceptable - but overuse is bound to bite
> back
>
> It's simple enough to use the ssh-agent to store your passphrase in the
> keyring for a designated amount of time.  When I'm running GNOME, I allow
> the built-in ssh-agent to handle things for me ... when I'm working via gnu
> screen, I use ssh-agent+ssh-add.
>
> By what you have said, it doesn't sound like you're caching things in the
> keyring.  For a day at work, I only ever have to enter my passphrase once
> (unless I remotely connect to my desktop from another desktop to connect to
> a server).  Other than a password for the root user (which I rarely use),
> I'm using SSH keys to authenticate.
>
> I too am using ssh-agent and ssh-add.
>
> I have added ssh-agent to my bash profile so it's automatically ran.  From
> there I manually run ssh-add and enter my passphrase.  Smooth sailing from
> there.
>
>
> >
> > Alexander
> >
> > _______________________________________________
> > CentOS mailing list
> > CentOS@xxxxxxxxxx
> > http://lists.centos.org/mailman/listinfo/centos
> >
>
>
>
> --
> ---~~.~~---
> Mike
> //  SilverTip257  //
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux