SHIFT

--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


scriptsshnopassword
Differences

This shows you the differences between two versions of the page.

Link to this comparison view

scriptsshnopassword [2013/04/20 13:28]
sjoerd created
scriptsshnopassword [2013/04/20 13:29] (current)
sjoerd
Line 1: Line 1:
-= Script: Bash: Changing a config file on multiple ssh servers ​=+= Script: Bash: Changing a Config File on Multiple SSH Servers ​=
 I want to change a config file on multiple esx servers to solve the problem that after updating them to ESX version 4.1 I can't copy/paste into the VM console anymore. The solution is to add two lines to the /​etc/​vmware.config file. But I don't want to log on to each host and make the change. And ssh doesn'​t allow for passwordless logons unless you use [[sshloginwithoutpassword|key authentication]]. In this case I didn't want to do key authentication so created and used this script to solve my problem. ​ I want to change a config file on multiple esx servers to solve the problem that after updating them to ESX version 4.1 I can't copy/paste into the VM console anymore. The solution is to add two lines to the /​etc/​vmware.config file. But I don't want to log on to each host and make the change. And ssh doesn'​t allow for passwordless logons unless you use [[sshloginwithoutpassword|key authentication]]. In this case I didn't want to do key authentication so created and used this script to solve my problem. ​
  
scriptsshnopassword.txt ยท Last modified: 2013/04/20 13:29 by sjoerd