Subscribe to How-To Geek सदस्यता के लिए कैसे करने के लिए geek -

Important! This is an automatic machine translated page. If you can read english, you should Click Here to read the original English version of the article.

Connect to VMware Server Console Over SSH कनेक्ट करने VMware सर्वर कंसोल से अधिक ssh

Has this ever happened to you? क्या यह कभी तुम्हें क्या हुआ? I created a new virtual machine running Ubuntu on my VMware server before I left home, but forgot to install the ssh server… so I couldn't get to that machine at all from my remote location. मैं एक नया आभासी मेरी VMware सर्वर पर Ubuntu चल मशीन बनाया से पहले मैं घर छोड़ दिया, लेकिन ssh सर्वर स्थापित ... तो मैं सब में है कि मशीन के लिए मेरी दूरस्थ स्थान से नहीं मिल सकता था भूल गया था. Rather than driving back home I decided to find a solution. के बजाय वापस घर चला मैं एक हल निकालने का फैसला किया.

After a bit of research I discovered that the console communicates on port 902, so I added a port-forwarding rule to an ssh tunnel and was able to easily get on the console and install openssh. अनुसंधान के एक बिट के बाद मुझे पता चला कि 902 पोर्ट पर सांत्वना देने वालों में है, तो मैं एक ssh सुरंग के एक बंदरगाह-अग्रेषण नियम जोड़ा गया था और आसानी से सांत्वना और openssh स्थापित करने पर मिल.

Port Forwarding with ssh Command Ssh कमान के साथ पोर्ट अग्रेषण

In order to open a local port below 1024 you will need to run this command as root, or by using sudo. आदेश में 1024 के नीचे एक स्थानीय पोर्ट आप रूट के रूप में इस कमांड चलाने के लिए, या sudo का उपयोग करके की आवश्यकता होगी खोलने के लिए. This will open the local port 902 on your client machine and then forward the connection to the server specified by hostname.com. यह आपके ग्राहक मशीन पर स्थानीय पोर्ट 902 खुला और फिर आगे कनेक्शन hostname.com द्वारा निर्दिष्ट सर्वर से.

sudo ssh -L 902:localhost:902 username@hostname.com sudo ssh-902 एल: localhost: 902 username@hostname.com

At this point you can skip to the last section in the article. इस बिंदु पर आप लेख में पिछले अनुभाग के लिए छोड़ सकते हैं.

Port Forwarding with SecureCRT SecureCRT के साथ पोर्ट अग्रेषण

If you use SecureCRT under Windows like I do, just open up your session options and find Port Forwarding in settings and click the Add button for a new forwarded connection. यदि आप Windows के तहत मुझे पसंद SecureCRT उपयोग करते हैं, वैसा ही करो अपने सत्र के विकल्प खुले और सेटिंग्स में पोर्ट अग्रेषण और खोजें पर क्लिक करें एक नए कनेक्शन के लिए अग्रेषित करें बटन जोड़ें.

छवि

Enter in a name, and use 902 for both of the Port fields as shown below: एक नाम दर्ज करें, और बंदरगाह के रूप में नीचे दिखाया गया खेतों दोनों के लिए 902 का उपयोग करें:

छवि

Logging into the Console कंसोल में लॉग इन

Bring up your locally installed VMware Server Console, and use localhost for the Remote host name. ऊपर लाओ अपने स्थानीय VMware सर्वर कंसोल स्थापित है, और दूरस्थ मेजबान नाम localhost के लिए उपयोग करें. You can't use the “Local host” radio button because it will attempt to connect directly to the service… we want to connect over the SSH tunnel. आप "स्थानीय मेजबान" रेडियो बटन का उपयोग नहीं कर सकते क्योंकि यह सेवा से सीधे कनेक्ट करने का प्रयास ... हम ssh सुरंग से कनेक्ट कर सकते हैं चाहते जाएगा.

छवि

And there you are… logged onto your console. और तुम ... तुम्हारी कंसोल पर लॉग इन कर रहे हैं वहाँ.

छवि

Notes नोट्स

  • The server console itself should work fairly well, but if you try and get onto the actual console of one of the virtual machines you should make sure you have a really fast connection… otherwise it's slower than dirt. सर्वर ही सांत्वना काफी अच्छी तरह से काम करना चाहिए, लेकिन अगर तुम कोशिश करो और वास्तविक आभासी मशीन में से एक की सांत्वना आप सुनिश्चित हैं कि आप एक बहुत तेजी से संबंध बनाने के ... अन्यथा यह गंदगी से है धीमी चाहिए पर मिलता है.
  • I'd really only use this for powering machines on/off, or changing the settings. मैं सच में ही मशीनों पर Powering के लिए इसका उपयोग होता / बंद, या सेटिंग्स बदल रहा है.
  • You might potentially have to change your local firewall settings to allow the port. आप संभावित रूप से आपके स्थानीय फ़ायरवॉल सेटिंग्स को बदलने के लिए बंदरगाह की अनुमति होगी.
  • Putty users should be able to easily adapt the settings above to work for them. पोटीन उपयोगकर्ताओं को आसानी से ऊपर की सेटिंग में अनुकूलन के लिए उनके लिए काम करने में सक्षम होना चाहिए.
