- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: "SSH <command>" from .COM - FATAL: ssh_io_regi...
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
Forums
Discussions
Discussions
Discussions
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
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
02-23-2005 03:13 PM
02-23-2005 03:13 PM
"SSH <command>" from .COM - FATAL: ssh_io_register_fd: fd 3 already registered!
alp $ type %sh_test.com
ALP$DKA0:[SMS]RSH_TEST.COM;1
$ rsh alp "show default"
ALP$DKA0:[SMS]SSH_TEST.COM;1
$ ssh alp "show default"
alp $ tcpip show vers
HP TCP/IP Services for OpenVMS Alpha Version V5.4 - ECO 4
on a AlphaStation 200 4/233 running OpenVMS V7.3-1
Fun:
alp $ @ RSH_TEST.COM
ALP$DKA0:[SMS]
alp $ @ SSH_TEST.COM
FATAL: ssh_io_register_fd: fd 3 already registered!
%TCPIP-F-SSH_FATAL, non-specific fatal error condition
Interactively, it's better, but sub-ideal:
alp $ ssh alp "show default"
Authentication successful.
ALP$DKA0:[SMS]
[Hangs here until a key-press, then...]
alp $
Any good reason for this stuff to act this way?
Any good reason that JavaScript is required to submit a message here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2005 05:34 PM
02-23-2005 05:34 PM
Re: "SSH <command>" from .COM - FATAL: ssh_io_register_fd: fd 3 already registered!
SSH.COM:
$ assign/user sys$command sys$input
$ ssh alp "sh def"
seems to work for me, but the 'wait for a key to be pressed ' happens here also.
mfg Kalle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2005 06:47 PM
02-23-2005 06:47 PM
Re: "SSH <command>" from .COM - FATAL: ssh_io_register_fd: fd 3 already registered!
This will work, but only when you run this from a terminal. Try $ SUBMIT SSH.COM and you will receive the same error. This is, because ssh expects a terminal as SYS$INPUT,... The same is when you use ssh in a PIPE command. Try:
$ PIPE WRITE SYS$OUTPUT "show default" | SSH ALP
Same error.
So the ssh command is interactive only, and you can not use it in noninteractive command procedures.
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2005 01:35 AM
02-24-2005 01:35 AM
Re: "SSH <command>" from .COM - FATAL: ssh_io_register_fd: fd 3 already registered!
Working from the manual, I tried
$ ssh localhost "show system"
and that one does not wait for a key...
BTW: Process Software's SSH implementation doesn't show this behaviour.
cu,
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2005 05:27 PM
02-24-2005 05:27 PM
Re: "SSH <command>" from .COM - FATAL: ssh_io_register_fd: fd 3 already registered!
> noninteractive command procedures.
Well, duh! Perhaps that's because it's
broken. On a Solaris system, for example:
ung% uname -a
SunOS ung 5.9 Generic_112233-11 sun4u sparc SUNW,Ultra-1
ung% ssh -V
SSH Version Sun_SSH_1.0, protocol versions 1.5/2.0.
ung% find . -name '*_test.sh' -print -exec cat {} \; -exec echo '' \;
./rsh_test.sh
#!/bin/sh
rsh ung 'pwd'
./ssh_test.sh
#!/bin/sh
ssh ung 'pwd'
ung% ./rsh_test.sh
/usr/users/sms
ung% ./ssh_test.sh
/usr/users/sms
No hangs, no problems, just expected output.
For a really good time, try:
ssh_keygen -e key_file_name
I got:
alp $ ssh_keygen -e SMS_ppt_ID_DSA_1024_A
Passphrase needed for key "1024-bit dsa, sms@alp.antinode.org, Fri Jun 27 2003 0
Passphrase :
Do you want to edit key "1024-bit dsa, sms@alp.antinode.org, Fri Jun 27 2003 03:
57:52"
Key unedited and unsaved.lling tty. Cannot read confirmation.
After a SET HOST /LOG, I managed to
unmangle the overwritten text:
You have no controlling tty. Cannot read confirmation.
Key unedited and unsaved.
Now and then a
tempted to ask what I need to do to obtain
a "controlling tty", but I'll refrain. For
the morbidly curious:
alp $ ssh_keygen "-V"
alp$dka0:[sys0.syscommon.][sysexe]tcpip$ssh_ssh-keygen2.exe version 2.4.1, compiled Nov 9 2004.
Tell me that this is all better in TCPIP
V5.5. (Is anyone testing this stuff?)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2005 09:01 AM
02-25-2005 09:01 AM
Re: "SSH <command>" from .COM - FATAL: ssh_io_register_fd: fd 3 already registered!
I see that you are still on OpenVMS v7.3-1. To use TCP/IP Services V5.5, you must upgrade to OpenVMS v8.2 first; at least that`s what the release notes say.
Enjoy,
--Jeff
ex-Zycadian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2005 03:36 PM
02-25-2005 03:36 PM
Re: "SSH <command>" from .COM - FATAL: ssh_io_register_fd: fd 3 already registered!
If the hfa-mn.org e-mail address I (Google)
found is no good, send me a better one.
I'm just a lowly hobbyist. It's only
through the kindness of a stranger that I have
even V5.4. Are you loaning out fresh CD-ROMs
to friendly peons? (I provide pick-up and
return service.)
Also, I suppose it's fair to note that the
release notes (SYS$HELP:TCPIP054.RELEASE_NOTES)
mention one of these problems:
After you execute an SSH remote command, you might need
to press the
I feel much happier now, knowing this.
sms@antinode-org