<div dir="ltr">I am not sure if my issue relates to Mario&#39;s or not, but I also am having trouble connecting to NetBSD. I created a new username as mentioned to do in an earlier email and now when I try to ssh, its like its just waiting for something to happen, but nothing ever does. I&#39;m pretty sure I set it up correctly so if anyone has any ideas that would be great.<div><div><img src="cid:ii_k048rt921" alt="image.png" width="344" height="41"><br></div></div><div>Thanks,</div><div>Brian Jefferson</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 3, 2019 at 2:03 PM Mario P Alexandre &lt;<a href="mailto:malexan3@stevens.edu">malexan3@stevens.edu</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div>
<div>
<div dir="auto" style="direction:ltr;margin:0px;padding:0px;font-family:sans-serif;font-size:11pt;color:black">
The command I was using to connect to the VM is &quot;ssh -vv NetBSD-VM&quot;. I&#39;ll make another user account when I get home later and try again.<br>
<br>
</div>
<div dir="auto" style="direction:ltr;margin:0px;padding:0px;font-family:sans-serif;font-size:11pt;color:black">
<span id="gmail-m_6476576510189098898x_OutlookSignature">
<div dir="auto" style="direction:ltr;margin:0px;padding:0px;font-family:sans-serif;font-size:11pt;color:black">
Get <a href="https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Faka.ms%2Fghei36&amp;data=02%7C01%7Cbjeffer1%40stevens.edu%7Ce1d2a0568f4a4ef3b4ff08d73098f318%7C8d1a69ec03b54345ae21dad112f5fb4f%7C0%7C0%7C637031305815785869&amp;sdata=BBIjL%2F2AEuoOgL6BxRKyw011hrWSPRdAvYWTGY7giwA%3D&amp;reserved=0" target="_blank">
Outlook for Android</a></div>
</span><br>
</div>
<hr style="display:inline-block;width:98%">
<div id="gmail-m_6476576510189098898x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> <a href="mailto:cs631apue-bounces@lists.stevens.edu" target="_blank">cs631apue-bounces@lists.stevens.edu</a> &lt;<a href="mailto:cs631apue-bounces@lists.stevens.edu" target="_blank">cs631apue-bounces@lists.stevens.edu</a>&gt; on behalf of Jan Schaumann &lt;<a href="mailto:jschauma@stevens.edu" target="_blank">jschauma@stevens.edu</a>&gt;<br>
<b>Sent:</b> Tuesday, September 3, 2019 1:53:48 PM<br>
<b>To:</b> <a href="mailto:cs631apue@lists.stevens.edu" target="_blank">cs631apue@lists.stevens.edu</a> &lt;<a href="mailto:cs631apue@lists.stevens.edu" target="_blank">cs631apue@lists.stevens.edu</a>&gt;<br>
<b>Subject:</b> Re: [cs631apue] Connecting to Netbsd running on VM</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:11pt">
<div class="gmail-m_6476576510189098898PlainText">Mario P Alexandre &lt;<a href="mailto:malexan3@stevens.edu" target="_blank">malexan3@stevens.edu</a>&gt; wrote:<br>
&gt; /etc/rc.d/sshd start<br>
<br>
I meant: please provide the exact command you ran to<br>
connect to the system via ssh from outside your VM.<br>
<br>
&gt; I did modify /etc/ssh/ssh_config to allow root login<br>
&gt; by adding the line &quot;PermitRootLogin yes&quot; under Host<br>
&gt; *<br>
<br>
That&#39;s not the right place.  /etc/ssh/ssh_config<br>
applies to the &#39;ssh&#39; client side, i.e., when you run<br>
&#39;ssh&#39; on the VM.  You&#39;d need to change the setting in<br>
/etc/ssh/sshd_config, but the _right_ way to solve<br>
this is to add another user and log in as that user;<br>
you do not need nor want to run everything as root.<br>
<br>
In fact, in this class the requirement is that you do<br>
not run your code as root, as root has special<br>
privileges and your code will behave differently at<br>
times than if it&#39;s executed by a normal user.<br>
<br>
-Jan<br>
_______________________________________________<br>
cs631apue mailing list<br>
<a href="mailto:cs631apue@lists.stevens.edu" target="_blank">cs631apue@lists.stevens.edu</a><br>
<a href="https://lists.stevens.edu/mailman/listinfo/cs631apue" target="_blank">https://lists.stevens.edu/mailman/listinfo/cs631apue</a><br>
</div>
</span></font>
</div>

</blockquote></div>