I need to run scripts with different linux users on same host to different hosts without password prompt. In other words, the deferent users are on a source host able to login (ssh/scp/other shell scripts) to other hosts without password prompt.
The following is example:
hostA-user1, hostA-user2, hostA-user3 … on hostA: able to execute shell “uname –a” on hostB and hostC
hosts-user as a common user on hostB which allows others user login from different hosts. hosts-user as a common user on hostC, hostD and etc. which allows others user login from different hosts.
But I do not want setup ~/.ssh/authorized_keys on hostB, hostC and etc. for each users on hostA and do not want users:hostA-user* to get password prompt when login and/or run scripts from hostA. Any option to do so? Thanks in advance.