|
Lines 584-592
of SSH as a secure transport for other a
Link Here
|
| 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. |
|
Lines 876-890
option can be used to control logins to
Link Here
|
| 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 as a non-interactive session, |
| 880 |
the user a normal shell on the remote machine. |
880 |
or 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 request a pseudo-terminal (pty) if the client has one, |
| 888 |
otherwise it will not request 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 |