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
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
-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
-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
-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
-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
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
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
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
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]
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
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
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
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
-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
-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
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
-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
18 matches
Mail list logo