LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX
User Name
Password
Other *NIX This 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


Reply
  Search this Thread
Old 01-26-2017, 08:40 AM   #1
Ankushkalra
Member
 
Registered: Jan 2017
Posts: 48

Rep: Reputation: Disabled
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$
 
Old 01-26-2017, 10:07 AM   #2
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,307
Blog Entries: 3

Rep: Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721
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.
 
Old 01-26-2017, 10:14 AM   #3
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
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.
 
Old 01-28-2017, 09:06 AM   #4
Ankushkalra
Member
 
Registered: Jan 2017
Posts: 48

Original Poster
Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by Ankushkalra View Post
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$
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
question about connecting remotely cadogan222 Linux - Newbie 1 02-23-2010 05:06 AM
Connecting remotely to samba vibrancy Linux - Networking 2 11-17-2006 10:09 PM
Connecting remotely to GUI deWin Linux - Networking 0 03-03-2004 01:15 PM
Connecting remotely from internet pyre Linux - Newbie 2 01-29-2004 11:10 AM
connecting remotely to unix djappelsap Linux - Networking 6 10-27-2001 12:20 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX

All times are GMT -5. The time now is 08:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration