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 Conectarea la VMware Server Console Peste SSH

Has this ever happened to you? Are acest vreodată sa întâmplat cu tine? 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. Am creat o nouă maşină virtuală Ubuntu pe serverul meu VMware înainte de a-am plecat de acasa, dar a uitat să instalaţi serverul ssh ... asa ca nu am putut ajunge la faptul că terminalul de la toate de la locaţia mea de la distanţă. Rather than driving back home I decided to find a solution. Mai degrabă decât de conducere înapoi acasă m-am hotărât să găsească o soluţie.

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. După un pic de cercetare am descoperit că în consolă comunică pe portul 902, asa ca am adaugat un port-regulă transmiterea la un tunel SSH şi a reuşit să obţină cu uşurinţă în consolă şi a instala OpenSSH.

Port Forwarding with ssh Command Port Forwarding cu comandă ssh

In order to open a local port below 1024 you will need to run this command as root, or by using sudo. În scopul de a deschide un port local de mai jos 1024 va trebui să rulaţi această comandă ca root, sau prin utilizarea sudo. This will open the local port 902 on your client machine and then forward the connection to the server specified by hostname.com. Aceasta va deschide portul local 902 pe maşina clientului dvs. şi apoi transmite conexiune la serverul specificat de 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. În acest moment puteţi trece la ultima secţiune din articol.

Port Forwarding with SecureCRT Port Forwarding cu 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. Dacă utilizaţi SecureCRT sub Windows ca mine, doar deschide opţiunile sesiunea şi să găsiţi Port Forwarding în setările şi faceţi clic pe butonul Add pentru o nouă conexiune transmise.

imaginea

Enter in a name, and use 902 for both of the Port fields as shown below: Introduceţi un nume, şi de a folosi 902 pentru ambele domenii de port aşa cum se arată mai jos:

imaginea

Logging into the Console Logarea la Consola de

Bring up your locally installed VMware Server Console, and use localhost for the Remote host name. Aduceţi-vă de până la nivel local instalat VMware Server Console, şi localhost utilizare pentru numele de gazdă la distanţă. 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. Nu puteţi utiliza gazdă "local" butonul radio, pentru că va încerca să se conecteze direct la serviciu ... ne-o dorim pentru a conecta peste tunel SSH.

imaginea

And there you are… logged onto your console. Şi acolo eşti ... autentificat pe dvs. de consolă.

imaginea

Notes Ia act de

  • 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 Console însăşi ar trebui să funcţioneze destul de bine, dar dacă tu try şi a lua pe consola reală a uneia dintre masinile virtuale trebuie să vă asiguraţi-vă că aveţi o conexiune foarte repede ... altfel este mai lent decât murdărie.
  • I'd really only use this for powering machines on/off, or changing the settings. Aş doar într-adevăr folosi acest pentru alimentarea Maşini de on / off, sau modificarea setărilor.
  • You might potentially have to change your local firewall settings to allow the port. S-ar putea avea potenţial pentru a schimba setările de firewall-ul local, pentru a permite portul.
  • Putty users should be able to easily adapt the settings above to work for them. Chit utilizatorii ar trebui să poată să se adapteze cu uşurinţă setările de mai sus pentru a lucra pentru ei.
This article was originally written on 10/10/07 Tagged with: Acest articol a fost scris iniţial pe 10/10/07 Etichetate cu: Linux Linux

Daily Email Updates Daily Actualizări de email

You can get our how-to articles in your inbox each day for free. Aveţi posibilitatea să obţineţi modul nostru de-a articole în Inbox în fiecare zi pentru drum liber. Just enter your name and email below: Doar introduceţi numele dvs. şi e-mail de mai jos:


Name: Nume:
Email: E-mail:

Comments (1) Comentarii (1)

  1. Guy Leech Guy Leech

    To get a decent console connection, use VNC to the VMware Server itself, over SSH forwarded ports. Pentru a obţine o conexiune decentă consolă, pentru a utiliza VNC vmware a servi în sine, peste SSH porturi transmise. 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). Acest lucru nu este configurabil în GUI in Server (aceasta este în Workstation 6), va trebui să editaţi fişierul. Vmx pentru VM relevante direct (atunci când VM nu este în execuţie). Just add something like the following: Chiar a aduna ceva asemănător cu următorul text:

    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. Apoi, un set de expediere SSH port spun de la portul local 5910 la portul 5910 pe vmware a servi în sine (nu IP a VM) şi de a folosi un client VNC să se conecteze la 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. I apoi atunci ţine o listă a porturilor I folos, pentru fiecare VM - în mod evident, trebuie sa folositi porturi diferite pentru maşinilor virtuale diferite, dacă le utilizaţi în acelaşi timp.

    This will even let you do a bare “metal” build of the VM since you are not using networking in the VM itself. Acest lucru vă va permite chiar si tu a face un goale "metal" Generare din VM, deoarece dacă nu folosiţi de reţele în VM sine.


Leave a Comment Lăsaţi un comentariu




Leave your Leave tău friendly prietenoasa comment here. comentariu aici.

If you have a computer help question, Dacă aveţi un calculator ajuta la întrebare, click here to leave it on the forums click aici pentru a lăsa pe forum instead. în schimb.

Note: Your comment may not show up immediately on the site. Notă: Comentariul dvs. să nu apară imediat pe site-ul.

Our Friends Our Friends
Getting Started Noţiuni de bază


About How-To Geek Despre "Cum să" Geek
What Is That Process? Ce este acest proces?
svchost.exe svchost.exe
jusched.exe winampa.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. Toate drepturile rezervate.