diff options
-rw-r--r-- | ssh.1 | 27 |
1 files changed, 19 insertions, 8 deletions
@@ -33,8 +33,8 @@ | |||
33 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 33 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
34 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 34 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
35 | .\" | 35 | .\" |
36 | .\" $OpenBSD: ssh.1,v 1.356 2015/03/03 06:48:58 djm Exp $ | 36 | .\" $OpenBSD: ssh.1,v 1.357 2015/05/06 05:45:17 dtucker Exp $ |
37 | .Dd $Mdocdate: March 3 2015 $ | 37 | .Dd $Mdocdate: May 6 2015 $ |
38 | .Dt SSH 1 | 38 | .Dt SSH 1 |
39 | .Os | 39 | .Os |
40 | .Sh NAME | 40 | .Sh NAME |
@@ -584,9 +584,9 @@ of SSH as a secure transport for other applications (eg.\& | |||
584 | .Xr sftp 1 ) . | 584 | .Xr sftp 1 ) . |
585 | The subsystem is specified as the remote command. | 585 | The subsystem is specified as the remote command. |
586 | .It Fl T | 586 | .It Fl T |
587 | Disable pseudo-tty allocation. | 587 | Disable pseudo-terminal allocation. |
588 | .It Fl t | 588 | .It Fl t |
589 | Force pseudo-tty allocation. | 589 | Force pseudo-terminal allocation. |
590 | This can be used to execute arbitrary | 590 | This can be used to execute arbitrary |
591 | screen-based programs on a remote machine, which can be very useful, | 591 | screen-based programs on a remote machine, which can be very useful, |
592 | e.g. when implementing menu services. | 592 | e.g. when implementing menu services. |
@@ -876,15 +876,26 @@ option can be used to control logins to machines whose | |||
876 | host key is not known or has changed. | 876 | host key is not known or has changed. |
877 | .Pp | 877 | .Pp |
878 | When the user's identity has been accepted by the server, the server | 878 | When the user's identity has been accepted by the server, the server |
879 | either executes the given command, or logs into the machine and gives | 879 | either executes the given command in a non-interactive session or, |
880 | the user a normal shell on the remote machine. | 880 | if no command has been specified, logs into the machine and gives |
881 | the user a normal shell as an interactive session. | ||
881 | All communication with | 882 | All communication with |
882 | the remote command or shell will be automatically encrypted. | 883 | the remote command or shell will be automatically encrypted. |
883 | .Pp | 884 | .Pp |
884 | If a pseudo-terminal has been allocated (normal login session), the | 885 | If an interactive session is requested |
886 | .Nm | ||
887 | by default will only request a pseudo-terminal (pty) for interactive | ||
888 | sessions when the client has one. | ||
889 | The flags | ||
890 | .Fl T | ||
891 | and | ||
892 | .Fl t | ||
893 | can be used to override this behaviour. | ||
894 | .Pp | ||
895 | If a pseudo-terminal has been allocated the | ||
885 | user may use the escape characters noted below. | 896 | user may use the escape characters noted below. |
886 | .Pp | 897 | .Pp |
887 | If no pseudo-tty has been allocated, | 898 | If no pseudo-terminal has been allocated, |
888 | the session is transparent and can be used to reliably transfer binary data. | 899 | the session is transparent and can be used to reliably transfer binary data. |
889 | On most systems, setting the escape character to | 900 | On most systems, setting the escape character to |
890 | .Dq none | 901 | .Dq none |