- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: SSH within DCL command procedure
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2006 05:25 AM
тАО05-04-2006 05:25 AM
$ ssh nodename dir
it works fine from the command line, but from a command procedure I get this error:
dsa13:[sys0.syscommon.][sysexe]tcpip$ssh_ssh2.exe: FATAL: ssh_io_register_fd: fd 3 already registered!
%TCPIP-F-SSH_FATAL, non-specific fatal error condition
Any ideas?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2006 05:38 AM
тАО05-04-2006 05:38 AM
Re: SSH within DCL command procedure
You need to be current as the variou ECO kits contains many ssh fixes.
You may need the -n qualifier.
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2006 05:48 AM
тАО05-04-2006 05:48 AM
Re: SSH within DCL command procedure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2006 06:03 AM
тАО05-04-2006 06:03 AM
Re: SSH within DCL command procedure
Interestingly enough, when I tried this from the command line:
ssh -n nodename dir
I get the same exact error as I posted above, when I tried it from the command procedure.
Obviously I don't know how to use -n properly. Any guidance on the proper usage? Maybe if I knew that it would fix the original problem...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2006 08:34 AM
тАО05-04-2006 08:34 AM
Solutionalp $ type SSH_SHD.COM
$ ssh -o "batchmode yes" alp "show default"
alp $ @ SSH_SHD.COM
Authentication successful.
ALP$DKA0:[SMS]
Of course, it still hangs at the end until
the user hits
expects this stuff to work properly?
Also, "-t" tends to be useful for proper
line-endings when dealing with non-VMS hosts.
alp $ tcpip show version
HP TCP/IP Services for OpenVMS Alpha Version V5.4 - ECO 5
on a COMPAQ Professional Workstation XP1000 running OpenVMS V7.3-2
alp $ ssh "-V"
alp$dka0:[sys0.syscommon.][sysexe]tcpip$ssh_ssh2.exe: SSH Secure Shell OpenVMS (
V5.5) 3.2.0 on COMPAQ Professional Workstation - VMS V7.3-2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2006 11:23 PM
тАО05-04-2006 11:23 PM
Re: SSH within DCL command procedure
I like the "who really expects this stuff to work" comment - how true that is.
It seems to me that SSH on VMS is a real hack job, lots of bu... coughcough "features"
;-)
Now I'm trying to figure out how to eliminate the user having to press return "feature" - I've sort of gotten it to finish by assigning sys$output to a file prior to running the ssh command, but that only seems to work about 50% of the time... Strange.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2006 07:38 AM
тАО05-05-2006 07:38 AM
Re: SSH within DCL command procedure
real work-around. Perhaps some extra action
on the remote side would help, but I keep
hoping for a real fix before I have a real
need.
If you find something clever, be sure to post
it somewhere.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2006 02:46 AM
тАО05-08-2006 02:46 AM
Re: SSH within DCL command procedure
$ define/user sys$command nl:
$ ssh -o "batchmode yes" baltic dir
Seems to work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2006 03:00 AM
тАО05-08-2006 03:00 AM
Re: SSH within DCL command procedure
from your Forum Profile:
I have assigned points to 0 of 33 responses to my questions.
Maybe you can find some time to do some assigning?
http://forums1.itrc.hp.com/service/forums/helptips.do?#33
Mind, I do NOT say you necessarily need to give lots of points. It is fully up to _YOU_ to decide how many. If you consider an answer is not deserving any points, you can also assign 0 ( = zero ) points, and then that answer will no longer be counted as unassigned.
Consider, that every poster took at least the trouble of posting for you!
To easily find your streams with unassigned points, click your own name somewhere.
This will bring up your profile.
Near the bottom of that page, under the caption "My Question(s)" you will find "questions or topics with unassigned points " Clicking that will give all, and only, your questions that still have unassigned postings.
Thanks on behalf of your Forum colleagues.
PS. nothing personal in this. I try to post it to everyone with this kind of assignment ratio in this forum. If you have received a posting like this before please do not take offence none is intended!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2006 07:55 AM
тАО05-08-2006 07:55 AM
Re: SSH within DCL command procedure
Works here, too. Must be the functional
equivalent of what "-n" was supposed to do,
while an actual "-n" seems to be useless (as
does "$ define/user sys$input nl:").
Well, that was educational. I'll have to go
fix my scripts now.