<div dir="auto">I figured it out by doing the following:<div dir="auto"><br></div><div dir="auto">1. Setup the 2nd network interface on the VM to be host only</div><div dir="auto">2. Restart your vm, and install openssh. Start sshd</div><div dir="auto">3. Find the inet ip address for your vm</div><div dir="auto">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.</div><div dir="auto"><br></div><div dir="auto">That should do it. Hopefully I didn&#39;t miss a step.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 29, 2019, 1:44 PM P Athiban &lt;<a href="mailto:pathiban@stevens.edu">pathiban@stevens.edu</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<div style="margin:0px;font-size:12pt;font-family:Calibri,Arial,Helvetica,sans-serif;color:black;background-color:rgb(255,255,255)">
Hello Professor,</div>
<div style="margin:0px;font-size:12pt;font-family:Calibri,Arial,Helvetica,sans-serif;color:black;background-color:rgb(255,255,255)">
<br>
</div>
<div style="margin:0px;font-size:12pt;font-family:Calibri,Arial,Helvetica,sans-serif;color:black;background-color:rgb(255,255,255)">
I&#39;m currently running NetBSD on oracle VirtualBox VM in my mac machine. I&#39;m having trouble connecting via ssh from my mac terminal. Could you please tell me how to connect via ssh?</div>
<div style="margin:0px;font-size:12pt;font-family:Calibri,Arial,Helvetica,sans-serif;color:black;background-color:rgb(255,255,255)">
<br>
</div>
<div style="margin:0px;font-size:12pt;font-family:Calibri,Arial,Helvetica,sans-serif;color:black;background-color:rgb(255,255,255)">
Regards</div>
<div style="margin:0px;font-size:15px;font-family:&quot;Segoe UI&quot;,&quot;Segoe UI Web (West European)&quot;,&quot;Segoe UI&quot;,-apple-system,system-ui,Roboto,&quot;Helvetica Neue&quot;,sans-serif;color:rgb(32,31,30);background-color:rgb(255,255,255)">
<p style="margin-top:0px;margin-bottom:0px"><span style="margin:0px;font-size:12pt">Athiban</span></p>
</div>
</div>
</div>

</blockquote></div>