How to PuTTY to FreeBSD running on a VM


 
Thread Tools Search this Thread
Operating Systems BSD How to PuTTY to FreeBSD running on a VM
# 1  
Old 04-02-2009
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  
Old 04-02-2009
Quote:
Originally Posted by coolatt
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  
Old 04-02-2009
Also, if SSH is enabled, ad you are still having issues, try switching the networking to a bridged connection in your VM host.
# 4  
Old 04-03-2009
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  
Old 04-03-2009
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  
Old 04-03-2009
thanks pludi.
plz provide me some more details how to do this.Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Regarding PUTTY

Hello Forum members There is no any time parameter on putty so how can I stay my putty ssh session always Alive? So please reply to my querry. I am looking forward from Forum. Advance Thanks Siva. (5 Replies)
Discussion started by: workforsiva
5 Replies

2. Red Hat

putty and Redhat

Hi, I use putty and vncviewer on XP to get screen form the RH Enterprise ws 6.0 . Although it has high quality of graphics scrolling down leads to blinks on screen which is annoying while using EDA design tools. Is there anyway to utilize putty (with some extra tool) so that EDA design tool... (2 Replies)
Discussion started by: titanic
2 Replies

3. BSD

Running gsl on FreeBSD

I have been trying to run GSL (GSL - GNU Scientific Library - GNU Project - Free Software Foundation (FSF)) programs in FreeBSD. The library was installed fisrt via make and later via the ports: cd /usr/ports/math/gsl/ && make install clean pkg_add -r gsl Both installation methods worked, to... (1 Reply)
Discussion started by: figaro
1 Replies

4. UNIX for Dummies Questions & Answers

Running Putty from Browser

Hey All, My first posting around here, So please be patient with me. I dont have any rights on a computer that Im using right now & I was wondering if I can run putty session from the browser itself without downloading it. I looked up all over the web & I couldnt really see a place... (1 Reply)
Discussion started by: Fanxinu
1 Replies

5. UNIX for Advanced & Expert Users

Help for PuTTy.

I'm using PuTTY to establish a SSH connection to a remote UNIX machine. I need to fetch a file from the remote system into my local Windows system. Is it possible? If yes, how can I do that? (2 Replies)
Discussion started by: agnivaccent
2 Replies

6. Programming

Application crashes in FreeBSD 7.1 while working ok in FreeBSD 6.3

Hello there, My mulithreaded application (which is too large to represent the source code here) is crashing after installing FreeBSD 7.1-RELEASE/amd64. It worked properly on others machines (Dual Cores with 4GB of RAM - FreeBSD 6.2-RELEASE/i386). The current machine has 2x Core 2 Duo... (1 Reply)
Discussion started by: Seenquev
1 Replies

7. UNIX for Dummies Questions & Answers

Can't login through putty

I am changing root password by passwd. Now I can directly log into the system but I can not log in using puttytel. It will show an error "Incorrect Password":rolleyes: (1 Reply)
Discussion started by: arrs
1 Replies

8. UNIX for Dummies Questions & Answers

putty

i am connecting to a unix-application using putty (xp). sometime, it is as if the putty is sending a form-feed char, because i am getting a blank screen, and by back scrolling i see the previous screen with all the related data. if i am using the xp-telnet, i get the screen/data correctly. ... (7 Replies)
Discussion started by: mifa-system
7 Replies

9. News, Links, Events and Announcements

PuTTY 0.59

On my opinion, one of the best ssh/telnet clients for windows, putty released a new version: Get it here, PuTTY 0.59 - PuTTY can now connect to local serial ports as well as making network connections. - Improved speed of SSH, particularly SSH-2 key exchange and public-key authentication -... (2 Replies)
Discussion started by: pressy
2 Replies

10. Solaris

SSH with Putty

I've been trying to setup my SunBlade as an SSH server. I configured the sshd_config file, but I cannot get the keys to exchange properly. I generate a key pair in Putty on my laptop (the host, running Win2K), exported the Private key as OpenSSH and then copied the public key to the a file I... (3 Replies)
Discussion started by: AJA
3 Replies
Login or Register to Ask a Question