[cs631apue] Connecting to Netbsd running on VM

Devharsh Trivedi dtrived5 at stevens.edu
Tue Sep 3 15:51:41 EDT 2019


I have uploaded my working image on SourceForge: https://sourceforge.net/projects/netbsd-8-1/

You can give it a try.
________________________________
From: cs631apue-bounces at lists.stevens.edu <cs631apue-bounces at lists.stevens.edu> on behalf of Brian Jefferson <bjeffer1 at stevens.edu>
Sent: Tuesday, September 3, 2019 12:49 PM
To: Mario P Alexandre <malexan3 at stevens.edu>
Cc: cs631apue at lists.stevens.edu <cs631apue at lists.stevens.edu>
Subject: Re: [cs631apue] Connecting to Netbsd running on VM

Just saw professors email so I’ll try those steps and see if I can get it to work.

Brian Jefferson
Computer Engineer, 2019
Stevens Institute of Technology
Cell: 862-812-9748

On Sep 3, 2019, at 3:46 PM, Brian Jefferson <bjeffer1 at stevens.edu<mailto:bjeffer1 at stevens.edu>> wrote:

I am not sure if my issue relates to Mario'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'm pretty sure I set it up correctly so if anyone has any ideas that would be great.
<image.png>
Thanks,
Brian Jefferson

On Tue, Sep 3, 2019 at 2:03 PM Mario P Alexandre <malexan3 at stevens.edu<mailto:malexan3 at stevens.edu>> wrote:
The command I was using to connect to the VM is "ssh -vv NetBSD-VM". I'll make another user account when I get home later and try again.

Get Outlook for Android<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Faka.ms%2Fghei36&data=02%7C01%7Cdtrived5%40stevens.edu%7Cfea512119ba649f0ce4c08d730a7c94b%7C8d1a69ec03b54345ae21dad112f5fb4f%7C0%7C0%7C637031369523489599&sdata=DBMY2lPfZTx4qzzgxv4C6ayYKYArlXDs8oR%2F9t%2BKRuo%3D&reserved=0>

________________________________
From: cs631apue-bounces at lists.stevens.edu<mailto:cs631apue-bounces at lists.stevens.edu> <cs631apue-bounces at lists.stevens.edu<mailto:cs631apue-bounces at lists.stevens.edu>> on behalf of Jan Schaumann <jschauma at stevens.edu<mailto:jschauma at stevens.edu>>
Sent: Tuesday, September 3, 2019 1:53:48 PM
To: cs631apue at lists.stevens.edu<mailto:cs631apue at lists.stevens.edu> <cs631apue at lists.stevens.edu<mailto:cs631apue at lists.stevens.edu>>
Subject: Re: [cs631apue] Connecting to Netbsd running on VM

Mario P Alexandre <malexan3 at stevens.edu<mailto:malexan3 at stevens.edu>> wrote:
> /etc/rc.d/sshd start

I meant: please provide the exact command you ran to
connect to the system via ssh from outside your VM.

> I did modify /etc/ssh/ssh_config to allow root login
> by adding the line "PermitRootLogin yes" under Host
> *

That's not the right place.  /etc/ssh/ssh_config
applies to the 'ssh' client side, i.e., when you run
'ssh' on the VM.  You'd need to change the setting in
/etc/ssh/sshd_config, but the _right_ way to solve
this is to add another user and log in as that user;
you do not need nor want to run everything as root.

In fact, in this class the requirement is that you do
not run your code as root, as root has special
privileges and your code will behave differently at
times than if it's executed by a normal user.

-Jan
_______________________________________________
cs631apue mailing list
cs631apue at lists.stevens.edu<mailto:cs631apue at lists.stevens.edu>
https://lists.stevens.edu/mailman/listinfo/cs631apue
_______________________________________________
cs631apue mailing list
cs631apue at lists.stevens.edu<mailto:cs631apue at lists.stevens.edu>
https://lists.stevens.edu/mailman/listinfo/cs631apue
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs631apue/attachments/20190903/cd380900/attachment-0001.html>


More information about the cs631apue mailing list