The UNIX and Linux Forums  


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



BSD BSD, sometimes called Berkeley Unix, is a Unix operating system developed by the Computer Systems Research Group of the UC Berkeley.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Application crashes in FreeBSD 7.1 while working ok in FreeBSD 6.3 Seenquev High Level Programming 1 01-20-2009 09:07 AM
Can't login through putty arrs UNIX for Dummies Questions & Answers 1 11-10-2008 11:02 AM
putty mifa-system UNIX for Dummies Questions & Answers 7 09-16-2008 11:39 PM
PuTTY 0.59 pressy News, Links, Events and Announcements 2 01-30-2007 09:09 AM
SSH with Putty AJA SUN Solaris 3 03-01-2004 03:45 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-02-2009
coolatt coolatt is offline
Registered User
  
 

Join Date: Mar 2009
Location: Mauritius
Posts: 17
How to PuTTY to FreeBSD running on a VM

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.
  #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.
  #3 (permalink)  
Old 04-02-2009
RealFreeBSDTips RealFreeBSDTips is offline
Registered User
  
 

Join Date: Jan 2009
Posts: 5
Also, if SSH is enabled, ad you are still having issues, try switching the networking to a bridged connection in your VM host.
  #4 (permalink)  
Old 04-03-2009
coolatt coolatt is offline
Registered User
  
 

Join Date: Mar 2009
Location: Mauritius
Posts: 17
thanks for the advice, but the prob is that we have to let it Host-Only to secure it.

the vm-ware server runs on linux. how to enable the port forwarding to freebsd. plz explain.

thanks.
  #5 (permalink)  
Old 04-03-2009
pludi's Avatar
pludi pludi is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2008
Location: .at
Posts: 1,907
VMware doesn't support port forwarding to a host-only connection, only on NAT connections. You could try rolling your own port forwarding by configuring the Linux host as a gateway into the host-only network, but that would work both ways and be essentially the same as if you set VMware to NAT.
  #6 (permalink)  
Old 04-03-2009
coolatt coolatt is offline
Registered User
  
 

Join Date: Mar 2009
Location: Mauritius
Posts: 17
thanks pludi.
plz provide me some more details how to do this.
Closed Thread

Bookmarks

Tags
ip, private, putty, vm

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:21 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0