<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/sshpass/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/sshpass/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 10 Mar 2026 15:48:02 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/sshpass/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>#33 Typo in default password prompt indicator ("assword")</title><link>https://sourceforge.net/p/sshpass/bugs/33/?limit=25#c445</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello Yan, and thank you for your approach.&lt;br/&gt;
This is, in fact, done on purpose. Some implementations use a lowercase "p" and others capital. By having the search pattern not include the first letter of the word, this matches both cases.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Shachar Shemesh</dc:creator><pubDate>Tue, 10 Mar 2026 15:48:02 -0000</pubDate><guid>https://sourceforge.net4869e3631b4ede1a40b1ae29de7f89809a8f89e7</guid></item><item><title>Typo in default password prompt indicator ("assword")</title><link>https://sourceforge.net/p/sshpass/bugs/33/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;When running &lt;code&gt;sshpass -V&lt;/code&gt;, the output shows an incorrect default password prompt indicator:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;Using "assword" as the default password prompt indicator.
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The expected value should be &lt;code&gt;"password"&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;This appears to be a typo in &lt;code&gt;configure.ac&lt;/code&gt; where the default &lt;code&gt;PASSWORD_PROMPT&lt;/code&gt; is defined as &lt;code&gt;"assword"&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Steps to reproduce&lt;/strong&gt;&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;sshpass -V
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Output:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;Using "assword" as the default password prompt indicator.
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Expected behavior&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The output should be:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;Using "password" as the default password prompt indicator.
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Proposed fix&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The typo can be corrected in &lt;code&gt;configure.ac&lt;/code&gt; by changing the default value of &lt;code&gt;PASSWORD_PROMPT&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Patch:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="gh"&gt;diff --git a/configure.ac b/configure.ac&lt;/span&gt;
&lt;span class="gh"&gt;index 52ab2a1..d276aa7 100644&lt;/span&gt;
&lt;span class="gd"&gt;--- a/configure.ac&lt;/span&gt;
&lt;span class="gi"&gt;+++ b/configure.ac&lt;/span&gt;
&lt;span class="gu"&gt;@@ -35,7 +35,7 @@ AC_CHECK_FUNCS([select posix_openpt strdup])&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;AC_ARG_ENABLE([password-prompt],
&lt;span class="w"&gt; &lt;/span&gt;        [AS_HELP_STRING([--enable-password-prompt=prompt], [Provide alternative ssh password prompt to look for.])],
&lt;span class="w"&gt; &lt;/span&gt;        [AC_DEFINE_UNQUOTED([PASSWORD_PROMPT], ["$enable_password_prompt"], [Password prompt to use])],

&lt;span class="gd"&gt;-        [AC_DEFINE([PASSWORD_PROMPT], ["assword"])])&lt;/span&gt;
&lt;span class="gi"&gt;+        [AC_DEFINE([PASSWORD_PROMPT], ["password"])])&lt;/span&gt;

