[lug] grabbing /dev/tty i/o

Atkinson, Chip CAtkinson at Circadence.com
Wed Aug 30 17:23:08 MDT 2000


Yeow!  That's probably a lesson you'd only have to learn once. :-)

-----Original Message-----
From: Nate Duehr [mailto:nate at natetech.com]
Sent: Wednesday, August 30, 2000 5:21 PM
To: lug at lug.boulder.co.us
Subject: Re: [lug] grabbing /dev/tty i/o


I forgot to mention that an incident like this one prompted us to change
the bash prompt on all our machines to show the fully-qualified domain
name by default.  :)


On Wed, Aug 30, 2000 at 04:59:05PM -0600, Nate Duehr wrote:
> Can you live with just setting up SSH trusts between the machines?
> 
> If you need help with that, I can help.
> 
> Nate
> 
> On Wed, Aug 30, 2000 at 04:26:52PM -0600, Atkinson, Chip wrote:
> > Greetings,
> > 
> > I'm trying to provide a response to the password: response from scp and
have
> > been unable to.  I looked at the code and scp is opening /dev/tty and
> > reading the password response from there.  I'd like to be able to use a
> > shell script, perl script, or C program to give scp the password, but I
have
> > been unable to do so.  Does anyone have any suggestions?  I know that
expect
> > can do it but I don't think I'll be able to use expect everywhere.
> > 
> > Thanks in advance,
> > 
> > Chip
> > 
> > _______________________________________________
> > Web Page:  http://lug.boulder.co.us
> > Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> 
> -- 
> Nate Duehr <nate at natetech.com>
> 
> GPG Key fingerprint = DCAF 2B9D CC9B 96FA 7A6D AAF4 2D61 77C5 7ECE C1D2
> Public Key available upon request, or at wwwkeys.pgp.net and others.



-- 
Nate Duehr <nate at natetech.com>

GPG Key fingerprint = DCAF 2B9D CC9B 96FA 7A6D AAF4 2D61 77C5 7ECE C1D2
Public Key available upon request, or at wwwkeys.pgp.net and others.




More information about the LUG mailing list