| Summary: | support -P and -p in ssh and sftp | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | jg |
| Component: | ssh | Assignee: | Assigned to nobody <unassigned-bugs> |
| Status: | CLOSED WONTFIX | ||
| Severity: | enhancement | CC: | djm, dtucker |
| Priority: | P5 | ||
| Version: | 7.2p2 | ||
| Hardware: | Other | ||
| OS: | Linux | ||
|
Description
jg
2017-07-27 01:44:22 AEST
Sorry, -p is already used in scp and sftp for another purpose. Changing its meaning would break >10 years of working scripts. Maybe need a new letter, which is a standard that works across all Or even accept IP:port style? -oPort=N works on both. Darren, would the standard help be updated to show that instead? -o is in the standard usage text for both sftp and scp. All of the arguments it can take are not because there are dozens of them and they're all documented in the man page. Thinking like below. Likewise for SSH and SCP.
usage: sftp [-1246aCfpqrv] [-B buffer_size] [-b batchfile] [-c cipher]
[-D sftp_server_path] [-F ssh_config] [-i identity_file] [-l limit]
[-o ssh_option] [-oPort=N] [-R num_requests] [-S program]
[-s subsystem | sftp_server] host
sftp [user@]host[:file ...]
sftp [user@]host[:dir[/]]
sftp -b batchfile [user@]ho
I don't think so, sorry. closing resolved bugs as of 8.6p1 release |