&lt;span class="w"&gt; &lt;/span&gt;AC_CONFIG_FILES([Makefile])
&lt;span class="w"&gt; &lt;/span&gt;AM_CONFIG_HEADER(config.h)
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Environment&lt;/strong&gt;&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;sshpass -V
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Output:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;Using "assword" as the default password prompt indicator.
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Yan Yuhao</dc:creator><pubDate>Tue, 10 Mar 2026 14:20:48 -0000</pubDate><guid>https://sourceforge.netae7306c38b7bd36c0980419d1452c0c3fd651e57</guid></item><item><title>ControlMaster / ProxyJump</title><link>https://sourceforge.net/p/sshpass/bugs/32/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Let's say I have four hosts:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;M: my local machine,&lt;/li&gt;
&lt;li&gt;P: a proxy machine (logged in via PubkeyAuthentication),&lt;/li&gt;
&lt;li&gt;D: a remote machine that I have direct access to,&lt;/li&gt;
&lt;li&gt;H: a remote machine that I do not have direct access to, but I can reach through P (somehow hidden).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If I &lt;strong&gt;ssh&lt;/strong&gt; from M to D using '&lt;em&gt;ControlMaster auto&lt;/em&gt;', once I close the shell connection the mux connection is kept open for future connections. That is, two processes are running in M:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;an ssh interactive process, and&lt;/li&gt;
&lt;li&gt;another independent ssh master process named '&lt;span&gt;[mux]&lt;/span&gt;'&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;but the former is killed once I close the shell, and the latter is the one kept open for future connections.&lt;/p&gt;
&lt;p&gt;If I &lt;strong&gt;sshpass&lt;/strong&gt; from M to D using '&lt;em&gt;ControlMaster auto&lt;/em&gt;', I get three processes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;an sshpass process, parent of&lt;/li&gt;
&lt;li&gt;an ssh interactive process, child of the sshpass process,&lt;/li&gt;
&lt;li&gt;an independent ssh master process named '&lt;span&gt;[mux]&lt;/span&gt;',&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;and only the mux process survives after the shell is closed, so it can be reused.&lt;/p&gt;
&lt;p&gt;If I &lt;strong&gt;ssh&lt;/strong&gt; from M to H using 'ControlMaster auto' and P as the ProxyJump host, then I get four processes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;an ssh interactive process to H, parent of&lt;/li&gt;
&lt;li&gt;an ssh interactive process to P,&lt;/li&gt;
&lt;li&gt;an independent ssh master process name '&lt;span&gt;[mux]&lt;/span&gt;' to P&lt;/li&gt;
&lt;li&gt;an independent ssh master process name '&lt;span&gt;[mux]&lt;/span&gt;' to H&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;and again, the first one is killed once I close the shell but the other three are kept running. So that, I can reuse the socket for later usage.&lt;/p&gt;
&lt;p&gt;However, if I &lt;strong&gt;sshpass&lt;/strong&gt; from M to H using 'ControlMaster auto' and P as the ProxyJump host, then I also get five processes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;an sshpass process, parent of&lt;/li&gt;
&lt;li&gt;an ssh interactive process to H, parent of&lt;/li&gt;
&lt;li&gt;an ssh interactive process to P, grandchild of the sshpass process,&lt;/li&gt;
&lt;li&gt;a ssh master process name '&lt;span&gt;[mux]&lt;/span&gt;' to P&lt;/li&gt;
&lt;li&gt;a ssh master process name '&lt;span&gt;[mux]&lt;/span&gt;' to H&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;BUT then when I close the remote shell, &lt;strong&gt;everyone dies but the mux process to P&lt;/strong&gt;, and the socket that connects to H disappear. So that, I cannot reuse the previous connection.&lt;/p&gt;
&lt;p&gt;This looks like an sshpass bug to me, since ssh seems to work fine when used without sshpass.&lt;/p&gt;
&lt;p&gt;A simplified config in this case would be:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;Host H
  PubkeyAuthentication no
  Proxyjump P
Host D
  PubkeyAuthentication no
