[cs631apue] Connecting to Netbsd running on VM

Brian Jefferson bjeffer1 at stevens.edu
Tue Sep 3 15:49:03 EDT 2019


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> 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> 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
>> 
>> From: cs631apue-bounces at lists.stevens.edu <cs631apue-bounces at lists.stevens.edu> on behalf of Jan Schaumann <jschauma at stevens.edu>
>> Sent: Tuesday, September 3, 2019 1:53:48 PM
>> To: cs631apue at lists.stevens.edu <cs631apue at lists.stevens.edu>
>> Subject: Re: [cs631apue] Connecting to Netbsd running on VM
>>  
>> Mario P Alexandre <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
>> https://lists.stevens.edu/mailman/listinfo/cs631apue
> _______________________________________________
> cs631apue mailing list
> 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/39cc4aec/attachment.html>


More information about the cs631apue mailing list