- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Version Info
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
тАО10-22-2009 05:35 AM
тАО10-22-2009 05:35 AM
Version Info
A.05.00.025
what's the best way to interrogate the system?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2009 05:41 AM
тАО10-22-2009 05:41 AM
Re: Version Info
or
swlist SecureShell
plus some text manipulation should do it...
or was it the text manipulation you wanted help with
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2009 05:50 AM
тАО10-22-2009 05:50 AM
Re: Version Info
Most open-source software (from which this comes) will report its version when passed a -V':
# ssh -V
OpenSSH_5.1p1+sftpfilecontrol-v1.2-hpn13v5, OpenSSL 0.9.7m 23 Feb 2007
HP-UX Secure Shell-A.05.10.007, HP-UX Secure Shell version
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2009 05:54 AM
тАО10-22-2009 05:54 AM
Re: Version Info
ssh -v or -vvv will provide you version information.
To know what is installed on an HP-UX system is more problematic.
openssh can be compiled or installed as a depot.
swlist -l product | grep -i secure
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2009 06:01 AM
тАО10-22-2009 06:01 AM
Re: Version Info
> SEP: ssh -v or -vvv will provide you version information.
No, the lowercase 'v' is for debugging messages. One 'v' is verbose' two 'v's is very verbose. You need an UPPERCASE 'V' for version information.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2009 06:20 AM
тАО10-22-2009 06:20 AM
Re: Version Info
SSH -V will show version info.
# ssh -V (upper case 'V')
# ssh -V
OpenSSH_5.1p1+sftpfilecontrol-v1.2-hpn13v5, OpenSSL 0.9.7m 23 Feb 2007
HP-UX Secure Shell-A.05.10.007, HP-UX Secure Shell version
However, doing an 'ssh -v' (lower case 'v') will also show the version info on the first 2 lines of the debug/verbose output.
# ssh -v hqumf01
OpenSSH_5.1p1+sftpfilecontrol-v1.2-hpn13v5, OpenSSL 0.9.7m 23 Feb 2007
HP-UX Secure Shell-A.05.10.007, HP-UX Secure Shell version
debug1: Reading configuration data /opt/ssh/etc/ssh_config
debug1: Connecting to hqumf01 [170.7.2.200] port 22.
...
...
...
...
The cleanest way is definitely the use of the upper case '-V' option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2009 06:27 AM
тАО10-22-2009 06:27 AM
Re: Version Info
> Patrick: Well, SEP and JRF are both correct...doing an 'ssh -v' (lower case 'v') will also show the version info on the first 2 lines of the debug/verbose output.
Ah, so it does! I ignored that since the bulk of the output in that case is usage information. Thanks Patrick for correcting me!
Regards!
...JRF...