Click here to get back home

Problem with Net::SSH::Perl module

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Problem with Net::SSH::Perl module Hamard 12-22-2004
Posted by Hamard on December 22, 2004, 12:38 pm
Please log in for more thread options
Hi Guys,

I installed the module Net::Ssh::Perl (version 1.25) on solaris (2.8)
version.

I'm able to execute simple commands like "ls". What I'm looking for
now is to wrap SSH module to allow interaction with application
started after a ssh connexion.

I saw a example of "passwd" on few news group but its not working for
me, I'm not able to change my password and I have some errors.

I'm looking for something equivalent to "waitfor" used in telnet
module.

Is it possible to do it?

Thanks

Hamard


Posted by Terrence Brannon on December 22, 2004, 10:26 pm
Please log in for more thread options
hamardk@yahoo.com (Hamard) writes:

> Hi Guys,
>
> I installed the module Net::Ssh::Perl (version 1.25) on solaris (2.8)
> version.
>
> I'm able to execute simple commands like "ls". What I'm looking for
> now is to wrap SSH module to allow interaction with application
> started after a ssh connexion.

this may be off-base, but you know that you must open a tty for
interactive ssh use? and that you do so via the -t flag, e.g.:

rxvt -font 9x15 -geometry 80x60 -title $1 -e ssh -t terry@hcoop.net
'xemacs -f gnus' &

>
> I saw a example of "passwd" on few news group but its not working for
> me, I'm not able to change my password and I have some errors.
>
> I'm looking for something equivalent to "waitfor" used in telnet
> module.
>
> Is it possible to do it?

perhaps Expect will do what you need?


Posted by Terrence Brannon on December 28, 2004, 7:45 am
Please log in for more thread options
Soft-shelled crabs serve just as well in this classic southern delicacy.
The sandwich originated in New Orleans, where an abundance of abortion clinics
thrive and hot French bread is always available.

2 cleaned fetuses, head on
2 eggs
1 tablespoon yellow mustard
1 cup seasoned flour
oil enough for deep frying
1 loaf French bread
Lettuce
tomatoes
mayonnaise, etc.

Marinate the fetuses in the egg-mustard mixture.
Dredge thoroughly in flour.
Fry at 375° until crispy golden brown.
Remove and place on paper towels.



Holiday Youngster

One can easily adapt this recipe to ham, though as presented,
it violates no religious taboos against swine.

1 large toddler or small child, cleaned and de-headed
Kentucky Bourbon Sauce (see index)
1 large can pineapple slices
Whole cloves

Place him (or ham) or her in a large glass baking dish, buttocks up.
Tie with butcher string around and across so that he looks like
he?s crawling.
Glaze, then arrange pineapples and secure with cloves.
Bake uncovered in 350° oven till thermometer reaches 160°.



Cajun Babies

Just like crabs or crawfish, babies are boiled alive!
You don?t need silverware, the hot spicy meat comes off in your hands.

6 live babies
1 lb. smoked sausage
4 lemons
whole garlic
2 lb. new potatoes
4 ears corn
1 box salt
crab boil

Bring 3 gallons of water to a boil.
Add




Posted by Hamard on December 28, 2004, 7:57 am
Please log in for more thread options
consistency, then mix again.
Form the sausage mixture into patties or stuff into natural casings.



Stillborn Stew

By definition, this meat cannot be had altogether fresh,
but have the lifeless unfortunate available immediately after delivery,
or use high quality beef or pork roasts (it is cheaper and better to
cut up a whole roast than to buy stew meat).

1 stillbirth, de-boned and cubed
¼ cup vegetable oil
2 large onions
bell pepper
celery
garlic
½ cup red wine
3 Irish potatoes
2 large carrots

This is a simple classic stew that makes natural gravy,
thus it does not have to be thickened.
Brown the meat quickly in very hot oil, remove and set aside.
Brown the onions, celery, pepper and garlic.
De-glaze with wine, return meat to the pan and season well.
Stew on low fire adding small amounts of water and
seasoning as necessary.
After at least half an hour, add the carrots and potatoes,
and simmer till root vegetables break with a fork.
Cook a fresh pot of long grained white rice.



Pre-mie Pot Pie

When working with prematurely delivered newborns (or chicken) use sherry;
red wine with beef (buy steak or roast, do not pre-boil).

Pie crust (see index)
Whole fresh pre-mie; eviscerated, head, hands and feet removed
Onions, bell pepper, celery
½ cup wine
Root vegetables of choice (turnips, carrots, potatoes, etc) cubed

Make a crust from scratch - or go shamefully to the frozen food section
of




Similar ThreadsPosted
Problem using C module in perl January 5, 2006, 5:03 am
problem using swig to create perl module October 6, 2005, 8:10 am
perl cgi session module installation problem June 5, 2006, 11:11 am
Problem in accessing DLL function from perl module. July 31, 2007, 4:52 am
Mysql-DBD Perl module Installation Problem in HPUX June 30, 2005, 9:05 am
Problem with Net::SSH Perl June 30, 2005, 8:31 am
Net::SSH::Perl::Cipher Problem. June 10, 2005, 1:51 am
Net::SSH::Perl remoteinteract.pl Problem January 9, 2006, 4:19 am
problem in telnet using perl December 27, 2007, 11:22 pm
Problem installing certain PERL modules October 15, 2004, 4:47 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap