Re: [Sshpass-devel] Added support for entering TOTP; changing attempts entering password
Brought to you by:
thesun
|
From: Shachar S. <sh...@sh...> - 2021-06-30 03:24:14
|
<html style="direction: ltr;">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=KOI8-R">
<style id="bidiui-paragraph-margins" type="text/css">body p { margin-bottom: 0.3cm; margin-top: 0pt; } </style>
</head>
<body bidimailui-charset-is-forced="true" style="direction: ltr;">
<p>Hello Denis,</p>
<p>Thank you for your submission. I'm in a bit of a high pressure
time right now, but I'll try to have a look around next week.
Please feel free to ping me if you don't hear back from me.</p>
<p>Thank you again,</p>
<p>Shachar<br>
</p>
<div class="moz-cite-prefix">On 30/06/2021 1:52, Halturin Denis
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:AM8...@AM...">
<meta http-equiv="Content-Type" content="text/html;
charset=KOI8-R">
<div style="font-family: "segoe ui westeuropean",
"segoe ui", helvetica, arial, sans-serif; font-size:
12pt; color: rgb(0, 0, 0);">
Hello. </div>
<div style="font-family: "segoe ui westeuropean",
"segoe ui", helvetica, arial, sans-serif; font-size:
12pt; color: rgb(0, 0, 0);">
<div><br>
</div>
When connecting to the server, it is sometimes necessary to
enter a password and TOTP (-t, -T)</div>
<div style="font-family: "segoe ui westeuropean",
"segoe ui", helvetica, arial, sans-serif; font-size:
12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "segoe ui westeuropean",
"segoe ui", helvetica, arial, sans-serif; font-size:
12pt; color: rgb(0, 0, 0);">
It may also be necessary to change the number of password entry
attempts, since some servers may be located behind the DMZ (for
example, connecting via bastion: ssh-J %bastion_ip%
%second_server_ip%).</div>
<div style="font-family: "segoe ui westeuropean",
"segoe ui", helvetica, arial, sans-serif; font-size:
12pt; color: rgb(0, 0, 0);">
In this case, the password will be requested 2 times.</div>
<div style="font-family: "segoe ui westeuropean",
"segoe ui", helvetica, arial, sans-serif; font-size:
12pt; color: rgb(0, 0, 0);">
The proposed changes will not allow sshpass to fail if you
change the number of attempts from one to two (-a 2).</div>
<div style="font-family: "segoe ui westeuropean",
"segoe ui", helvetica, arial, sans-serif; font-size:
12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "segoe ui westeuropean",
"segoe ui", helvetica, arial, sans-serif; font-size:
12pt; color: rgb(0, 0, 0);">
Finally, a prompt has been added to enter the become password
for ansible (-A)<br>
</div>
<div style="font-family: "segoe ui westeuropean",
"segoe ui", helvetica, arial, sans-serif; font-size:
12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "segoe ui westeuropean",
"segoe ui", helvetica, arial, sans-serif; font-size:
12pt; color: rgb(0, 0, 0);">
Link to the patch:<br>
</div>
<div style="font-family: "segoe ui westeuropean",
"segoe ui", helvetica, arial, sans-serif; font-size:
12pt; color: rgb(0, 0, 0);">
<a class="moz-txt-link-freetext" href="https://sourceforge.net/p/sshpass/patches/15/">https://sourceforge.net/p/sshpass/patches/15/</a><br>
</div>
<div style="font-family: "segoe ui westeuropean",
"segoe ui", helvetica, arial, sans-serif; font-size:
12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "segoe ui westeuropean",
"segoe ui", helvetica, arial, sans-serif; font-size:
12pt; color: rgb(0, 0, 0);">
Denis</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Sshpass-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ssh...@li...">Ssh...@li...</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/sshpass-devel">https://lists.sourceforge.net/lists/listinfo/sshpass-devel</a>
</pre>
</blockquote>
</body>
</html>
|