How to Connect FreeBSD Linux server using putty or putty like tools ( Enable the SSH Server )

FreeBSD provide the built-in ssh client utility. FreeBSD Server can be configured as an SSH server, accepting connections from other SSH clients. To connect FreeBSD server using putty or putty like tool you need to configure ssh server.

To check the status of sshd daemon:

To check the status of sshd in FreeBSD , you can use ‘ service ‘command as shown below.

login: root
Password:
Last login: Sat Apr 16 18:02:57 2016
FreeBSD 10.3-RELEASE (GENERIC) #0 r297264: Fri Mar 25 03:51:29 UTC 2016

Welcome to FreeBSD!
Introduction to manual pages:  man man
FreeBSD directory layout:      man hier
Edit /etc/motd to change this login announcement.
root@:~ # 

root@:~ # service sshd onestatus
sshd is not running.
root@:~ #

If the service is not running  sshd_enable=”YES” add in ‘/etc/rc.conf ‘file.

You open ‘rc.conf’ file using vi editor as shown below

root@:~ # vi /etc/rc.conf

When open ‘rc.conf’ press Insert key and write the sshd_enable=”YES”. Now press Esc key escape from Insert mode . Now you write  :wq  to save and exit from vi editor 

Now you start the SSH daemon in FeeBSD with the following command.

 root@:~ # service sshd onestart
Performing sanity check on sshd configuration.
Starting sshd.
root@:~ #

Now you can access FreeBSD server using putty or putty like tool.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s