The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > BSD
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 04-02-2009
ph0enix ph0enix is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 26
Quote:
Originally Posted by coolatt View Post
Hi all.

I have freebsd running on a vm (with a private ip).
Is it possible to putty to this vm ?
Plz advise. vm is vmware server .
Thanks.
Yes, it's possible. Enable SSH on the FreeBSD system by adding the following line to /etc/rc.conf:

sshd_enable="YES"

...and reboot. Once that's done you should be able to use putty to connect to it from the local network. If you want to be able to do this from an external machine, you need to configure the firewall that's protecting the local network to forward a TCP port to the FreeBSD systems's TCP:22. I usually set mine to something like TCP:9922 on the outside which greatly reduces the number of break-in attempts. It's amazing how effective that technique is.

Hope this helps!

J.