The error message “UNIX: Failed to detect shell prompt within the timeout value of X milliseconds.” appears when acquiring a Unix V2 or Red Hat Linux Connector endpoint.
!!IMPORTANT!!: Shell prompt pattern may be different for each user on the endpoint. Always verify this by connecting to the endpoint using an SSH client (ie. putty) as the admin user.
2. Another reason this could happen is due to an unresponsive or slow endpoint.
Execute the following command to determine the shell prompt.
Example:
\u is the user currently logged in
\h is the host name
and the \$ is the shell prompt.
How to modify shell prompt:
Log in as root:
vi /etc/profile
insert
export PS1="\$ "
Next acquire the endpoint with the following regexp: \$( )
Example information used to acquire endpoint:
Administrator root
Password ******
Operation Timeout 60
Shell Prompt (Regexp) \$( )
Create new user for connection:
useradd bob
cd /etc
passwd bob
vi /etc/sudoers
bob ALL=(ALL) ALL
Logon as bob:
vi ~/.bash_profile
export PS1="\$ "
During attempt of "ssh [email protected]":
If an error message is displayed that authenticity can not be established, this means you could have a ssl error. If you continue by typing yes you can Permanently add the RSA to the list of known hosts. You will then need to login again.