LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Other *NIX (https://www.linuxquestions.org/questions/other-%2Anix-55/)
-   -   Connecting HPUX Servers remotely (https://www.linuxquestions.org/questions/other-%2Anix-55/connecting-hpux-servers-remotely-4175598292/)

Ankushkalra 01-26-2017 08:40 AM

Connecting HPUX Servers remotely
 
Hi,

I am new to HPUX .

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$

Turbocapitalist 01-26-2017 10:07 AM

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.

MensaWater 01-26-2017 10:14 AM

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.

Ankushkalra 01-28-2017 09:06 AM

Quote:

Originally Posted by Ankushkalra (Post 5660460)
Hi,

I am new to HPUX .

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!!!!

Thanks
UN!Xr0ck$


All times are GMT -5. The time now is 04:11 AM.