• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
sharadchhetri

sharadchhetri

Tutorials On Linux, Unix & Open Source

  • Home
  • Linux Commands
  • Resources
    • Learn Linux
  • My WordPress plugins

Allow root ssh login in FreeBSD 9.0

July 21, 2013 by Sharad Chhetri Leave a Comment

Allow root ssh login in FreeBSD 9.0

OS Detail:

freebsd# uname -ar
FreeBSD freebsd 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:15:25 UTC 2012 root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
freebsd#

As I stated earlier in my some post, this is my first time work in freebsd.
After fresh installation of FreeBSD 9.0-RELEASE I tried to ssh with root user to my server but found it is not able to login.
In linux I always used to check sshd_config file at parameter PermitRootLogin

To allow root ssh login in freebsd, follow the given below steps

Step 1: Edit /etc/ssh/sshd_config and uncomment the line which has parameter PermitRootLogin and instead of no write yes. See given below setting


vi /etc/ssh/sshd_config

PermitRootLogin yes

Step 2: After saving the file, restart the sshd service.

service sshd restart

or

/etc/rc.d/sshd restart

Now try login with root user via ssh

Share this:

  • Twitter
  • Facebook
  • More
  • Print
  • Email
  • LinkedIn
  • Reddit
  • Tumblr
  • Pinterest
  • Pocket
  • Telegram
  • WhatsApp
  • Mastodon

Related posts:

  1. Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9.0-release/Latest/
  2. lock user login after failed login attempts in Red Hat 6.x and CentOS 6.x
  3. Authenticate root to login in GUI mode in Fedora 10
  4. Root Is Not Able To Login In Red Hat And CentOS
  5. how to deny root ssh access in linux server
  6. Allow wget and yum in iptable
  7. Allow only members of Wheel group to use su command on RHEL/CentOS
  8. How to set DHCP offered ip address to particular ethernet in freebsd
  9. How to install vim in freebsd
  10. How to enable su access or switch to superuser in freebsd

Filed Under: BSD troubleshooting Tagged With: freebsd

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Our Social Media Presence

  • Facebook
  • GitHub
  • Twitter

Linux Command

What is Linux Internal And External Command

Linux Basic Commands With Examples For Every Beginner

tr command to convert lines to space , tab and vertical tab

smbpasswd command not found on CentOS 7 and RHEL 7

Solution : semanage command not found

Unix / Linux : How to print duplicate lines from file

More Posts from this Category

You Might Like These Articles!

simplecodesyntax wordpress plugin

SimpleCodeSyntax : My Another WordPress Plugin

Install Nginx

How To Install Nginx On Ubuntu 22.04 LTS

Install Latest Git package in Ubuntu Operating System

How To Always Install Latest Git Package In Ubuntu Operating System

Bash script for installing VirtualBox on Ubuntu 22.04 LTS Desktop

Install VirtualBox On Ubuntu 22.04 LTS Desktop (Bash Script)

libfuse

dlopen(): error loading libfuse.so.2 – Got Error On Ubuntu

Failed to open/create the internal network

VirtualBox Error: Failed to open/create the internal network

Always Useful Tips And Tricks

Terminal Recording with script and scriptreplay command

AttributeError: ‘WSGIRequest’ object has no attribute ‘session’ Django python web framework

error command ‘gcc’ failed with exit status 1 in Ubuntu

How to find when Operating system was installed in linux CentOS and Red Hat

df command not showing correct free space in linux

curl command to check the http status

configure: error: C++ compiler cannot create executables

Explore 90+ Article On "Linux Tips And Tricks"

Copyright © 2023 ยท
The material in this site cannot be republished either online or offline, without our permission.
Proudly Blogging From Bharat.

  • Contact
  • About Me
  • My WordPress plugins
  • Privacy Policy