[CentOS] ssh-askpass in bash script

2014-03-02 Thread Tim Dunphy
Hey all, I have ssh-askpass installed on Centos 5.7 and I'm trying to find a way to log into the host and not have it ask me to enter in my long / complex passphrase every time I ssh into another host. I've googled for some scripts that you can add to your bash configuration so that you won't ha

Re: [CentOS] cachefs

2014-03-02 Thread Rita
thanks steve. seems like we are in the same boat. I was wondering if there was an alternative to cachefs like http://ccache.samba.org/ On Sat, Mar 1, 2014 at 9:10 AM, Steven Tardy wrote: > > https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html-single/Storage_Adm

Re: [CentOS] ssh-askpass in bash script

2014-03-02 Thread Alexander Dalloz
Am 02.03.2014 14:57, schrieb Tim Dunphy: > Hey all, > > I have ssh-askpass installed on Centos 5.7 and I'm trying to find a way to > log into the host and not have it ask me to enter in my long / complex > passphrase every time I ssh into another host. > > I've googled for some scripts that you

Re: [CentOS] ssh-askpass in bash script

2014-03-02 Thread Joseph Spenner
> On Mar 2, 2014, at 9:22 AM, Alexander Dalloz wrote: > > Am 02.03.2014 14:57, schrieb Tim Dunphy: >> Hey all, >> >> I have ssh-askpass installed on Centos 5.7 and I'm trying to find a way to >> log into the host and not have it ask me to enter in my long / complex >> passphrase every time I s

Re: [CentOS] ssh-askpass in bash script

2014-03-02 Thread Alexander Dalloz
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. Alexander ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] backing up pending at commands

2014-03-02 Thread Frank Cox
On Sat, 1 Mar 2014 18:47:03 -0600 Frank Cox wrote: > I can easily get a copy of my pending cron jobs so I can keep a backup. > "crontab -l > mycron.txt" is part of my backup script, and that does the job > nicely. > > Is there a way that I can get a copy of pending at jobs for this purpose? Thi

Re: [CentOS] ssh-askpass in bash script

2014-03-02 Thread SilverTip257
On Sun, Mar 2, 2014 at 1:26 PM, Alexander Dalloz 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 ide

Re: [CentOS] ssh-askpass in bash script

2014-03-02 Thread Tim Dunphy
> > Why not just use authorized_keys with an empty pass phrase? Because that is discouraged due to security. Exactly right. I'm using authorized_keys on the remote host. But I have a long, complex passphrase on my private RSA key on my workstation. I think it's a little foolish to not do that,

Re: [CentOS] ssh-askpass in bash script

2014-03-02 Thread Tim Dunphy
> > 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-ag

Re: [CentOS] ssh-askpass in bash script

2014-03-02 Thread John R Pierce
On 3/2/2014 10:55 AM, Tim Dunphy wrote: > Exactly right. I'm using authorized_keys on the remote host. But I have a > long, complex passphrase on my private RSA key on my workstation. I think > it's a little foolish to not do that, and in addition it's prohibited by > company policy to use keypairs

Re: [CentOS] ssh-askpass in bash script

2014-03-02 Thread Tim Dunphy
> > so how do you do things like cron automated rsync transfers? run > nagios monitoring agent scripts? backup scripts? etc etc etc? Ok. Now you're making fun. But to answer your questions, we don't rsync in this environment, the way we should. The whole environment is entirely under-scripted

Re: [CentOS] ssh-askpass in bash script

2014-03-02 Thread Joseph Spenner
On Mar 2, 2014, at 11:55 AM, Tim Dunphy wrote: > >> On Sun, Mar 2, 2014 at 1:26 PM, Alexander Dalloz 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. >> >> Alexa

Re: [CentOS] ssh-askpass in bash script

2014-03-02 Thread John R Pierce
On 3/2/2014 11:15 AM, Tim Dunphy wrote: > But for backups I setup bacula to run over TLS. and what does that use for credentials? -- john r pierce 37N 122W somewhere on the middle of the left coast ___ CentOS mail

Re: [CentOS] ssh-askpass in bash script

2014-03-02 Thread Tim Dunphy
> > But having a script which automatically connects without the 'big ugly > password' isn't a security risk? > I don't follow. Well, ssh-askpass stores your password in a hash and has some security features built into it. It's not really a simple script. It's job is to enter your pass phrase for

[CentOS] .bash_profile vs .bashrc [was: ssh-askpass in bash script]

2014-03-02 Thread Keith Keller
On 2014-03-02, Tim Dunphy wrote: > > To my bashrc file. Also what's the difference between storing something > like this in your bash_profile vs bashrc? The difference between storing anything in .bash_profile versus .bashrc is that .bash_profile is executed only for interactive login shells, and

Re: [CentOS] CentOS 6.5 install

2014-03-02 Thread Ted Miller
On 02/26/2014 03:01 PM, Kenny Noe wrote: > Hello, I'm a newbie so here's my question. > > I'm trying to install CentOS 6.5 on a HP Proliant 350e server. This server > has 4x 1TB hard drives. I'd like to enable the hardware RAID 5 and stripe > all 4 disk into one 3TB logical volume. Then install

Re: [CentOS] VMware-tools has 4 options only for resolution!

2014-03-02 Thread Ted Miller
On 02/17/2014 02:12 AM, Yawei Guo wrote: > Hi Guys, > > It is surprised that VMware-tools gives 4 options only for resolutin after > I install VMware-tools for CentOS release 5.10 (Final), a guest OS running > with VMware player 6.0.1 build-1379776. The kernal is 2.6.18-371.4.1.el5 > x86_64 x86_64.

Re: [CentOS] ssh-askpass in bash script

2014-03-02 Thread SilverTip257
On Sun, Mar 2, 2014 at 2:00 PM, Tim Dunphy wrote: > > > > 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