Linux Tip: Use sudo with remote SSH Commands

preview_player
Показать описание
Quick tip about how you can use sudo and other interactive commands when doing a one-shot SSH command to a remote system.
Рекомендации по теме
Комментарии
Автор

Hi ..
there are users a, b, c and 2 servers x, y.
a and b is having su not auth access in x
b and c is having su not auth access in y
One script is running in the x server by a user
Through the script i want to connect to y server as b user( shared user) and run another script in remote y server as c


Is it possible? Please help me


In that

gunak
Автор

thanks, but how do we copy a file to 70 linux servers from 1 server and execute that file as root from sitting on 1 server ?

gangadharpavan