Closed theRemix closed 6 years ago
Current behavior:
root
[Overrides]
User = "ubuntu"
ubuntu
Desired behavior:
example recipe:
[Overrides] User = "admin" [Required] Hosts = [ "localhost:221", "root@localhost:222", "customuser@localhost:223", "localhost:224" ]
1st connection will connect as user admin 2nd connection will connect as user root 3rd connection will connect as user customuser 4th connection will connect as user admin
admin
customuser
Current behavior:
root
[Overrides]
User = "ubuntu"
would override every ssh connection to connect as userubuntu
Desired behavior:
example recipe:
1st connection will connect as user
admin
2nd connection will connect as userroot
3rd connection will connect as usercustomuser
4th connection will connect as useradmin