- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: SSH Script
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
тАО11-19-2007 02:05 AM
тАО11-19-2007 02:05 AM
SSH Script
I have set up ssh public key authentication between two VMS nodes using SSH2. I'm attempting to write a DCL script which I will submit as a batch job to run commands remotely on of the nodes. When I attempt to execute a simple dcl script to connect to the other node using ssh I receive the following
%TCPIP-F-SSH_FATAL, non-specific fatal error condition
Is it possible to do this or should I attempt it using an alternative such as rsh.
Any help would be great
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2007 02:26 AM
тАО11-19-2007 02:26 AM
Re: SSH Script
> script [...]
If it's that simple, why not show us the
thing, instead of encouraging pointless
guesswork?
Interactive SSH works?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2007 02:35 AM
тАО11-19-2007 02:35 AM
Re: SSH Script
Did you leave out the part about "FATAL:
ssh_io_register_fd: fd 3 already
registered!"? There's a cure for that:
-o "batchmode yes"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2007 03:09 AM
тАО11-19-2007 03:09 AM
Re: SSH Script
There is only one line the script as I was simply attempting to connect to the other node.
ssh xxx.xxx.xxx.xxx
it connects fine when this is enetered at the prompt but when its run in a script I get %TCPIP-F-SSH_FATAL, non-specific fatal error condition
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2007 03:38 AM
тАО11-19-2007 03:38 AM
Re: SSH Script
It worked fine when ran interactively but when ran in batch mode it hangs after it displays authentication successful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2007 04:03 AM
тАО11-19-2007 04:03 AM
Re: SSH Script
"although" means.
So, you're happy now, or what still doesn't
work?
> ssh xxx.xxx.xxx.xxx
With no command to run, what did you expect
this to do?
Is there some actual task you're trying to
perform?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2007 05:17 AM
тАО11-19-2007 05:17 AM
Re: SSH Script
This is the exact command that I want to run in batch mode. Keep in mind that it works interactively.
ssh 10.222.65.212 -o "batchmode yes"
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2007 05:19 AM
тАО11-19-2007 05:19 AM