VMware

Jonathan Marrott's VM Scripting Blog

A swell blog containing some of the scripts I have written for VM management.

1 Posts tagged with the ssh tag
0

SSH - Enable for Root

Posted by froboy Sep 28, 2007

Here is a quick 2 line change to enable ssh for root.

cp /etc/ssh/sshd_config /etc/ssh/sshd_config.orig
sed 's/PermitRootLogin no/PermitRootLogin yes/' /etc/ssh/sshd_config > /etc/ssh/sshd_config

If you want the changes immediately before a reboot also execute:
service sshd restart

Again, very handy in kickstart.

0 Comments Permalink
Click to view froboy's profile Member since: Jun 26, 2006

A swell blog containing some of the scripts I have written for VM management.

View froboy's profile

Communities