sshpass is giving error while trying to connect server via ssh

Solution Verified - Updated -

Issue

  • When attempting to connect a server using SSH, sshpass gives below error.

    Testsystem ~]$ sshpass -p '!12345' ssh  user1@10.1.x.x
    Fri Jun 23 21:38:09 IST 2023
    Failed to change pseudo terminal's permission: Operation not permitted
    

Environment

  • Red Hat Enterprise Linux 7
  • sshpass

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content