Jump to content
Sign in to follow this  
smalley

Send command??

Recommended Posts

smalley

I have the following issue:-

I have a variable $nisuserid ==== smallp4

I have the following command that I try to execute in a PuttY session:-

send ("ssh -l") ($nisuserid) ("(199.80.49.153")

The command above doesn't work...

In summary what I want to see on the screen is ssh -l smallp4 199.80.49.153

Can someone help please?

Share this post


Link to post
Share on other sites
enaiman

send ("ssh -l "&$nisuserid&" 199.80.49.153")

maybe??


SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script

wannabe "Unbeatable" Tic-Tac-Toe

Paper-Scissor-Rock ... try to beat it anyway :)

Share this post


Link to post
Share on other sites
smalley

Brilliant......worked a treat... thanks very much for your help!!!!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×