Match host !localhost,*
  ControlMaster auto
  ControlPath ~/.ssh/sockets/test-%h
  ControlPersist 30m
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bitozoid</dc:creator><pubDate>Thu, 06 Feb 2025 19:34:18 -0000</pubDate><guid>https://sourceforge.net4d483476bca41ff58bf45649f184eb9d2cd7a501</guid></item><item><title>#28 Hide password on "ps aux| grep {process name}"</title><link>https://sourceforge.net/p/sshpass/bugs/28/?limit=25#9aae</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; invalid&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Shachar Shemesh</dc:creator><pubDate>Fri, 31 May 2024 18:46:53 -0000</pubDate><guid>https://sourceforge.net7ac1cb4b1d7cc91db0f48d7d561d1f3ca270c804</guid></item><item><title>#23 Show STDOUT of scp</title><link>https://sourceforge.net/p/sshpass/bugs/23/?limit=25#32e5</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I'm not sure this is worth fixing.&lt;br/&gt;
The setup here is this: scp is checking whether it's "foreground" (and thus print the progress) by checking which is the process leader of STDOUT.&lt;br/&gt;
When running under sshpass, STDOUT is directed to the parent's STDOUT (typically, the controlling terminal of where sshpass was run). But this is not the controlling terminal for scp itself. This is the PTY that sshpass created to accept the password prompt. This causes the IOCTL to fail, and scp to conclude it is running non-interactively, and not produce the progress output.&lt;/p&gt;
&lt;p&gt;A fix would be directing STDOUT and STDERR to the same TTY. This would require sshpass to stick around and continue forwarding output and input from its own streams to the running program.&lt;/p&gt;
&lt;p&gt;Feel free to submit such a patch, but this is outside sshpass' intended use.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Shachar Shemesh</dc:creator><pubDate>Fri, 31 May 2024 10:31:21 -0000</pubDate><guid>https://sourceforge.netc0344d6e980805492b1587fdf18ce83e7cd15620</guid></item><item><title>#23 Show STDOUT of scp</title><link>https://sourceforge.net/p/sshpass/bugs/23/?limit=25#1e58</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The immediate cause for scp is an ioctl it does that fails with ENOTTY:&lt;br/&gt;
ioctl(1, TIOCGPGRP, 0x7ffc18af0484)     = -1 ENOTTY (Inappropriate ioctl for device)&lt;/p&gt;
&lt;p&gt;Still investigating why.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Shachar Shemesh</dc:creator><pubDate>Fri, 31 May 2024 09:58:16 -0000</pubDate><guid>https://sourceforge.net67773ac22f7a889c5b6dffb576fac0fa783f3071</guid></item><item><title>#31 [feature request] sshpass should ask for password  using the interactive password prompt</title><link>https://sourceforge.net/p/sshpass/bugs/31/?limit=25#7516</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; wont-fix&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Shachar Shemesh</dc:creator><pubDate>Wed, 22 May 2024 06:26:14 -0000</pubDate><guid>https://sourceforge.net242c16291e957ded38e689545e449ea211b0fb12</guid></item><item><title>#31 [feature request] sshpass should ask for password  using the interactive password prompt</title><link>https://sourceforge.net/p/sshpass/bugs/31/?limit=25#3b8b/2b36</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Each run of sshpass only provides the password to one ssh instance. If sshpass asks for the password, then it will ask for the password 100 times.&lt;/p&gt;
&lt;p&gt;What you need is a standalone program that asks for the password in a secure way, and then transfers it to sshpass on all 100 instances. This should by no means be part of sshpass itself.&lt;/p&gt;
&lt;p&gt;A quick search showed &lt;a href="https://github.com/r-lib/askpass." rel="nofollow"&gt;https://github.com/r-lib/askpass.&lt;/a&gt; See if it's any help to you.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Shachar Shemesh</dc:creator><pubDate>Wed, 22 May 2024 05:35:56 -0000</pubDate><guid>https://sourceforge.net0ef027deba20f98708e97139e4afe8d3b8d18c7b</guid></item><item><title>#31 [feature request] sshpass should ask for password  using the interactive password prompt</title><link>https://sourceforge.net/p/sshpass/bugs/31/?limit=25#3b8b</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The same program should be run on  100 machines.&lt;br/&gt;
Users can't type ssh password  100 times.&lt;br/&gt;
sshpass and pssh combination allow to type the password only once.&lt;br/&gt;
However, the process of typing password is not as good what ssh itself provides.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Yuri</dc:creator><pubDate>Wed, 22 May 2024 05:31:01 -0000</pubDate><guid>https://sourceforge.net6cf851eab064b181d9f016aaaaa94c092e9394ab</guid></item><item><title>#31 [feature request] sshpass should ask for password  using the interactive password prompt</title><link>https://sourceforge.net/p/sshpass/bugs/31/?limit=25#0a15/afd6</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I fail to see how that is different than just running ssh and letting it ask for the password.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Shachar Shemesh</dc:creator><pubDate>Wed, 22 May 2024 05:26:57 -0000</pubDate><guid>https://sourceforge.net151a7baf26129cca73aae277c706e7f491aba1c2</guid></item></channel></rss>