- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ssh -V version issue.
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
Discussions
Discussions
Forums
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
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
тАО08-01-2010 09:26 PM
тАО08-01-2010 09:26 PM
I am facing the ssh version issue after installed the ssh and ssl packages. I installed the below version of openssl and ssh
but it shows different version.
# swlist | grep open
openssh 5.5p1 openssh
openssl 1.0.0a openssl
# ssh -V
OpenSSH_4.5p1+sftpfilecontrol-v1.1-hpn12v14, OpenSSL 0.9.7l 28 Sep 2006
HP-UX Secure Shell-A.04.50.011, HP-UX Secure Shell version
# uname -r
B.11.31
# uname -m
ia64
# ls -1 --> installed depot names
openssh-5.5p1-ia64-11.31.depot
openssl-1.0.0a-ia64-11.31.depot
#
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2010 10:57 PM
тАО08-01-2010 10:57 PM
SolutionOpenSSH (somewhere -- Where?), but what are
you _running_ with your "ssh" command?
type ssh
or:
which ssh
Also consider:
echo $PATH
> # swlist | grep open
Did you try anything like these?:
swlist | grep -i ssh
or:
swlist | grep -i ssl
or:
swlist | grep -i secure
Many things are possible.
> OpenSSH_4.5p1+sftpfilecontrol-v1.1-hpn12v14, OpenSSL 0.9.7l 28 Sep 2006
> HP-UX Secure Shell-A.04.50.011, HP-UX Secure Shell version
Not the latest version.
https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=T1471AA
Are you worried about the "OpenSSL 0.9.7l" in
there? That's what was used to build that
HP-UX Secure Shell program. You can install
something else on your system, but that HP-UX
Secure Shell program will still use the
OpenSSL kit with which it was built. (The
OpenSSL API is not stable enough to let a
user mix a new version of OpenSSL with any
old application program.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2010 11:26 PM
тАО08-01-2010 11:26 PM
Re: ssh -V version issue.
Around here, by the way, ...
dyi # uname -a
HP-UX dyi B.11.31 U ia64 4235313755 unlimited-user license
dyi # ssh -V
OpenSSH_5.5p1+sftpfilecontrol-v1.3-hpn13v7, OpenSSL 0.9.8k 25 Mar 2009
HP-UX Secure Shell-A.05.50.015, HP-UX Secure Shell version
dyi # swlist | grep -i secure
OpenSSL A.00.09.08k.009 Secure Network Communications Protocol
SecureShell A.05.50.015 HP-UX Secure Shell
(That OpenSSL product is not especially new,
but the HP-UX Secure Shell product is quite
current.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2010 08:00 PM
тАО08-02-2010 08:00 PM
Re: ssh -V version issue.
I solved this issue with the following stop. But i don't know this is the correct solution for this issue.
1.
Install zlib, ssl and ssh using sam
#swinstall -s hostname:/glotam/itadmin/ssh/ zlib-1.2.5-ia64-11.31.depot ├п install latest zlib on HP-UX
# swinstall -s hostname:/glotam/itadmin/ssh/openssl-1.0.0a-ia64-11.31.depot ├п install latest ssl on HP-UX
# swinstall -s hostname:/glotam/itadmin/ssh/openssh-5.5p1-ia64-11.31.depot ├п install latest ssh on HP-UX
2.
# cd /sbin/init.d
#cp secsh secsh.old
HP-UX Secure Shell stoped
3.
#chmod 755 secsh
4.
#vi secsh
Change the ssh path to the new openssh installed path.
Example:
#WHAT_PATH=/opt/ssh/sbin/sshd
WHAT_PATH=/usr/local/sbin/sshd
#ps -ef | grep "/ opt/ssh/sbin/sshd " | grep -v grep > /dev/null
ps -ef | grep "/usr/local/sbin/sshd" | grep -v grep > /dev/null
5.
# cd /sbin/init.d
# ./sbin/init.d/secsh stop
6.
# cd /sbin/init.d
# ./sbin/init.d/secsh start
Could not load host key: /usr/local/etc/ssh_host_rsa_key
Could not load host key: /usr/local/etc/ssh_host_dsa_key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available -- exiting.
EXIT CODE: 1
7.
# cd /usr/local/bin
# ssh-host-key-setup
/usr/local/etc/ssh_host_rsa_key and /usr/local/etc/ssh_host_rsa_key.pub generated successfully
#
8.
# chmod 755 /sbin/init.d/secsh
# ls -l /sbin/init.d/secsh
-r-xr-xr-x 1 bin bin 2676 Aug 2 15:22 /sbin/init.d/secsh
9.
# cd /sbin/init.d
# ./secsh start
HP-UX Secure Shell started
#
10.
#ps ├в eaf|grep sshd
root 26622 1 0 15:28:03 ? 0:00 /usr/local/sbin/sshd
Thanks and Reagrds,
Harikrishnan.L
System Administrator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2010 04:48 AM
тАО08-03-2010 04:48 AM
Re: ssh -V version issue.
> stop. But i don't know this is the correct
> solution for this issue.
Whether it's the correct solution may depend
on what you thought that your "issue" was.
It's not clear to me exactly what you were
trying to do.
If you install new versions of OpenSSL and
OpenSSH, and then you run some other program
(HP's HP-UX Secure Shell), then I am not
amazed that the version numbers shown by this
other program are different from the version
numbers of your new OpenSSL and OpenSSH kits.
> # ssh -V
That's an SSH client.
> WHAT_PATH=/usr/local/sbin/sshd
That's an SSH server.
> # cd /usr/local/bin
> # ssh-host-key-setup
You might have been able to copy your old
host key files into the new location.
Clients may emit warnings if they see
different host key data from a familiar
system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2010 06:58 AM
тАО08-03-2010 06:58 AM
Re: ssh -V version issue.
What I find interesting is that openssl 1.0 is floating around in any form, after YEARS of being below version 1.0.
In this contect, I would go with the latest available for openssl and secure shell (openssh) from http://software.hp.com and call it a day.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com