Setting up a VM for doing GSoC work (part 2)

May 30, 2013 by · 2 Comments 

For previous post, see Setting up a VM for doing GSoC work

Since Neeraj is using a Windows 7 machine, where FreeBSD is in a VM, I asked him to install the following programs under Windows:

In the FreeBSD VM, I asked him to add this to /etc/rc.conf :

sshd_enable=”YES”

and this to /etc/ssh/sshd_config :

PermitRootLogin yes

This allowed him to (1) log into the VM via SSH using Putty, (2) transfer some files to and from the VM using WinSCP

Configuring sshd is documented in the FreeBSD Handbook here:
http://www.freebsd.org/doc/en/books/handbook/openssh.html
http://www.freebsd.org/doc/en/books/handbook/configtuning-rcd.html

 

One point of confusion for Neeraj was that some config files are located in /usr/local/etc (for certain ports),but the certain config files are under /etc.  For example, the  sshd config files are under /etc/ssh/  (and not /usr/local/etc/ssh/).  Depending on the Linux distribution, on Linux there is generally no /usr/local directory, and all config files go under /etc.  This is one slight point of confusion for users moving from Linux to FreeBSD.  Nothing too difficult, but something worth noting.

About Craig Rodrigues

Comments

2 Responses to “Setting up a VM for doing GSoC work (part 2)”

Trackbacks

Check out what others are saying about this post...
  1. [...] See more details at: Setting up a VM for doing GSoC work (part 2) [...]

  2. [...] For previous post, see: Setting up a VM for doing GSoC work (part 2) [...]



Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!