Hottest Free Downloads - DownloadPipe.com Over 197,000 downloads! Bookmark Now!
DownloadPipe.com - New Downloads Every Minute
 SEARCH:
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

ssh to a VirtualBox

 
   Linux (Home) -> SUSE RSS
Next:  Accepted libnamespace-autoclean-perl 0.09-1 (sour..  
Author Message
houghi

External


Since: Nov 28, 2004
Posts: 2454



(Msg. 1) Posted: Tue Sep 15, 2009 6:25 pm
Post subject: ssh to a VirtualBox
Imported from groups: alt>os>linux>suse (more info?)

This message is not archived
Back to top
Login to vote
Malcolm

External


Since: Dec 02, 2006
Posts: 3



(Msg. 2) Posted: Tue Sep 15, 2009 6:25 pm
Post subject: Re: ssh to a VirtualBox [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tue, 15 Sep 2009 23:15:06 +0200
houghi <houghi DeleteThis @houghi.org.invalid> wrote:

> Is there a way I can ssh to a virtual box? I am able to ssh from the
> VirtualBox distro to my real machine, so there is some sor of
> connection.
>
> However my real machine and the virtual box have the same local IP.
>
> houghi
Change the port that ssh is running on the VM ssh localhost portnumber

--
Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.29-0.1-default
up 7 days 23:35, 2 users, load average: 0.06, 0.08, 0.02
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18
Back to top
Login to vote
houghi

External


Since: Nov 28, 2004
Posts: 2454



(Msg. 3) Posted: Tue Sep 15, 2009 7:25 pm
Post subject: Re: ssh to a VirtualBox [Login to view extended thread Info.]
Imported from groups: per prev. post (more info?)

This message is not archived
Back to top
Login to vote
Kevin Lucas

External


Since: Sep 10, 2009
Posts: 4



(Msg. 4) Posted: Tue Sep 15, 2009 8:51 pm
Post subject: Re: ssh to a VirtualBox [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

houghi wrote:

> Is there a way I can ssh to a virtual box? I am able to ssh from the
> VirtualBox distro to my real machine, so there is some sor of
> connection.
>
> However my real machine and the virtual box have the same local IP.
>
> houghi
Hiya,

One option may be to configure VirtualBox's networking into bridged mode.
See: http://en.opensuse.org/Virtualbox_Network_Bridging. Then ssh to the
virtual machine's IP as you would another physical machine on the network.

On a side note.... Is this ever going to be made easier? In VMWare bridged
mode networking has been a drop-down option in the network configuration
since at least version 3 or something like that.

kev.
Back to top
Login to vote
houghi

External


Since: Nov 28, 2004
Posts: 2454



(Msg. 5) Posted: Wed Sep 16, 2009 4:25 am
Post subject: Re: ssh to a VirtualBox [Login to view extended thread Info.]
Imported from groups: per prev. post (more info?)

This message is not archived
Back to top
Login to vote
David Bolt

External


Since: Dec 23, 2004
Posts: 228



(Msg. 6) Posted: Wed Sep 16, 2009 9:25 am
Post subject: Re: ssh to a VirtualBox [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Wednesday 16 Sep 2009 01:51, Kevin Lucas played with alphabet
spaghetti and left this residue on the plate:

> houghi wrote:
>
>> Is there a way I can ssh to a virtual box? I am able to ssh from the
>> VirtualBox distro to my real machine, so there is some sor of
>> connection.
>>
>> However my real machine and the virtual box have the same local IP.
>>
>> houghi
> Hiya,
>
> One option may be to configure VirtualBox's networking into bridged mode.
> See: http://en.opensuse.org/Virtualbox_Network_Bridging. Then ssh to the
> virtual machine's IP as you would another physical machine on the network.

That's exactly how I have mine configured, and it works just fine. More or
less.

> On a side note.... Is this ever going to be made easier? In VMWare bridged
> mode networking has been a drop-down option in the network configuration
> since at least version 3 or something like that.

It is much easier than on that page. Just update to version 3[0] and
it's as simple as clicking "Network", selecting the adaptor you're
wanting to use, clicking on "Attached to:", selecting "Bridged Adapter"
from the pop-up menu and then clicking on the pop-up "Name:"
and selecting the main systems adaptor.

E.g. all my test virtual machines have Adapter 1 enabled, the
"Attached to:" is "Bridged Adapter" and "Name:" is "eth0" . Apart from
a kUbuntu 9.04, which doesn't presently work and I'm trying to figure
out why not, all the virtual machines work fine. They request an IP
using DHCP, my DHCP server assigns them one and I'm then able to ssh to
or from them.


[0] You'll either need to use the one from Sun, or use the VirtualBox
repo on the build service, to get the latest 3.0.6 version. You can
find the 11.1 repo at:

<URL:http://download.opensuse.org/repositories/Virtualization:/VirtualBox/openSUSE_11.1/>

Regards,
David Bolt

--
Team Acorn: www.distributed.net OGR-NG @ ~100Mnodes RC5-72 @ ~1Mkeys/s
openSUSE 10.3 32b | openSUSE 11.0 32b | |
openSUSE 10.3 64b | openSUSE 11.0 64b | openSUSE 11.1 64b | openSUSE 11.2m6
RISC OS 3.6 | RISC OS 3.11 | openSUSE 11.1 PPC | TOS 4.02
Back to top
Login to vote
Will Honea

External


Since: Dec 19, 2006
Posts: 53



(Msg. 7) Posted: Wed Sep 16, 2009 2:46 pm
Post subject: Re: ssh to a VirtualBox [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

houghi wrote:

> Kevin Lucas wrote:
>> One option may be to configure VirtualBox's networking into bridged mode.
>> See: http://en.opensuse.org/Virtualbox_Network_Bridging. Then ssh to the
>> virtual machine's IP as you would another physical machine on the
>> network.
>
> Thanks.
>
>> On a side note.... Is this ever going to be made easier? In VMWare
>> bridged mode networking has been a drop-down option in the network
>> configuration since at least version 3 or something like that.
>
> Hey, VirtualBox is version 2.0.6 so it has a long way till it reached 3.
> Wink
>
> As I don't have the time at this moment (making myself ready to go to
> Nurnberg) I am using sshfs to share files.

Better put your glasses on - my VBox says 3.0.6.r52128 Wink.

I haven't worked out the why of it, but I run the VMs in bridged mode. They
gets an address via DHCP from my router and - at least inside the local
network - it is available at a unique address from the host. It just takes
one simple selection on the the setup screen to select the bridged mode -
no hassle.

--
Will Honea
Back to top
Login to vote
Joerg Schilling

External


Since: Apr 16, 2007
Posts: 72



(Msg. 8) Posted: Thu Sep 17, 2009 8:25 am
Post subject: Re: ssh to a VirtualBox [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <slrnhb00uq.4bn.houghi.DeleteThis@penne.houghi>,
houghi <reply.to.server.DeleteThis@your.provider.invalid> wrote:
>Is there a way I can ssh to a virtual box? I am able to ssh from the
>VirtualBox distro to my real machine, so there is some sor of
>connection.
>
>However my real machine and the virtual box have the same local IP.

First enable IP Forwarding in the Host machines sshd config, then..

From within the VM call:

ssh -l you -R 1234:10.0.2.15:22 10.0.2.2

Now log into the guest with fom the host:

ssh -l you-on-guest -p 1234 localhost

--
EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
js.DeleteThis@cs.tu-berlin.de (uni)
joerg.schilling.DeleteThis@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
Back to top
Login to vote
Kevin Lucas

External


Since: Sep 10, 2009
Posts: 4



(Msg. 9) Posted: Thu Sep 17, 2009 8:53 pm
Post subject: Re: ssh to a VirtualBox [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

David Bolt wrote:

> On Wednesday 16 Sep 2009 01:51, Kevin Lucas played with alphabet
> spaghetti and left this residue on the plate:
>
>> houghi wrote:
>>
>>> Is there a way I can ssh to a virtual box? I am able to ssh from the
>>> VirtualBox distro to my real machine, so there is some sor of
>>> connection.
>>>
>>> However my real machine and the virtual box have the same local IP.
>>>
>>> houghi
>> Hiya,
>>
>> One option may be to configure VirtualBox's networking into bridged mode.
>> See: http://en.opensuse.org/Virtualbox_Network_Bridging. Then ssh to the
>> virtual machine's IP as you would another physical machine on the
>> network.
>
> That's exactly how I have mine configured, and it works just fine. More or
> less.
>
>> On a side note.... Is this ever going to be made easier? In VMWare
>> bridged mode networking has been a drop-down option in the network
>> configuration since at least version 3 or something like that.
>
> It is much easier than on that page. Just update to version 3[0] and
> it's as simple as clicking "Network", selecting the adaptor you're
> wanting to use, clicking on "Attached to:", selecting "Bridged Adapter"
> from the pop-up menu and then clicking on the pop-up "Name:"
> and selecting the main systems adaptor.
>
> E.g. all my test virtual machines have Adapter 1 enabled, the
> "Attached to:" is "Bridged Adapter" and "Name:" is "eth0" . Apart from
> a kUbuntu 9.04, which doesn't presently work and I'm trying to figure
> out why not, all the virtual machines work fine. They request an IP
> using DHCP, my DHCP server assigns them one and I'm then able to ssh to
> or from them.
>
>
> [0] You'll either need to use the one from Sun, or use the VirtualBox
> repo on the build service, to get the latest 3.0.6 version. You can
> find the 11.1 repo at:
>
>
<URL:http://download.opensuse.org/repositories/Virtualization:/VirtualBox/openSUSE_11.1/>
>
> Regards,
> David Bolt
>
Ahhhh, interesting. I'll either add that build repo or wait for 11.2. It's
not a huge deal at the moment for me to use NAT. Wink

Thanks! Smile

kev.
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Sun Virtualbox on openSUSE 11 - I have been trying to get Sun's Virtualbox running on my openSUSE 11 with KDE 3.5 laptop. I had installed the 10.3 version but couldn't get it running. I saw that Sun had a version for 11.0 so I downloaded it. I uninstalled the 10.3 version, installed th...

9.2 & java locations documentations? - I've installed java 1.5.0 & see that 9.2 is doing java differently. There is a /etc/alternatives directory that links some stuff & has the 1.4.2 sun java installed there. In my 9.2, I've relinked things but think that this is the newer method of...

Problems with make - I'm quit new in the world of Linux, so have a rather simple question I' trying to install a certain software (amule). Everything (unpacking and compiling (with ./configure) runs fine until until I have to use the make command. Every time I try this the...

Problems with make - I'm quit new in the world of Linux, so I have a rather simple question I'm trying to install a certain software (amule). Everything (unpacking and compiling (with ./configure) runs fine until until I have to use the make command. Every time I try this....

Copying, license, registration - Suse - summary from email.. - Liking Suse and wanting to be very clear what the position about copying is, I asked (at the end of September 2004) detail questions of Suse pre- sales and received patient and detailed replies in a short sequence of emails. Note: I asked and was told..
       Linux (Home) -> SUSE All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows Forums
 Game Forums
  Linux Forums
 Mac Forums
 PDA Forums
 Mobile Forums
  Top  |  Store  |  RSS Feeds RSS  |  Data Feeds  |  Advertise  |  Submit  |  Bookmark  |  Newsletter  |  Contact