- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: SSH question
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
11-04-2008 01:17 AM
11-04-2008 01:17 AM
Before you all start pulling yer hair out with my question, let me start by saying i'm new to HP-UX and SSH so need to get a simple answer before considering the technical approach to my problem.
Basically, i want to get my HP-UX server working on SSH from remote access as opposed to telnet access as has been the case until now.
I have found hundreds of threads and papers that have simply blown me away. Can someone offer a simple, 2D response to the following (before looking at what needs to be installed, setup etc.
I wish to setup SSH whereby users are always asked the passwords, no keys required i guess, right? Therefore, whats the easiest way to setup SSH on my HP-UX 11.i server?
My knowledge of installing stuff on this OS is also basic, so please bet gentle and the more "For Dummies" approach you take to educate me the better :-)
Hoping someone finds the patience......
A Million thanks!
Dwayne
Solved! Go to Solution.
- Tags:
- ssh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2008 01:26 AM
11-04-2008 01:26 AM
Re: SSH question
Can i know what SSH application your are using is OpenSSH or Tectia or any other?
Cheers,
Amar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2008 01:33 AM
11-04-2008 01:33 AM
Solutionhttp://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=T1471AA
...and download ssh if you dont already got it.
And instead of reinventing the wheel. I will refer to this document:
How to install:
http://docs.hp.com/en/5992-4213/ch02s02.html#babcefha
...and the entire document:
http://docs.hp.com/en/5992-4213/index.html
You dont have to read on all the configuration-things, just concentrate on how to install.
When its done, test it. If it works, disable ftp, telnet rlogin etc. in /etc/inetd.conf (by marking those lines out with a #), and restarting the inetd (/sbin/init.d/inetd stop and then /sbin/init.d/inetd start). This will prevent use of those unsecure services. BUT - remember to take a copy of /etc/inetd.conf before you do the changes, then you will have a chance to roll back if something fails.
Please, just ask here if you got any additional questions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2008 01:35 AM
11-04-2008 01:35 AM
Re: SSH question
Thanks for the very prompt response. Basically, to answer the 1st question, i am using either Putty or an application we use in house called Reflection.
With regards the rest, i take it there's no way of setting up SSH without installing stuff, correct? Its not as straight forward as connecting from any remote PC via telnet.
Darn! I'll give your recommendations a try anyway.
thanks laods
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2008 01:35 AM
11-04-2008 01:35 AM
Re: SSH question
PubkeyAuthentication NO
http://www.docs.hp.com/en/5992-4213/apas02.html#v1230053
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2008 01:57 AM
11-04-2008 01:57 AM
Re: SSH question
i've installed and tested it. It connects PERFECTLY now. Million thanks for doing just what i pledged for - simple explanation of my problem.
I really appreciate this. I was always looking much deeper and thats why i think i kept getting overwhelmed and lost.
I shall now proceed to blocking other forms of access as recommended.
Thanks again guys ;-)
Dwayne
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2008 02:11 AM
11-04-2008 02:11 AM
Re: SSH question
If their answers were helpful, please read the following about assigning points:
http://forums.itrc.hp.com/service/forums/helptips.do?#33
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2008 02:18 AM
11-04-2008 02:18 AM
Re: SSH question
ANy advice? I have tested via telnet and still connect.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2008 02:21 AM
11-04-2008 02:21 AM
Re: SSH question
Press ESC
:x!
then you write and exit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2008 02:41 AM
11-04-2008 02:41 AM
Re: SSH question
Or you can use
Hit Esc
then
:wq!
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2008 02:47 AM
11-04-2008 02:47 AM
Re: SSH question
Why when i do a CAT on inetd.conf i get a different content to VI inetd.conf?
If i do CAT i see no TELNET entries listed. If i do VI, i see telnet but i always loose the # i put infront of it.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2008 02:55 AM
11-04-2008 02:55 AM
Re: SSH question
Please set your terminal.
can you post your .profile
I think due to terminal setting you are facing this problem.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2008 02:59 AM
11-04-2008 02:59 AM
Re: SSH question
echo $TERM
and lets see your profile:
cat ~/.profile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2008 03:03 AM
11-04-2008 03:03 AM
Re: SSH question
profile = export TERM
EDITOR=vi
export EDITOR
fi # if !VUE
# Set up shell environment:
set -u # error if undefined variable.
trap "echo 'logout root'" 0 # what to do on exit.
# Set up shell variables:
MAIL=/var/mail/root
# don't export, so only login shell checks.
echo "WARNING: YOU ARE SUPERUSER !!\n"
# Inserted by MV38 installation
export MV38=/opt/mv38/MV38v11.3.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2008 03:13 AM
11-04-2008 03:13 AM
Re: SSH question
Logout and login again - see if it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2008 03:20 AM
11-04-2008 03:20 AM
Re: SSH question
As said by Danny did you changed vt220 to vt100
if yes then tell us still you are facing problem.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2008 03:35 AM
11-04-2008 03:35 AM
Re: SSH question
Thanks guys. You've been incredible!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2008 04:12 AM
11-04-2008 04:12 AM
Re: SSH question
KEEP ASSIGNING POINTS TO THOSE WHO SPEND THEIR VALUABLE TIME FOR YOU.
http://forums11.itrc.hp.com/service/forums/helptips.do?#33
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2008 04:34 AM
11-04-2008 04:34 AM
Re: SSH question
Take care everybody
Yours
Danny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2008 07:11 AM
11-04-2008 07:11 AM
Re: SSH question
One last thing. ever since i played around with the VT profile changes, i keep getting this at the prompt on first login:
# rofile[54]: vt100: not found.t220".
Before at first login i simply got the # prompt awaiting my input. Now i have to type CLEAR before being able to continue with my input.
Any ideas.
dwayne
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2008 07:18 AM
11-04-2008 07:18 AM
Re: SSH question
did you apply this to line 54?
"echo vt100 >> ~/.profile"
I wonder what this should be used for ...
I'm sure you have something wrong in line 54 of your profile - check it.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2008 07:22 AM
11-04-2008 07:22 AM
Re: SSH question
# vi .profile
while in vi, do
:
set number
to get the lines numbered.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2008 07:30 AM
11-04-2008 07:30 AM
Re: SSH question
Shall i remove this line 54?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2008 07:37 AM
11-04-2008 07:37 AM
Re: SSH question
Any similar lines around?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2008 07:48 AM
11-04-2008 07:48 AM
Re: SSH question
You may consider to use a fresh file or just compare the differences.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
