[lug] grabbing /dev/tty i/o

Nate Duehr nate at natetech.com
Wed Aug 30 17:21:12 MDT 2000


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20000830/bd414e07/attachment.pgp>


More information about the LUG mailing list