Projects
Factory:RISC-V:Base
openssh
_service:tar_scm:openssh-6.4p1-fromto-remote.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:openssh-6.4p1-fromto-remote.patch of Package openssh
diff --git a/scp.c b/scp.c index d98fa67..25d347b 100644 --- a/scp.c +++ b/scp.c @@ -638,7 +638,10 @@ toremote(char *targ, int argc, char **argv) addargs(&alist, "%s", ssh_program); addargs(&alist, "-x"); addargs(&alist, "-oClearAllForwardings=yes"); - addargs(&alist, "-n"); + if (isatty(fileno(stdin))) + addargs(&alist, "-t"); + else + addargs(&alist, "-n"); for (j = 0; j < remote_remote_args.num; j++) { addargs(&alist, "%s", remote_remote_args.list[j]);
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2