diff options
Diffstat (limited to 'ssh.1')
-rw-r--r-- | ssh.1 | 25 |
1 files changed, 24 insertions, 1 deletions
@@ -34,7 +34,7 @@ | |||
34 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 34 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
35 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 35 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
36 | .\" | 36 | .\" |
37 | .\" $OpenBSD: ssh.1,v 1.117 2001/06/23 17:48:19 itojun Exp $ | 37 | .\" $OpenBSD: ssh.1,v 1.118 2001/06/26 17:25:34 markus Exp $ |
38 | .Dd September 25, 1999 | 38 | .Dd September 25, 1999 |
39 | .Dt SSH 1 | 39 | .Dt SSH 1 |
40 | .Os | 40 | .Os |
@@ -1138,6 +1138,29 @@ Set to the default | |||
1138 | .Ev PATH , | 1138 | .Ev PATH , |
1139 | as specified when compiling | 1139 | as specified when compiling |
1140 | .Nm ssh . | 1140 | .Nm ssh . |
1141 | .It Ev SSH_ASKPASS | ||
1142 | If | ||
1143 | .Nm | ||
1144 | needs a passphrase, it will read the passphrase from the current | ||
1145 | terminal if it was run from a terminal. | ||
1146 | If | ||
1147 | .Nm | ||
1148 | does not have a terminal associated with it but | ||
1149 | .Ev DISPLAY | ||
1150 | and | ||
1151 | .Ev SSH_ASKPASS | ||
1152 | are set, it will execute the program specified by | ||
1153 | .Ev SSH_ASKPASS | ||
1154 | and open an X11 window to read the passphrase. | ||
1155 | This is particularly useful when calling | ||
1156 | .Nm | ||
1157 | from a | ||
1158 | .Pa .Xsession | ||
1159 | or related script. | ||
1160 | (Note that on some machines it | ||
1161 | may be necessary to redirect the input from | ||
1162 | .Pa /dev/null | ||
1163 | to make this work.) | ||
1141 | .It Ev SSH_AUTH_SOCK | 1164 | .It Ev SSH_AUTH_SOCK |
1142 | indicates the path of a unix-domain socket used to communicate with the | 1165 | indicates the path of a unix-domain socket used to communicate with the |
1143 | agent. | 1166 | agent. |