Discussion:
Gtacl dropping to service menu...
(too old to reply)
red floyd
2022-07-13 17:28:14 UTC
Permalink
[asking for a coworker]

I'm trying to launch a TACL macro through ssh from my PC, e.g.

ssh ***@system gtacl -c "\$VOL.SUBVOL.MACRO"

But when I do this, it drops to the service menu. I thought that
specifying a command would run the command instead of doing the service
menu.

1. Am I mistaken?
2. If I am mistaken, how do I achieve what I am attempting to do?

Thanks

red floyd
Randall
2022-07-13 19:04:33 UTC
Permalink
Post by red floyd
[asking for a coworker]
I'm trying to launch a TACL macro through ssh from my PC, e.g.
But when I do this, it drops to the service menu. I thought that
specifying a command would run the command instead of doing the service
menu.
1. Am I mistaken?
2. If I am mistaken, how do I achieve what I am attempting to do?
Thanks
red floyd
Check your INITIAL-PROGRAM setting in SafeCom
-R
j-ma...@pacbell.net
2022-07-14 02:27:02 UTC
Permalink
Try adding the "-T" option:

ssh -T ***@system gtacl -c "\$VOL.SUBVOL.MACRO"

Jon Marcus
red floyd
2022-07-14 05:33:07 UTC
Permalink
Post by j-***@pacbell.net
Jon Marcus
What worked for me wound up being:

ssh -s ***@system tacl -c "\$VOL.SUBVOL.MACRO"

(invoking the tacl subsystem)
Randall
2022-07-14 19:31:18 UTC
Permalink
Post by red floyd
Post by j-***@pacbell.net
Jon Marcus
(invoking the tacl subsystem)
So TACL got sent to the initial SSH prompt? In Putty, you use the Remote Command to get past this in the Connection/SSH window. Is the -c required or ignored?
red floyd
2022-07-15 00:38:05 UTC
Permalink
Post by Randall
Post by red floyd
Post by j-***@pacbell.net
Jon Marcus
(invoking the tacl subsystem)
So TACL got sent to the initial SSH prompt? In Putty, you use the Remote Command to get past this in the Connection/SSH window. Is the -c required or ignored?
Not sure. That's what we came up with that worked. It's to do some
build stuff under a Jenkins CI/CD pipeline invoked from either a Windows
or Linux box (don't know which).
j-ma...@pacbell.net
2022-07-15 03:49:58 UTC
Permalink
I believe that the "-T" option I recommended is the OpenSSL version of the Putty Remote Command option.

Jon Marcus
red floyd
2022-07-15 04:00:12 UTC
Permalink
Post by j-***@pacbell.net
I believe that the "-T" option I recommended is the OpenSSL version of the Putty Remote Command option.
Jon Marcus
-T in OpenSSH says "don't allocate a pty"
Randall
2022-07-15 18:47:05 UTC
Permalink
Post by Randall
Post by red floyd
Post by j-***@pacbell.net
Jon Marcus
(invoking the tacl subsystem)
So TACL got sent to the initial SSH prompt? In Putty, you use the Remote Command to get past this in the Connection/SSH window. Is the -c required or ignored?
Not sure. That's what we came up with that worked. It's to do some
build stuff under a Jenkins CI/CD pipeline invoked from either a Windows
or Linux box (don't know which).
You could use NSGit, you know :)

Loading...