Bugzilla – Attachment 2610 Details for
Bug 1716
tty allocation is not properly documented
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Clarify pseudo-terminal behaviour.
ssh-man-pty.patch (text/plain), 1.83 KB, created by
Darren Tucker
on 2015-04-28 14:29:13 AEST
(
hide
)
Description:
Clarify pseudo-terminal behaviour.
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2015-04-28 14:29:13 AEST
Size:
1.83 KB
patch
obsolete
>Index: ssh.1 >=================================================================== >RCS file: /cvs/src/usr.bin/ssh/ssh.1,v >retrieving revision 1.356 >diff -u -p -r1.356 ssh.1 >--- ssh.1 3 Mar 2015 06:48:58 -0000 1.356 >+++ ssh.1 28 Apr 2015 04:21:55 -0000 >@@ -584,9 +584,9 @@ of SSH as a secure transport for other a > .Xr sftp 1 ) . > The subsystem is specified as the remote command. > .It Fl T >-Disable pseudo-tty allocation. >+Disable pseudo-terminal allocation. > .It Fl t >-Force pseudo-tty allocation. >+Force pseudo-terminal allocation. > This can be used to execute arbitrary > screen-based programs on a remote machine, which can be very useful, > e.g. when implementing menu services. >@@ -876,15 +876,26 @@ option can be used to control logins to > host key is not known or has changed. > .Pp > When the user's identity has been accepted by the server, the server >-either executes the given command, or logs into the machine and gives >-the user a normal shell on the remote machine. >+either executes the given command as a non-interactive session, >+or if no command has been specified, logs into the machine and gives >+the user a normal shell as an interactive session. > All communication with > the remote command or shell will be automatically encrypted. > .Pp >-If a pseudo-terminal has been allocated (normal login session), the >+If an interactive session is requested >+.Nm >+by default will request a pseudo-terminal (pty) if the client has one, >+otherwise it will not request one. >+The flags >+.Fl T >+and >+.Fl t >+can be used to override this behaviour. >+.Pp >+If a pseudo-terminal has been allocated the > user may use the escape characters noted below. > .Pp >-If no pseudo-tty has been allocated, >+If no pseudo-terminal has been allocated, > the session is transparent and can be used to reliably transfer binary data. > On most systems, setting the escape character to > .Dq none
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1716
: 2610