Other *NIXThis forum is for the discussion of any UNIX platform that does not have its own forum. Examples would include HP-UX, IRIX, Darwin, Tru64 and OS X.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I need to connect to 200 HPUX servers.Please answer below points.
1.Best way to connect to all servers remotely.
2.Can i connect servers using sshpass.Using sshpass ican connect to my Linux boxes remotely.cani do same thing in HPUX.If yes pls give its download link .Also mentionits steps.
1. The "best" way depends on your evaluation criteria. However, with those unknown so far, I would say to use their HP-UX Secure Shell derivative of OpenSSH. Established best practice then is to use key-based authentication and to turn off passwords, so that eliminates spending effort on sshpass while increasing flexibility and overall security.
2. Again as for connecting, you should use keys (but not DSA). If you modify your ~/.ssh/config file you can have shortcuts for each target. But with that number, things start to get unreasonable and you should look to using something like Ansible.
HP-UX has ssh so yes you can connect to them with ssh or PuTTY and sftp/scp or WinSCP or similar tools just as you do with your Linux systems. (You can ssh from Linux to HP-UX and vice-versa because of this.)
Since sshpass runs from the source rather than the target, to send login information to the target it works fine to HP-UX systems. I don't know if there is a precompiled sshpass to use FROM HP-UX to other systems. If you need that you could search on HP's site - they do offer a fair number of FOSS packages compiled for HP-UX.
Having said that, sshpass, by its very nature is very insecure as it requires you to use plain text passwords when you launch it. Rather than using that you could establish ssh trusts from your source to each of your targets so no password is required at all and then you wouldn't need sshpass.
You don't mention what version of HP-UX your 200 servers are running.
Last edited by MensaWater; 01-26-2017 at 11:27 AM.
I need to connect to 200 HPUX servers.Please answer below points.
1.Best way to connect to all servers remotely.
2.Can i connect servers using sshpass.Using sshpass ican connect to my Linux boxes remotely.cani do same thing in HPUX.If yes pls give its download link .Also mentionits steps.
Thanks
UN!Xr0ck$
Thanks all for the reply.......i have installed sshpass ononne linux server.By this i amable to connect all my unix boxes through sshpass.................Thanks all for the reply!!!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.