- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- using ssh in ha-environment with mc service-guard
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
07-07-2003 05:55 AM
07-07-2003 05:55 AM
I am going to introduce ssh/scp in my network with several mcsg-cluster. For my cron-Jobs I need remote-access via null-ssh-password. Everything works fine but if I use the relocatable hostname/IPA after the mcsg-package-switch I am not able to access the remote host without manual interaction:
- I have to remove the line from known_hosts
- I have to answer "yes" (see below)
ssh rdbcid88 date
The authenticity of host 'rdbcid88 (192.168.1.57)' can't be established.
RSA key fingerprint is fe:7b:8f:32:e6:b9:ca:6d:e3:ee:8b:2b:17:7f:0f:51.
Are you sure you want to continue connecting (yes/no)?
...
Following trick produce the same problem:
print "ssh rdbcid88 date <<-EOF\nyes\nEOF" > /var/tmp/ssh.exe
chmod 750 /var/tmp/ssh.exe
cat /var/tmp/ssh.exe
ssh rdbcid88 date <<-EOF
yes
EOF
Any Ideas how to "autoinsert" yes to the above question or how to handle mcsg-ha-environment with ssh?
Thank in advance for your reply
Regards:
Martin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2003 06:02 AM
07-07-2003 06:02 AM
Re: using ssh in ha-environment with mc service-guard
I do not think this is a serviceguard issue. I think its likely a permissions issue with the process by which you exchanged public keys.
This document covers this topic and works equally well on many Linux distributions with openssh.
As always, though I'd recommend being on 3.50 of Secure shell, the HP deopots.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2003 06:18 AM
07-07-2003 06:18 AM
Re: using ssh in ha-environment with mc service-guard
thanks for your reply!
I didn't found any new information for me in yout attached document. The described procedure was also followed by me several weeks ago.
My configuration works fine with "null-password" with the stationary hostname/IPA of all mcsg-cluster-nodes.
I think the problem is the relocatable hostname/IPA.
My configuration works fine also with the relocatable hostname/IPA until the package switch occurs.
Regards:
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2003 07:21 AM
07-07-2003 07:21 AM
SolutionYou will need to copy ssh_host_key, ssh_host_dsa_key, and ssh_host_rsa_key, as well as restarting sshd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2003 08:42 PM
07-07-2003 08:42 PM
Re: using ssh in ha-environment with mc service-guard
If you want to "autoinsert" any text, you could try using "expect".
Hope this helps.
-Brian.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2003 01:37 AM
07-08-2003 01:37 AM
Re: using ssh in ha-environment with mc service-guard
it works!
################
Hi Brian,
thanks for your proposal.
I am using the current version of hp-ssh:
T1471AA A.03.50.000 HP-UX Secure Shell
The patchlevel of client and server is also current.
Could you please explain where (and how) to activate the "expect"-feature:
- on client or server?
- file?
Thanks in advance!
Regards:
Martin