Re: Expect Script under X-Windows
--- Thomas Chadwick <[EMAIL PROTECTED]> wrote: > So you're writing a script that very likely will contain a password in > cleartext? How secure is that? Keep it on a floppy-disk, and keep that in plastic case in your pocket. It works for me. Then it will be just as secure as your wallet. Now how secure that really is, depends on the individual. Still it is preferable to keeping it on the pc itself. As for Expect, it *WILL NOT* work. This is because Cygnus designed TCL/TK/ITCL/TIX/EXPECT to be mingw like, so that people can use Insight [GUI GDB] without having to fire up an X-windows session. Someday we will have the TCL suite working under both X and native Windows, but that will involve a lot of work. For now, lets just leave it at that. If you *really* want to script, then you should look into some python gui X utilities to do that for you. Cheers, Nicholas __ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com
Re: Expect Script under X-Windows
[EMAIL PROTECTED] wrote: > The normal method of logon using ssh requires the the user input a > password. Because of security issues, this cannot be circumvented by any > other method. All I wanted to do was to poll around fifty servers for > information. Each has the same logon name and password. Now, I need to > manually send the password for each and every server. > Nicht eine gut Idee. Harold
Re: Expect Script under X-Windows
It's only on my own machine with proper permissions. Original Message: - From: Thomas Chadwick [EMAIL PROTECTED] Date: Mon, 22 Jul 2002 13:07:09 -0400 To: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: Expect Script under X-Windows So you're writing a script that very likely will contain a password in cleartext? How secure is that? >From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED], [EMAIL PROTECTED] >Subject: Re: Expect Script under X-Windows >Date: Mon, 22 Jul 2002 12:54:18 -0400 > >The normal method of logon using ssh requires the the user input a >password. Because of security issues, this cannot be circumvented by any >other method. All I wanted to do was to poll around fifty servers for >information. Each has the same logon name and password. Now, I need to >manually send the password for each and every server. > >Original Message: >- >From: Michel Bardiaux [EMAIL PROTECTED] >Date: Mon, 22 Jul 2002 18:37:32 +0200 >To: [EMAIL PROTECTED] >Subject: Re: Expect Script under X-Windows > > >"Zelkovitz, Sanford J (ZERO CHAOS)" wrote: > > > > I have been trying without any success to write an expect script which >would > > insert the password for ssh in an x-windows session. I am obviously >doing > > something wrong since all efforts have failed. Has anyone succeeded >where >I > > have failed? > > > > Sanford Zelkovitz > >Could you clarify? Which password do you mean exactly? The passphrase >for your ssh keyring? If you script that, you might as well have no >passphrase at all. > >-- >Michel Bardiaux >Peaktime Belgium S.A. Bd. du Souverain, 191 B-1160 Bruxelles >Tel : +32 2 790.29.41 > > >mail2web - Check your email from the web at >http://mail2web.com/ . _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com mail2web - Check your email from the web at http://mail2web.com/ .
Re: Expect Script under X-Windows
So you're writing a script that very likely will contain a password in cleartext? How secure is that? >From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED], [EMAIL PROTECTED] >Subject: Re: Expect Script under X-Windows >Date: Mon, 22 Jul 2002 12:54:18 -0400 > >The normal method of logon using ssh requires the the user input a >password. Because of security issues, this cannot be circumvented by any >other method. All I wanted to do was to poll around fifty servers for >information. Each has the same logon name and password. Now, I need to >manually send the password for each and every server. > >Original Message: >- >From: Michel Bardiaux [EMAIL PROTECTED] >Date: Mon, 22 Jul 2002 18:37:32 +0200 >To: [EMAIL PROTECTED] >Subject: Re: Expect Script under X-Windows > > >"Zelkovitz, Sanford J (ZERO CHAOS)" wrote: > > > > I have been trying without any success to write an expect script which >would > > insert the password for ssh in an x-windows session. I am obviously >doing > > something wrong since all efforts have failed. Has anyone succeeded >where >I > > have failed? > > > > Sanford Zelkovitz > >Could you clarify? Which password do you mean exactly? The passphrase >for your ssh keyring? If you script that, you might as well have no >passphrase at all. > >-- >Michel Bardiaux >Peaktime Belgium S.A. Bd. du Souverain, 191 B-1160 Bruxelles >Tel : +32 2 790.29.41 > > >mail2web - Check your email from the web at >http://mail2web.com/ . _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com
Re: Expect Script under X-Windows
The normal method of logon using ssh requires the the user input a password. Because of security issues, this cannot be circumvented by any other method. All I wanted to do was to poll around fifty servers for information. Each has the same logon name and password. Now, I need to manually send the password for each and every server. Original Message: - From: Michel Bardiaux [EMAIL PROTECTED] Date: Mon, 22 Jul 2002 18:37:32 +0200 To: [EMAIL PROTECTED] Subject: Re: Expect Script under X-Windows "Zelkovitz, Sanford J (ZERO CHAOS)" wrote: > > I have been trying without any success to write an expect script which would > insert the password for ssh in an x-windows session. I am obviously doing > something wrong since all efforts have failed. Has anyone succeeded where I > have failed? > > Sanford Zelkovitz Could you clarify? Which password do you mean exactly? The passphrase for your ssh keyring? If you script that, you might as well have no passphrase at all. -- Michel Bardiaux Peaktime Belgium S.A. Bd. du Souverain, 191 B-1160 Bruxelles Tel : +32 2 790.29.41 mail2web - Check your email from the web at http://mail2web.com/ .
Re: Expect Script under X-Windows
On Mon, 22 Jul 2002, 12:20pm (-0400), Zelkovitz, Sanford J (ZERO CHAOS) wrote: > I have been trying without any success to write an expect script which would > insert the password for ssh in an x-windows session. I am obviously doing > something wrong since all efforts have failed. Has anyone succeeded where I > have failed? You're making things we too hard on yourself. Look at the man pages for: ssh, ssh-keygen, ssh-agent, and ssh-add. -- Edward Hennis ___ [EMAIL PROTECTED] ___ http://www.vaxer.net/~eah Amazing, really, what useless shit you can do |\ /| with the Internet. | O | -- Ben Ostrowsky |/_\|
Re: Expect Script under X-Windows
Are you sure you want to do it that way? ssh can be configured to connect without prompting for a password. Look here: http://cygwin.com/ml/cygwin-xfree/2002-07/msg00475.html >From: "Zelkovitz, Sanford J (ZERO CHAOS)" <[EMAIL PROTECTED]> >To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> >Subject: Expect Script under X-Windows >Date: Mon, 22 Jul 2002 12:20:41 -0400 > >I have been trying without any success to write an expect script which >would >insert the password for ssh in an x-windows session. I am obviously doing >something wrong since all efforts have failed. Has anyone succeeded where I >have failed? > > >Sanford Zelkovitz _ Chat with friends online, try MSN Messenger: http://messenger.msn.com
Re: Expect Script under X-Windows
"Zelkovitz, Sanford J (ZERO CHAOS)" wrote: > > I have been trying without any success to write an expect script which would > insert the password for ssh in an x-windows session. I am obviously doing > something wrong since all efforts have failed. Has anyone succeeded where I > have failed? > > Sanford Zelkovitz Could you clarify? Which password do you mean exactly? The passphrase for your ssh keyring? If you script that, you might as well have no passphrase at all. -- Michel Bardiaux Peaktime Belgium S.A. Bd. du Souverain, 191 B-1160 Bruxelles Tel : +32 2 790.29.41