Midrange News for the IBM i Community


Posted by: Bob Cozzi
Rogue Programmer
Cozzi Productions, Inc.
Chicagoland
Using TELNET for Passthru --Bypassing Signon?
has no ratings.
Published: 20 Oct 2011
Revised: 23 Jan 2013 - 1553 days ago
Last viewed on: 25 Apr 2017 (3401 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

Using TELNET for Passthru --Bypassing Signon? Published by: Bob Cozzi on 20 Oct 2011 view comments(2)

We use TELNET xxx to jump onto another box for the Command Line.

I have a requirement to allow a user to select a menu option and have them presented with a Menu that exists on another box.

I created a menu option that runs this:

TELNET RMTSYS(TESTSYS) RMTUSER(TSTUSR) RMTPWD(rosebud) RMTINLPGM(WHATEVER)

Up until now, I never used RMTUSER or RMTPWD. I was under the impression, however, that using those parameters would mean the signon screen would NOT be displayed. But what is happening is the signon screen IS displayed.

Is there a way to use TELNET to pass through transparently to the other system? I really don't want to make them signon again for testing.

Return to midrangenews.com home page.
Sort Ascend | Descend

COMMENTS

(Sign in to Post a Comment)
Posted by: BrianR
Premium member *
Green Bay, WI
Comment on: Using TELNET for Passthru --Bypassing Signon?
Posted: 5 years 6 months 6 days 16 hours 19 minutes ago

Check the QRMTSIGN system value of the target box.  The default value is *FRCSIGNON which will cause the behavior you describe.  Ours is set to *VERIFY which bypasses the signon screen.

Posted by: bobcozzi
Site Admin ****
Chicagoland
Comment on: Using TELNET for Passthru --Bypassing Signon?
Posted: 5 years 6 months 6 days 15 hours 30 minutes ago
Edited: Sun, 20 Nov, 2011 at 09:52:07 (1983 days ago)

That WAS it. Thanks!