Operating System - OpenVMS
1820213
Members
3699
Online
109620
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО11-20-2007 07:54 AM
тАО11-20-2007 07:54 AM
SSH Hangs
Hi,
I'm using ssh to connect to anouther vms node and execute a .com file. The command that I am using is as follows
ssh xxx.xxx.xxx.xxx -o "batchmode yes" @sys$sysdevice:[users.frank]script.com;
after the script runs it just hangs. I attempted to add line that reads exit in the COM file that it's executing. This never helped.
Thanks
I'm using ssh to connect to anouther vms node and execute a .com file. The command that I am using is as follows
ssh xxx.xxx.xxx.xxx -o "batchmode yes" @sys$sysdevice:[users.frank]script.com;
after the script runs it just hangs. I attempted to add line that reads exit in the COM file that it's executing. This never helped.
Thanks
- Tags:
- ssh
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2007 08:30 AM
тАО11-20-2007 08:30 AM
Re: SSH Hangs
Anything in here look helpful?
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1024771
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1024771
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2007 12:47 AM
тАО11-22-2007 12:47 AM
Re: SSH Hangs
Does it still hang if you put
$ logout
at the end of the command procedure ?
You could make that
$ if f$mode() .eqs. "BATCH" then logout
but I have not yet checked what mode an SSH remote batchmode runs as, so you will probably need to amend it accordingly.
I have never needed to try this before, and I get:-
warning: Authentication failed.
Disconnected; no more authentication methods available (No further authentication methods available.).
I guess I need to setup proxies or something, no time now to read up on what's needed.
JT:
$ logout
at the end of the command procedure ?
You could make that
$ if f$mode() .eqs. "BATCH" then logout
but I have not yet checked what mode an SSH remote batchmode runs as, so you will probably need to amend it accordingly.
I have never needed to try this before, and I get:-
warning: Authentication failed.
Disconnected; no more authentication methods available (No further authentication methods available.).
I guess I need to setup proxies or something, no time now to read up on what's needed.
JT:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2007 01:14 AM
тАО11-22-2007 01:14 AM
Re: SSH Hangs
> Does it still hang if you put
> $ logout
> at the end of the command procedure ?
Locally, the SSH command hangs. Anything
after that doesn't matter. On the remote
side, it doesn't matter.
> I have never needed to try this before
> [...]
I'd suggest getting SSH to work
interactively, then worrying about the fancy
stuff. (After reading the instructions, if
it still fails, try "ssh -v [...]".)
> [...] I have not yet checked what mode an
> SSH remote batchmode runs as, [...]
NETWORK, same as without "batchmode yes".
This "batchmode" is unrelated to VMS BATCH
mode.
Returning to the real world, so far, I
haven't found anything to beat the "define
/user sys$command nl:" method already
suggested.
> $ logout
> at the end of the command procedure ?
Locally, the SSH command hangs. Anything
after that doesn't matter. On the remote
side, it doesn't matter.
> I have never needed to try this before
> [...]
I'd suggest getting SSH to work
interactively, then worrying about the fancy
stuff. (After reading the instructions, if
it still fails, try "ssh -v [...]".)
> [...] I have not yet checked what mode an
> SSH remote batchmode runs as, [...]
NETWORK, same as without "batchmode yes".
This "batchmode" is unrelated to VMS BATCH
mode.
Returning to the real world, so far, I
haven't found anything to beat the "define
/user sys$command nl:" method already
suggested.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP