<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
The VM says that sshd is running and listening on port 22 on the same subnet as the host. I have tried to connect via command prompt and PuTTY and can ssh into my localhost on Windows. I can see the VM having a valid IP address on my DHCP server and can ping
 it from the host OS.&nbsp;<span style="font-family: Calibri, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">When I get to the part to enter my password (which I have verified as correct in the VM), it simply does
 not accept my password and returns an error saying:</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family: Calibri, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255); display: inline !important"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family: Calibri, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255); display: inline !important"><img size="13438" contenttype="image/png" unselectable="on" tabindex="-1" style="max-width: 100%; user-select: none;" data-outlook-trace="F:1|T:1" src="cid:dfe855df-fa9e-43f2-b139-0c87020bdb8e"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family: Calibri, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255); display: inline !important"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family: Calibri, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">I have not been able to find any information about this error online so I'm kind of stuck at the moment.</span></div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> cs631apue-bounces@lists.stevens.edu &lt;cs631apue-bounces@lists.stevens.edu&gt; on behalf of Jan Schaumann &lt;jschauma@stevens.edu&gt;<br>
<b>Sent:</b> Monday, September 2, 2019 3:36 PM<br>
<b>To:</b> cs631apue@lists.stevens.edu &lt;cs631apue@lists.stevens.edu&gt;<br>
<b>Subject:</b> Re: [cs631apue] Connecting to Netbsd running on VM</font>
<div>&nbsp;</div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Mario P Alexandre &lt;malexan3@stevens.edu&gt; wrote:<br>
&nbsp;<br>
&gt; I've been having a similar problem trying to SSH<br>
&gt; into the VirtualBox VM on Windows 10. I have tried<br>
&gt; the port forwarding instructions with a NAT<br>
&gt; connection, bridged adapter instructions, and<br>
&gt; host-only adapter but every time my SSH connection<br>
&gt; has been denied.<br>
<br>
What is the actual error you see?<br>
<br>
&quot;Connection denied&quot; is very different from &quot;Permission<br>
denied&quot; or from &quot;Connection timed out&quot;.<br>
<br>
Are you sure you're connecting to the right port?&nbsp; If,<br>
for example, you're forwarding port 2222 on localhost<br>
to port 22 on your VM, then you need to instruct your<br>
ssh client to connect to port 2222.<br>
<br>
Make sure you're using the right username to connect, too.<br>
<br>
-Jan<br>
_______________________________________________<br>
cs631apue mailing list<br>
cs631apue@lists.stevens.edu<br>
<a href="https://lists.stevens.edu/mailman/listinfo/cs631apue">https://lists.stevens.edu/mailman/listinfo/cs631apue</a><br>
</div>
</span></font></div>
</body>
</html>