Home Linux Unix FreeBSD Diary: Enable Access With SSH

FreeBSD Diary: Enable Access With SSH

PrintE-mail
Saturday, 27 June 2009 21:20   Review this article  Add to Technorati Favorites

Question

How can I access a freebsd server with ssh?

Answer

By default, remote root access is disabled for security reasons. However you can still enable it by configing sshd.

Enable Root Login

vi /etc/ssh/sshd_config

Replace the ine:

#PermitRootLogin no

with

PermitRootLogin yes 

save and close it.

Auto Start SSH 

vi /etc/rc.conf

If there is no such a line 

sshd_enable="YES"

add it, then save it.

Restart sshd

/etc/rc.d/sshd restart
 

Comments

Welcome to leave a comment to this article.


Leave a comment


Copyright © 2010 PHP42. All Rights Reserved.

Other Languages Blog DirectoryFind the best blogs at Blogs.com.Internet blogsWeb Developement Blogs - BlogCatalog Blog DirectoryTechnologyBlog DiggerSpreadfirefox Affiliate Button