- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ssh connection to guest
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
01-20-2009 05:37 AM
01-20-2009 05:37 AM
Solved! Go to Solution.
- Tags:
- ssh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2009 06:00 AM
01-20-2009 06:00 AM
Re: ssh connection to guest
"... the system crashed ..."
Are you sure that the first VM has been properly rebooted ? Check /etc/rc.log for word "FAILED". Also this file should end with something like :
**************************************************
HP-UX run-level transition completed
Tue Jan 20 14:20:22 MET 2009
**************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2009 08:14 AM
01-20-2009 08:14 AM
Re: ssh connection to guest
I did reboot today to see if anything had changed , but I'm still not able to log in through ssh or telnet. While the guest was booting it did take awhile to get pass the mail daemon approx. 5mins.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2009 08:31 AM
01-20-2009 08:31 AM
Re: ssh connection to guest
Unable to telnet/ssh but able to ping
## Check the syslog. This will provide you the hints
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2009 10:03 AM
01-20-2009 10:03 AM
Re: ssh connection to guest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2009 10:12 AM
01-20-2009 10:12 AM
Re: ssh connection to guest
Following you latets post "While the guest was booting it did take awhile to get pass the mail daemon approx. 5mins" I wonder wether you have a name resolution problem or not. It is often a good cause that can explains that sendmail takes a while to start.
Also, when you said in your first post "but I can not ssh or telnet" do you mean that you get an explicit deny as soon as you try to connect or does it take such a long time that you think you can't connect ? If so, try to wait and see if you get a login banner after some times. It could confirm a name resolution problem.
Something else. I found this thread of your own ( http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1300570 ) where finally the good answer was that you are using IPF. Could it be the answer ?
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2009 10:51 AM
01-20-2009 10:51 AM
Re: ssh connection to guest
I turn off IPF and I've waited until i received " Keyboard-interactive:
Password:
root's password:
warning: Authentication failed.
Disconnected (local); connection lost (Connection closed.)."
checked the syslogs for the guest and there was nothing there for ssh or telnet. The host syslog how ever showed I was trying to connect to it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2009 11:54 AM
01-20-2009 11:54 AM
Re: ssh connection to guest
Make this test : in the VM Guest move /etc/resolv.conf in a corner, then try to log again. It should be faster to get a prompt for password.
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2009 12:09 PM
01-20-2009 12:09 PM
Re: ssh connection to guest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2009 04:08 AM
01-21-2009 04:08 AM
Re: ssh connection to guest
"it's a little faster asking for the password". What about telnet ? That is just to validate that name resolution is one of the sources of the problem. telnet is a simpler process than ssh and involves less layers.
"but it looks like it's still looking for the host and not the guest."
I think you should also post about this in the networking section of HP-UX forums to reach network experts.
Anyway, we are going to see if you could have something misconfigured parameters at routing or name levels.
Please post in attachement :
hpvmnet -V (V in capital letter !)
netstat -in
netstat -rnv
/etc/resolv.conf
/etc/nsswitch.conf
/etc/hosts
and from each VM Guest
netstat -in
netstat -rnv
/etc/resolv.conf
/etc/nsswitch.conf
/etc/hosts
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2009 05:56 AM
01-21-2009 05:56 AM
Re: ssh connection to guest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2009 06:21 AM
01-21-2009 06:21 AM
SolutionWell, found on first output hpvmnet -V, that host an guest seems to have the same IP adresses ?
Host IPv4 Address : xxx.xxx.xxx.111
Guest's Name : vmguest1
MAC Address : 0x9E8317E4C1EF
IPv4 Address : xxx.xxx.xxx.111
Vswitch Port : 1
and
Host IPv4 Address : xxx.xxx.xxx.117
Guest's Name : vmguest2
MAC Address : 0xB60B6673EBB1
IPv4 Address : 1xxx.xxx.xxx.117
Vswitch Port : 1
Hosts and guests must have different IP !!! As normal life with real boxes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2009 06:29 AM
01-21-2009 06:29 AM
Re: ssh connection to guest
So on VM on host, unconfigure IP 111 on lan1 and 117 on lan2 : discard this configuration from /etc/rc.config.d/netconf then stop the VM and reboot the whole system.
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2009 06:29 AM
01-21-2009 06:29 AM
Re: ssh connection to guest
why would it change?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2009 06:41 AM
01-21-2009 06:41 AM
Re: ssh connection to guest
"why would it change?" You are right. On the host, leave unmodified IP 116 on lan0, discard IP 111 and IP 117, leave unchaged the VM Guests. That is what I wanted to say.
Ho, OK I understand. I said "So on VM on host, unconfigure IP .../..." but I wanted to say "So on the VM host, unconfigure IP .../..."
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2009 12:10 PM
01-21-2009 12:10 PM
Re: ssh connection to guest
Thanks :-)