LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 02-08-2012, 01:40 PM   #1
anizzardini
LQ Newbie
 
Registered: Feb 2012
Location: maryland
Posts: 4

Rep: Reputation: Disabled
HPUX ssh issue


Hello, new to the unix world. I can telnet into the host but getting connection refused when trying to ssh. I'm guessing I need to enable a function but not sure what it is.
 
Old 02-08-2012, 01:50 PM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,195

Rep: Reputation: 469Reputation: 469Reputation: 469Reputation: 469Reputation: 469
What version of HP-UX? Run "uname -a" and it will show you.

Is the secure shell package installed? Run "swlist |grep -i "secure shell"" to see. This is the package that has sshd (ssh daemon) in it.

Is sshd running? Run "ps -ef |grep sshd" to check.

If Secure Shell is installed and sshd isn't running you ought to be able to start it by running "/sbin/init.d/secsh start".

If that starts it you should check /sbin/rc?.d for links back to that file. Chances are they aren't there which is why it didn't start automatically. On an HP-UX 11.11 system the links I have are:
lrwxr-xr-x 1 root sys 18 Jan 21 2005 /sbin/rc1.d/K393secsh -> /sbin/init.d/secsh
lrwxr-xr-x 1 root sys 18 Jan 21 2005 /sbin/rc2.d/S393secsh -> /sbin/init.d/secsh
(The K link stops secure shell on shutdown in run level 1 and the S link starts it on boot in run level 2.)

Once you have sshd running you should really think about disabling telnet and ftp access (and likely rlogin/rexec) because they are insecure transport mechanisms. Of course you'd want to verify nothing in your environment was relying upon them before you turned them off.
 
Old 02-08-2012, 05:37 PM   #3
anizzardini
LQ Newbie
 
Registered: Feb 2012
Location: maryland
Posts: 4

Original Poster
Rep: Reputation: Disabled
I am running 11.11, looks like I do not have that installed. Looks like I need to install the software. FYI I have never set up a depot.
 
Old 02-09-2012, 02:40 PM   #4
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,195

Rep: Reputation: 469Reputation: 469Reputation: 469Reputation: 469Reputation: 469
If you can locate the application CD it is on you can mount the CD then use swinstall to select the CD as your source for the install.
 
Old 02-09-2012, 03:08 PM   #5
anizzardini
LQ Newbie
 
Registered: Feb 2012
Location: maryland
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank you, I have located the apps cd. When I run swinstall I see the products on the cd. Is there a way to select secure ssh?
 
Old 02-10-2012, 02:58 PM   #6
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,195

Rep: Reputation: 469Reputation: 469Reputation: 469Reputation: 469Reputation: 469
On one of my systems swlist shows it as:
T1471AA A.04.00.000 HP-UX Secure Shell
You may have an earlier or later version depending on the CD. Truth to tell its been so long since I installed from a CD that I don't really remember. (I do have a depot on one of my servers that we swcopy'd the packages into long ago.)
 
Old 02-10-2012, 03:06 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,627
Blog Entries: 10

Rep: Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776
Moved: This thread is more suitable in <Other *nix> and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 02-10-2012, 05:59 PM   #8
anizzardini
LQ Newbie
 
Registered: Feb 2012
Location: maryland
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mutt for HPUX samash Other *NIX 2 03-25-2008 07:56 AM
[SSH] Issue logging in [SSH & Permissions] MD3 Linux - Networking 11 12-10-2006 09:25 AM
how to enable ssh in hpux gsr_kashyap Other *NIX 10 03-13-2006 03:43 AM
ssh issue: /usr/bin/ssh -x -oFallBackToRsh no -l WeNdeL Linux - Software 1 03-04-2003 07:17 PM


All times are GMT -5. The time now is 02:33 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration