No prompt defined when logging in to a RHEL from a Windows with ssh and authenticating with a smart card
Issue
We have noticed that $PS1 is not defined on your system and after having logged in, it is possible to get a prompt by running the bash command again.
For example:
$ ssh <USER>@<IP>
<USER>@<IP>'s password:
Last login: Fri Mar 9 10:48:11 2018 from gateway
-bash-4.2# bash
[<USER>@<HOSTNAME> ~]#
Environment
- Red Hat Enterprise Linux 7.4
- Red Hat Identity Management
- Microsoft Active Directory
- Smart card authentication
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
