Sponsored Content
Operating Systems BSD How to PuTTY to FreeBSD running on a VM Post 302303284 by ph0enix on Thursday 2nd of April 2009 09:34:15 AM
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.
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
tcpclient(1)						      General Commands Manual						      tcpclient(1)

NAME
tcpclient - create an outgoing TCP connection SYNOPSIS
tcpclient [ -46hHrRdDqQv ] [ -ilocalip ] [ -plocalport ] [ -Ttimeoutconn ] [ -llocalname ] [ -ttimeoutinfo ] [ -Iinterface ] host port pro- gram [ arg ... ] DESCRIPTION
tcpclient attempts to connect to a TCP server. If it is successful, it runs program with the given arguments, with descriptor 6 reading from the network and descriptor 7 writing to the network. The server's address is given by host and port. host may be 0, referring to the local machine, or a dotted-decimal IP address, or a host name; if a host has several IP addresses, tcpclient tries each in turn. port may be a numeric port number or a port name. tcpclient sets up several environment variables, as described in tcp-environ(5). OPTIONS
-ilocalip Use localip as the IP address for the local side of the connection; quit if localip is not available. -plocalport Use localport as the port number for the local side of the connection; quit if localport is not available. -Iinterface Use interface as the local network interface. This is only defined for IPv6 sockets and needed if you use link-local IPv6 addresses. -Ttimeoutconn Give up on the connection attempt after timeoutconn seconds. Default: 60. This timeout applies to each IP address tried. -d (Default.) Delay sending data for a fraction of a second whenever the remote host is responding slowly, to make better use of the network. -D Never delay sending data; enable TCP_NODELAY. This is appropriate for interactive connections. -q Quiet. Do not print any messages. -Q (Default.) Print error messages. -v Verbose. Print all available messages. DATA-GATHERING OPTIONS -h (Default.) Look up the remote host name for TCPREMOTEHOST. -H Do not look up the remote host name; unset TCPREMOTEHOST. -llocalname Do not look up the local host name; use localname for TCPLOCALHOST. -r (Default.) Attempt to obtain TCPREMOTEINFO from the remote host. -R Do not attempt to obtain TCPREMOTEINFO from the remote host. -ttimeoutinfo Give up on the TCPREMOTEINFO connection attempt after timeoutinfo seconds. Default: 26. -4 Fall back to IPv4 sockets. This is necessary for terminally broken systems like OpenBSD which will not let IPv6 sockets connect to V4-mapped IPv6 addresses. Please note that this also applies to DNS lookups, so you will have to use an DNS resolver with an IPv6 address to connect to IPv6 systems. Use DNSCACHEIP to set the DNS resolver IP dynamically. -6 Force IPv6 mode in UCSPI environment variables, even for IPv4 connections. This will set $PROTO to TCP6 and put IPv4-mapped IPv6 addresses in TCPLOCALIP and TCPREMOTEIP. SEE ALSO
date@(1), finger@(1), http@(1), mconnect(1), tcpcat(1), tcpserver(1), who@(1), tcp-environ(5) tcpclient(1)
All times are GMT -4. The time now is 02:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy