Re: [opensuse] How can I give the password to an ssh session on the command line?

2008-01-28 Thread Aaron Kulkis
Carlos E. R. wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I want to enter an ssh session without having to type the password (to be used by a script). The remote is a router with embedded, and it is not possible to create public key pairs because it is not a shell, but one

Re: [opensuse] How can I give the password to an ssh session on the command line?

2008-01-28 Thread Aaron Kulkis
Jim Cunning wrote: On Friday 25 January 2008 13:25:25 Ken Schneider wrote: Hans Witvliet pecked at the keyboard and wrote: On Fri, 2008-01-25 at 14:12 +0100, Carlos E. R. wrote: [...] I want to enter an ssh session without having to type the password (to be used by a script). The remote

Re: [opensuse] How can I give the password to an ssh session on the command line?

2008-01-28 Thread Carlos E. R.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The Saturday 2008-01-26 at 06:27 -0500, Aaron Kulkis wrote: ... He can generate keys on his local system, however, it is not possible to store either part on the router. I have a similar type of router... it's a dumb little machine meant stricty

Re: [opensuse] How can I give the password to an ssh session on the command line?

2008-01-28 Thread Carlos E. R.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The Friday 2008-01-25 at 09:40 -0500, Aaron Kulkis wrote: I want to enter an ssh session without having to type the password (to be used by a script). The remote is a router with embedded, and it is not possible to create public key pairs

Re: [opensuse] How can I give the password to an ssh session on the command line?

2008-01-25 Thread Carlos E. R.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The Friday 2008-01-25 at 15:54 -0800, Jim Cunning wrote: Interesting. It might be possible to modify the firmware image before re-flashing the device, if it is a bootable disk image. For example, the IPcop router software is available as a

Re: [opensuse] How can I give the password to an ssh session on the command line?

2008-01-25 Thread Carlos E. R.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The Friday 2008-01-25 at 14:03 -0800, Jim Cunning wrote: On Friday 25 January 2008 13:25:25 Ken Schneider wrote: Hans Witvliet pecked at the keyboard and wrote: On Fri, 2008-01-25 at 14:12 +0100, Carlos E. R. wrote: [...] I want to enter an

Re: [opensuse] How can I give the password to an ssh session on the command line?

2008-01-25 Thread Jim Cunning
On Friday 25 January 2008 15:08:57 Carlos E. R. wrote: The Friday 2008-01-25 at 14:03 -0800, Jim Cunning wrote: [...] However, it may not be possible to copy his public key to the 'remote' router with embedded (linux?). Carlos didn't say what limited commands were available, or whether it

Re: [opensuse] How can I give the password to an ssh session on the command line?

2008-01-25 Thread Jim Cunning
On Friday 25 January 2008 13:25:25 Ken Schneider wrote: Hans Witvliet pecked at the keyboard and wrote: On Fri, 2008-01-25 at 14:12 +0100, Carlos E. R. wrote: [...] I want to enter an ssh session without having to type the password (to be used by a script). The remote is a router with

Re: [opensuse] How can I give the password to an ssh session on the command line?

2008-01-25 Thread Ken Schneider
Carlos E. R. pecked at the keyboard and wrote: snip [EMAIL PROTECTED]'s password: - The ping command is not sent... Ah, got it! expect [EMAIL PROTECTED]'s password: send \n expect - send ping -c 5 192.168.1.12\n interact THANK YOU! :-))) (I need the

Re: [opensuse] How can I give the password to an ssh session on the command line?

2008-01-25 Thread Roger Oberholtzer
To -- Roger Oberholtzer OPQ Systems / Ramböll RST Ramböll Sverige AB Kapellgränd 7 P.O. Box 4205 SE-102 65 Stockholm, Sweden Tel: Int +46 8-615 60 20 Fax: Int +46 8-31 42 23 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [opensuse] How can I give the password to an ssh session on the command line?

2008-01-25 Thread james wright
On Friday 25 January 2008 08:37:24 am Ken Schneider wrote: Carlos E. R. pecked at the keyboard and wrote: Hi, I want to enter an ssh session without having to type the password (to be used by a script). The remote is a router with embedded, and it is not possible to create public key

Re: [opensuse] How can I give the password to an ssh session on the command line?

2008-01-25 Thread Ken Schneider
Carlos E. R. pecked at the keyboard and wrote: Hi, I want to enter an ssh session without having to type the password (to be used by a script). The remote is a router with embedded, and it is not possible to create public key pairs because it is not a shell, but one with a limited

Re: [opensuse] How can I give the password to an ssh session on the command line?

2008-01-25 Thread Ken Schneider
Hans Witvliet pecked at the keyboard and wrote: On Fri, 2008-01-25 at 14:12 +0100, Carlos E. R. wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I want to enter an ssh session without having to type the password (to be used by a script). The remote is a router with embedded, and

Re: [opensuse] How can I give the password to an ssh session on the command line?

2008-01-25 Thread Hans Witvliet
On Fri, 2008-01-25 at 14:12 +0100, Carlos E. R. wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I want to enter an ssh session without having to type the password (to be used by a script). The remote is a router with embedded, and it is not possible to create public key

[opensuse] How can I give the password to an ssh session on the command line?

2008-01-25 Thread Carlos E. R.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I want to enter an ssh session without having to type the password (to be used by a script). The remote is a router with embedded, and it is not possible to create public key pairs because it is not a shell, but one with a limited command

Re: [opensuse] How can I give the password to an ssh session on the command line?

2008-01-25 Thread Carlos E. R.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The Friday 2008-01-25 at 10:01 -0500, james wright wrote: On Friday 25 January 2008 08:37:24 am Ken Schneider wrote: Try using expect to do what you want. I used expect when connecting to Cisco routers to do configuration changes with the

Re: [opensuse] How can I give the password to an ssh session on the command line?

2008-01-25 Thread Roger Oberholtzer
Ignore previous odd post. To get you started, there is autoexpect. Check the man page. Essentially, you do your thing once and autoexpect saves what is needed to automate it. The script usually needs editing to remove things that are too specifc. But it does the grunt work. expect does much more

Re: [opensuse] How can I give the password to an ssh session on the command line?

2008-01-25 Thread Carlos E. R.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The Friday 2008-01-25 at 20:15 +0100, Roger Oberholtzer wrote: Ignore previous odd post. :-) To get you started, there is autoexpect. Check the man page. Ah! :-) Essentially, you do your thing once and autoexpect saves what is needed to