Monday, February 26, 2007
Root Access
Being tired of installing ESX 3.0.1 and forgetting to enable remote root access all the time, I decided to write a small free utility to automate the root access enabling. The utility uses a combination of native SOAP API and ssh to modify the /etc/ssh/sshd_config file and enable or disable the remote root access to the ESX server.
The tool will also optionally create an ordinary non-root account on the ESX server. The regular account created by the utility can be used to remote access the ESX server using an ssh client.
How it works:
The tool connects to the ESX server using root credentials through SSL on port 443. This is similar to how VMware infrastructure client connects to the server. The same API is used to create an ordinary account on the ESX server.
In order to enable or disable the remote root access, the tool uses ssh under an ordinary account. After ssh session is established, the program issues ‘su’ command and executes a perl script (sshdcfg.pl) to change the PermitRootLogin setting in the /etc/ssh/sshd_config file.
I hope the utility will make my life a little bit easier.
Download: http://www.veeam.com/download/veeam_rootaccess.msi
The tool will also optionally create an ordinary non-root account on the ESX server. The regular account created by the utility can be used to remote access the ESX server using an ssh client.
How it works:
The tool connects to the ESX server using root credentials through SSL on port 443. This is similar to how VMware infrastructure client connects to the server. The same API is used to create an ordinary account on the ESX server.
In order to enable or disable the remote root access, the tool uses ssh under an ordinary account. After ssh session is established, the program issues ‘su’ command and executes a perl script (sshdcfg.pl) to change the PermitRootLogin setting in the /etc/ssh/sshd_config file.
I hope the utility will make my life a little bit easier.
Download: http://www.veeam.com/download/veeam_rootaccess.msi
Saturday, February 17, 2007
RDP Auto logon 2.0 beta 1
Microsoft recently released new mstsc 6.0. Unfortunately autordp 1.x does not work with this new version of the remote desktop client.
This is why I'll release autordp 2.0 - the utility that is compatible with both previous and the new released mstsc.
The current status of the utility is beta because I do not have enough resources (computers/OSes) at home to test it. I'll spend some time testing it this week and hopefully change the status to release by the end of the week.
Any help in testing is very welcome. I would appreciate if you post a comment if the utility works/does not work in your environment.
Here is the download link:
http://www.abinsight.com/tools/beta/autordp.exe
Thanks,
Andrei
This is why I'll release autordp 2.0 - the utility that is compatible with both previous and the new released mstsc.
The current status of the utility is beta because I do not have enough resources (computers/OSes) at home to test it. I'll spend some time testing it this week and hopefully change the status to release by the end of the week.
Any help in testing is very welcome. I would appreciate if you post a comment if the utility works/does not work in your environment.
Here is the download link:
http://www.abinsight.com/tools/beta/autordp.exe
Thanks,
Andrei