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 Povežite se VMware Server Console Preko SSH

Has this ever happened to you? Ali je to sploh zgodilo s tabo? 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. Ustvaril sem novi virtualni stroj teče Ubuntu na mojem strežniku VMware, preden sem odšel domov, vendar je pozabil, da namestite ssh strežnik ... tudi jaz ne bi mogla priti v ta stroj sploh iz mojega oddaljenega kraja. Rather than driving back home I decided to find a solution. Namesto vožnje nazaj domov sem se odločil, da bi našli rešitev.

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. Po malo raziskovanja sem ugotovil, da console sporoča o pristaniških 902, tako da sem dodal vrata pravilo posredovanje ssh tunela in je lahko enostavno priti na konzoli in namestiti openssh.

Port Forwarding with ssh Command Port Forwarding s ssh Command

In order to open a local port below 1024 you will need to run this command as root, or by using sudo. Da, da odprete vrata lokalno pod 1024 boste morali teči ta ukaz kot root, ali z uporabo sudo. This will open the local port 902 on your client machine and then forward the connection to the server specified by hostname.com. To bo odprlo vrata lokalno 902 na vašem varovanec stroj in potem naprej povezave s strežnikom, ki ga hostname.com.

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

At this point you can skip to the last section in the article. Na tej točki lahko preskočite na zadnji odsek v članku.

Port Forwarding with SecureCRT Port Forwarding z 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. Če uporabljate SecureCRT pod okno kot jaz, šele odpirajo možnosti in če vam bo seja našli Port Forwarding v nastavitvah in kliknite Dodaj gumb za novo posredoval povezavo.

image

Enter in a name, and use 902 for both of the Port fields as shown below: Vpiše se ime in uporaba 902 za obe področji pristanišča, kot je prikazano spodaj:

image

Logging into the Console Prijava v konzolo

Bring up your locally installed VMware Server Console, and use localhost for the Remote host name. Prinesite vaše lokalno nameščen VMware Server Console, in uporabo localhost za ime gostitelja na daljavo. 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. Ne morete uporabljati "Local host" gumb, ker bo poskušal povezati neposredno storitev ... želimo povezati preko SSH tunela.

image

And there you are… logged onto your console. In tam ... ste prijavljeni na vašo konzolo.

image

Notes Opombe

  • 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. Server konzola sama je delo dokaj dobro, vendar če vi začeti ter zaslužiti na dejanske konzole enega od virtualnih strojev morate prepričati imate res hitro povezavo ... drugače je počasnejši od umazanije.
  • I'd really only use this for powering machines on/off, or changing the settings. Sem res samo uporabiti ta pogon strojev za vklop / izklop, ali spreminjanje nastavitev.
  • You might potentially have to change your local firewall settings to allow the port. Morda boste lahko morali spremeniti svoje lokalne nastavitve požarnega zidu, da bi vrata.
  • Putty users should be able to easily adapt the settings above to work for them. Putty uporabniki bi morali imeti možnost, da se lahko zlahka prilagodi nastavitve zgoraj delati za njih.
This article was originally written on 10/10/07 Tagged with: Ta članek je bil prvotno napisan na 10/10/07 Tagged with: Linux Linux

Daily Email Updates Dnevni Email Updates

You can get our how-to articles in your inbox each day for free. Lahko dobite našo kako do člankov v vašo mapo »Prejeto vsak dan brezplačno. Just enter your name and email below: Preprosto vpišite vaše ime in e-pošto spodaj:


Name: Ime:
Email: E-pošta:

Comments (1) Komentarji (1)

  1. Guy Leech Guy pijavka

    To get a decent console connection, use VNC to the VMware Server itself, over SSH forwarded ports. Če želite dobiti dostojno konzole povezave, uporabe VNC za VMware pomočnik sam, preko SSH posredoval pristaniščih. 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). To ni mogoče konfigurirati v GUI na strežniku (je v Workstation 6), boste morali urediti. Vmx datoteko za ustrezno neposredno VM (VM, ko se ne izvaja). Just add something like the following: Samo dodajte nekaj kot naslednje:

    RemoteDisplay.vnc.enabled = “true” RemoteDisplay.vnc.enabled = "true"
    RemoteDisplay.vnc.port = “5910″ RemoteDisplay.vnc.port = "5910"
    RemoteDisplay.vnc.password = “S0mePassw0rd” RemoteDisplay.vnc.password = "S0mePassw0rd"
    RemoteDisplay.vnc.keymap = “uk” RemoteDisplay.vnc.keymap = "uk"

    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. Nato je SSH posredovanje luko, iz lokalnega pristanišča reči 5910 do 5910 na vrata VMware Server sama (ne IP VM) in uporabo odjemalca VNC za povezavo z 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. Jaz torej vodi seznam pristanišč uporabim za vsako VM - seveda morate uporabljati različne pristanišča za različne imajo proizvajalci, če jih uporabljaš sočasno.

    This will even let you do a bare “metal” build of the VM since you are not using networking in the VM itself. To bo tudi vam do golih "kovine" graditi z VM, ker jih ne uporabljate povezovanja v VM sama.


Leave a Comment Pustite komentar




Leave your Pustite friendly prijazen comment here. comment here.

If you have a computer help question, Če imate računalnik pomagati vprašanje, click here to leave it on the forums kliknite tukaj, da ga pustijo na forumih instead. namesto.

Note: Your comment may not show up immediately on the site. Opomba: Tvoj komentar morda ne pokažejo takoj na mestu.

Our Friends Naši prijatelji
Getting Started Getting Started


About How-To Geek O Kako naj Geek
What Is That Process? Kaj je to proces?
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. Copyright © 2006-2009 HowToGeek.com. All Rights Reserved. All Rights Reserved.