This article was originally written on 10/10/07 Tagged with: यह आलेख मूल रूप से 10/10/07 टैग पर लिखा था: Linux लिनक्स

Daily Email Updates दैनिक ईमेल अपडेट

You can get our how-to articles in your inbox each day for free. आप अपने इनबॉक्स में हमारे कैसे लेख को मुफ्त के लिए प्रत्येक दिन प्राप्त कर सकते हैं. Just enter your name and email below: बस नीचे अपना नाम और ईमेल दर्ज करें:


Name: नाम:
Email: ईमेल:

Comments (1) टिप्पणियाँ (1)

  1. Guy Leech आदमी जोंक

    To get a decent console connection, use VNC to the VMware Server itself, over SSH forwarded ports. एक अच्छे संबंध सांत्वना मिल, ssh अग्रेषित बंदरगाह पर VMware सर्वर ही है, VNC का उपयोग करें. This is not configurable in the GUI in Server (it is in Workstation 6), you have to edit the .vmx file for the relevant VM directly (when the VM is not running). इस सर्वर में जीयूआई में विन्यास योग्य नहीं है (यह 6 कार्य केंद्र में है), तो आपको प्रासंगिक वी एम के लिए. Vmx फ़ाइल सीधे संपादित है (जब वी एम चल) नहीं है. Just add something like the following: बस निम्नलिखित की तरह कुछ जोड़ें:

    RemoteDisplay.vnc.enabled = “true” RemoteDisplay.vnc.enabled = "true"
    RemoteDisplay.vnc.port = “5910″ = "5,910 RemoteDisplay.vnc.port"
    RemoteDisplay.vnc.password = “S0mePassw0rd” RemoteDisplay.vnc.password S0mePassw0rd = ""
    RemoteDisplay.vnc.keymap = “uk” RemoteDisplay.vnc.keymap ब्रिटेन = ""

    Then set an SSH port forwarding from say local port 5910 to port 5910 on the VMware Server itself (not the IP of the VM) and use a VNC client to connect to 127.0.0.1:5910. फिर से एक ssh बंदरगाह अग्रेषण स्थापित कहना स्थानीय पोर्ट 5,910 VMware ही सर्वर पर 5,910 बंदरगाह (वी एम के नहीं आईपी) और एक VNC क्लाइंट का प्रयोग 127.0.0.1:5910 से कनेक्ट. I then keep a list of the ports I use for each VM – obviously you must use different ports for different VMs if you use them concurrently. मैं तो बंदरगाहों मैं एक वी एम के लिए इस्तेमाल की एक सूची रख - जाहिर है तुम अलग वी एम एस के लिए अलग बंदरगाहों का उपयोग करें यदि आप उन्हें समवर्ती उपयोग करना आवश्यक है.

    This will even let you do a bare “metal” build of the VM since you are not using networking in the VM itself. यह भी दूँगी तुम्हें एक नंगे "धातु" वी एम का निर्माण कर जब से तुम नेटवर्किंग ही वी एम में प्रयोग नहीं कर रहे हैं.


Leave a Comment एक टिप्पणी छोड़ दो




Leave your छोड़ अपने friendly मित्र comment here. यहाँ टिप्पणी नहीं.

If you have a computer help question, यदि आप एक कंप्यूटर की मदद सवाल है, click here to leave it on the forums यहाँ क्लिक करें यह मंचों पर जाने के लिए instead. बजाय.

Note: Your comment may not show up immediately on the site. ध्यान दें: आपकी टिप्पणी को तुरंत नहीं दिखा साइट पर कर सकते हैं.

Our Friends हमारे दोस्त
Getting Started प्रारंभ करना


About How-To Geek के बारे में कैसे करने के लिए geek -
What Is That Process? यह प्रक्रिया क्या है?
svchost.exe svchost.exe
jusched.exe jusched.exe
dwm.exe dwm.exe
ctfmon.exe ctfmon.exe
wmpnetwk.exe wmpnetwk.exe
wmpnscfg.exe wmpnscfg.exe
rundll32.exe rundll32.exe
wfcrun32.exe wfcrun32.exe
Ipoint.exe Ipoint.exe
Itype.exe Itype.exe
Wfica32.exe Wfica32.exe
Mobsync.exe Mobsync.exe
conhost.exe conhost.exe
Dpupdchk.exe Dpupdchk.exe Adobe_Updater.exe Adobe_Updater.exe

Copyright © 2006-2009 HowToGeek.com. कॉपीराइट © HowToGeek.com 2006-2009. All Rights Reserved. सर्वाधिकार सुरक्षित.