[cs631apue] Connecting to Netbsd running on VM

Siddharth Choudhary schoud2 at stevens.edu
Thu Aug 29 15:11:48 EDT 2019


Hey thanks for responding Eliot, I actually enabled the sshd while
installing the netbsd on my VirtualBox but that didn't work. Do you know an
another workaround?




On Thu, Aug 29, 2019 at 2:04 PM Elliot Wasem <ewasem at stevens.edu> wrote:

> I figured it out by doing the following:
>
> 1. Setup the 2nd network interface on the VM to be host only
> 2. Restart your vm, and install openssh. Start sshd
> 3. Find the inet ip address for your vm
> 4. Through VirtualBox, forward some port (i used 2222) from 127.0.0.1 on
> your host machine to the inet ip on port 22 of your VM.
>
> That should do it. Hopefully I didn't miss a step.
>
> On Thu, Aug 29, 2019, 1:44 PM P Athiban <pathiban at stevens.edu> wrote:
>
>> Hello Professor,
>>
>> I'm currently running NetBSD on oracle VirtualBox VM in my mac machine.
>> I'm having trouble connecting via ssh from my mac terminal. Could you
>> please tell me how to connect via ssh?
>>
>> Regards
>>
>> Athiban
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs631apue/attachments/20190829/d5c41c9f/attachment.html>


More information about the cs631apue mailing list