[ssh] "User prompt string" analogous to "Password promp string"
0 vote
Hi there,
We have this "user prompt" with a ssh login e.g. cisco switch.
Therefore it would be good to have a "User prompt string" analogous to "Password promp string"
Thanks for RDM.
Stefan Sabolowitsch
Hello,
Thank you for the request. I have opened a ticket so we can see what we can do.
Regards,
Hubert Mireault
Hi Hubert,
thank you for the quick reply.
Would be nice if there was a solution.
regards
Stefan Sabolowitsch
Hello,
I checked with our terminal expert and he said that for SSH, the username is an integral part of the protocol and we can't have a "user prompt string" the same way we have an option for the password.
What you could do though is configure a post-login command. From what I understand you could configure it this way:
The $USERNAME$ variable will send the value of the username you configured in the entry. The expected prompt in this case seems to be "User Name:" from your screenshot.
Let me know if this works for you!
Regards,
Hubert Mireault
Hi Hubert,
Thank you for your quick reply.
The $USERNAME$ variable now works as desired.
But now i still have the problem with the "Password prompt string". How do i pass the password here ?
Best Regards.
Stefan Sabolowitsch
Hello,
I simply wanted to update this thread as I just had a conversation on our live chat with StefanSa.
To configure the password in the same way Hubert described for the username, the $PASSWORD$ variable can be used. However, with password variables, there are a few additional requirements :
If you use a team data source, go to Administration > System Settings > Password Policy and make sure that "Allow password variables for all entries" is enabled
In the properties of the SSH session, go to the Security Settings section and make sure that "Allow Password in variable" is enabled
If your SSH session is linked to a credential entry, make sure for this entry as well that "Allow Password in variable" is enabled
Best regards,
Gabriel Degrandpré