- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem with self-compiled openssh under HP-UX
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
тАО06-24-2003 04:51 AM
тАО06-24-2003 04:51 AM
Problem with self-compiled openssh under HP-UX
I have a problem with openssh (for the various reasons I don't want to use pre-compiled packages). I've compiled ssl and ssh with gcc compiler and everything works fine. The only problem is that HPs can not determine IP-address of a remote host if I want to ssh.
> ssh hostname
The authenticity of host 'hostname (0.0.0.0)' can't be established.
RSA key fingerprint is ... etc.
I have no idea where this IP (0.0.0.0) is from. ssh works, but I can not save the ssh-key in the known_hosts file.
The packages from HP does not have this problem.
I can set the CheckHostIP option in the ssh_config to "no", but I think it's not really good.
Any ideas?
Thanks a lot!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2003 07:48 AM
тАО06-24-2003 07:48 AM
Re: Problem with self-compiled openssh under HP-UX
I've only had experience on the HP precompiled binaries, so apart from this, I also don't know where to start.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2003 07:52 AM
тАО06-24-2003 07:52 AM
Re: Problem with self-compiled openssh under HP-UX
must be a config error :
# ssh blabla
ssh: blabla: no address associated with hostname.
So this proves when a host is unknown it gives you another error.
I will look up previous answers of me for a config example.
Regs David
Back in a sec
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2003 08:02 AM
тАО06-24-2003 08:02 AM
Re: Problem with self-compiled openssh under HP-UX
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x1d5a2d88ce9cd711abdc0090277a778c,00.html
Please compair these config files with yours, there might be some sort of a problem in here.
You do know you need to add the ssh-keygen keys into the users homedir first, right ? If not I have a nice doc to read for you.
Regs David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2003 08:07 AM
тАО06-24-2003 08:07 AM
Re: Problem with self-compiled openssh under HP-UX
ssh does even without public keys exchanged keep of record of "where its been"
I've seen similar messages with HP's depots.
Q. If you have used HP's depots, why aren't you sticking with them. They are pretty good.
I'm attaching a Chris Vail special document that does have some important info about correct permissions on certain key files.
Regards,
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
тАО06-24-2003 10:29 PM
тАО06-24-2003 10:29 PM
Re: Problem with self-compiled openssh under HP-UX
I've seen this problem when the machine is confused about its own identity, and telnet localhost etc. don't work!
Good luck,
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2003 10:49 PM
тАО06-24-2003 10:49 PM
Re: Problem with self-compiled openssh under HP-UX
I try to connect to a host that really exist, has a valid IP-Address, and works with another hosts in the same ssh configuration.
If I try to do the same with
ssh -v ip.address
I get following output:
65#: ssh -v 10.x.x.x
OpenSSH_3.6p1, SSH protocols 1.5/2.0, OpenSSL 0x0090702f
debug1: Reading configuration data /usr/local/etc/ssh_config
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: Connecting to 10.x.x.x [0.0.0.0] port 22.
debug1: Connection established.
debug1: identity file /root/.ssh/identity type -1
debug1: identity file /root/.ssh/id_rsa type -1
debug1: identity file /root/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_3.6p1
debug1: match: OpenSSH_3.6p1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.6p1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host '10.x.x.x' is known and matches the RSA host key.
debug1: Found key in /usr/local/etc/ssh_known_hosts:9
Warning: Permanently added the RSA host key for IP address '0.0.0.0' to the list of known hosts.
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password,keyboard-interactive,hostbased
debug1: Next authentication method: publickey
debug1: Trying private key: /root/.ssh/identity
debug1: Trying private key: /root/.ssh/id_rsa
debug1: Trying private key: /root/.ssh/id_dsa
debug1: Next authentication method: keyboard-interactive
debug1: Authentications that can continue: publickey,password,keyboard-interactive,hostbased
debug1: Next authentication method: password
root@10.x.x.x's password:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2003 01:11 AM
тАО06-25-2003 01:11 AM
Re: Problem with self-compiled openssh under HP-UX
Try to run a tusc on a normal way, without the -vv options
tusc ssh
and please attach the output. We can have a better look on what the problem might be. Also, scp, sftp, etc do they have the same problem ?
Regs David
P.S. assigning points might be friendly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2003 02:09 AM
тАО06-26-2003 02:09 AM
Re: Problem with self-compiled openssh under HP-UX
thanks a lot for the useful tip with tusc, I've found a problem. It were the libnss_files.1 and libnss_dns.1 libraries for hppa20 architecture from /usr/lib/pa20_64 directory. After recompiling with -mpa-risc-1-1 there is no problem more. Really interesting is this issue. Is there a better "workaround" as the recompiling for RISC-1.1?
P.S.: how can I assign these points/scores/whatever?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2003 03:02 AM
тАО06-26-2003 03:02 AM
Re: Problem with self-compiled openssh under HP-UX
I am happy to see you fixed the problem !
Tusc indeed is a very helpfull friend, it help me out several times.
About assigning points. If you are logged in and look at your own posting you see an option list just above each answer you got. You can choose a point rate from 0 - 10. It would be friendly to always give everybody points, even if it didn't help you at all. The person still spent time to help you with your problem.
Ones you selected the point amount (for all questons), you can hit the submit button completely down left. You will only see this button and the option values if you are logged in. Ones you hit the submit button, you get a thank you for submitting the points.
Normaly you give a 0-3 point if it didn't help but just say thanks for your time, the 3-7 for thanks, almost the solution and 8-10 point for the magic answer. The magic answer will also give you the bunny to your posting when looking it up in the overview list. Most of all a posting is a kind of closed by then, as the magic answer is given.
Hope you understand it all. All the good luck there is, and if there is any more to ask, just let us know.
Best regs David