01 login as a root from physical server
02 so navigate to /etc/ssh folder Just type in:
[root@esx4.1 ~]#cd /etc/ssh
03 edit the sshd_config file [root@esx4.1 ~]#vi sshd_config
under bellow line you can see the PermitRootLogin line
navigate below line called PermitRootLogin no set to yes
PermitRootLogin yes

and save and exit ex use : wq!
04 restart the sshd service using below command [root@esx4.1 ~]#service sshd restart
[root@esx4.1 ~]# /etc/init.d/sshd restart
02 so navigate to /etc/ssh folder Just type in:
[root@esx4.1 ~]#cd /etc/ssh
03 edit the sshd_config file [root@esx4.1 ~]#vi sshd_config
under bellow line you can see the PermitRootLogin line
navigate below line called PermitRootLogin no set to yes
PermitRootLogin yes
and save and exit ex use : wq!
04 restart the sshd service using below command [root@esx4.1 ~]#service sshd restart
[root@esx4.1 ~]# /etc/init.d/sshd restart
No comments:
Post a Comment