From: Hailey N. <Hai...@Su...> - 2003-10-03 01:23:09
|
I can't thank you enough! Made my day - wait my week actually! Thank You so much Chris, Hailey >> Did you write something like this before. Can I have an example? > Yes I did. Sure, here it is. > > This is more than an example, It is a fully working implementation of a > so called "looping login" scheme. It works for an arbitrary number of > hosts. It was also designed to work with ssh, and not telnet. You will > have to go through and make the relevant changes to make it work with > telnet. Optionally, you might consider using ssh -if possible-, as it is > more secure than telnet. > > This will log you into all of the given hosts and leave you with a $exp > that is valid on the final host. > > This is a subroutine. The usage explanation of it is at the bottom of > the code segment. > > I hope this helps. > |