I am having around 150 servers. I want to change a string in a file using a script with ssh login. Can someone help me out?

This is not particularly informative. Without more information, such as just exactly what you are trying to do, it will be pretty much impossible to help you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.