Prenumerera till Hur-Till 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.

Förbind till den VMware serveren tröstar över SSH

Har detta händde någonsin till dig? Jag skapade ett nytt faktiskt bearbetar med maskin rinnande Ubuntu på min VMware server, för jag lämnade hem, men glömde att installera sshserveren…, så jag kunde inte få till det bearbetar med maskin alls från mitt avlägsna läge. I stället för köra det tillbaka hemmet avgjorde jag att finna en lösning.

Efter lite forskning mig upptäckte att trösta meddelar på port 902, så, mig tillfogade enspedition härskar till en sshtunnel och var kompetent lätt att få på trösta och att installera openssh.

Port spedition med ssh befaller

För att öppna en lokalport nedanföra 1024 som du ska behov att köra detta, befalla som rotar, eller, genom att använda sudo. Detta ska öppet lokalporten 902 på din beställare bearbetar med maskin och därefter framåtriktat anslutningen till serveren som specificeras av hostname.com.

sudossh - L 902: localhost: 902 username@hostname.com

På denna peka dig kan hoppa over till jumbon delar upp i artikeln.

Port spedition med SecureCRT

Om du använder SecureCRT under den Windows något liknande som jag, precis att öppna upp dina periodsalternativ och att finna Port spedition i inställningar och att klicka tillfoga knäppas för en ny eftersänd anslutning.

avbilda

Skriv in i ett känt och använd 902 för båda av porten sätter in som visad nedanfört:

avbilda

Logga in i trösta

Komma med upp din lokalt installerade VMware server tröstar, och brukslocalhost för fjärrkontrollen varar värd känt. Du kan inte använda ”lokalen varar värd” radiosände knäppas, därför att den ska försök att förbinda direkt till det tjänste-… oss önskar att förbinda över SSH-tunnelen.

avbilda

Och där loggas du… på ditt tröstar.

avbilda

Noterar

  • Serveren tröstar sig bör fungera ganska väl, men om dig försök och får på det faktiskt tröstar av ett av de faktiska bearbetar med maskin dig bör se till att du att ha egentligen en fastaanslutning… det är annars långsammare än smuts.
  • I’d really only use this for powering machines on/off, or changing the settings.
  • 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.
| More
This article was originally written on 10/10/07 Tagged with: 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. Guy Leech

    To get a decent console connection, use VNC to the VMware Server itself, over SSH forwarded ports. 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). Just add something like the following:

    RemoteDisplay.vnc.enabled = “true”
    RemoteDisplay.vnc.port = “5910″
    RemoteDisplay.vnc.password = “S0mePassw0rd”
    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. 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
What Is That Process?
svchost.exe
jusched.exe
dwm.exe
ctfmon.exe
wmpnetwk.exe
wmpnscfg.exe
rundll32.exe
wfcrun32.exe
Ipoint.exe
Itype.exe
Wfica32.exe
Mobsync.exe
conhost.exe
Dpupdchk.exe Adobe_Updater.exe

Copyright © 2006-2009 HowToGeek.com. All Rights Reserved.