Showing posts with label SSH. Show all posts
Showing posts with label SSH. Show all posts

Saturday, March 6, 2010

How to Enable or Permit Root Login via SSH

Follow the instructions below to enable root login via SSH.

1. Edit the file /etc/ssh/sshd_config
Find the line
#PermitRootLogin no
Now uncomment and Change the No to yes
Now the Line should look like this
PermitRootLogin yes 

2. Now restart SSH.

Monday, December 21, 2009

How to enable SSHD in FreeBSD

Actually you will be asked whether to enable SSH, during a Standard Installation of FreeBSD.

Now, if you need to enable SSH after an installation, open the file rc.conf and add the line ` sshd_enable="YES" `.
open the file
# vi /etc/rc.conf
Now add the below line to the file.
sshd_enable="YES"
Now start sshd.
# /etc/rc.d/sshd start 
 

Labels

Labels