bugzilla-daemon at bugzilla.mindrot.org
2017-Jul-26 15:44 UTC
[Bug 2749] New: support -P and -p in ssh and sftp
https://bugzilla.mindrot.org/show_bug.cgi?id=2749
Bug ID: 2749
Summary: support -P and -p in ssh and sftp
Product: Portable OpenSSH
Version: 7.2p2
Hardware: Other
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: ssh
Assignee: unassigned-bugs at mindrot.org
Reporter: jg at jguk.org
Hello
I saw that confusingly sftp requires -P, and ssh requires -p for the
port number.
Could they be standardised n -p ? and in the meantime, support both ?
Regards, Jonny
--
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Jul-27 01:36 UTC
[Bug 2749] support -P and -p in ssh and sftp
https://bugzilla.mindrot.org/show_bug.cgi?id=2749
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WONTFIX
CC| |djm at mindrot.org
--- Comment #1 from Damien Miller <djm at mindrot.org> ---
Sorry, -p is already used in scp and sftp for another purpose. Changing
its meaning would break >10 years of working scripts.
--
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Jul-27 01:39 UTC
[Bug 2749] support -P and -p in ssh and sftp
https://bugzilla.mindrot.org/show_bug.cgi?id=2749 --- Comment #2 from jg at jguk.org --- Maybe need a new letter, which is a standard that works across all Or even accept IP:port style? -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Jul-27 03:08 UTC
[Bug 2749] support -P and -p in ssh and sftp
https://bugzilla.mindrot.org/show_bug.cgi?id=2749
Darren Tucker <dtucker at zip.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dtucker at zip.com.au
--- Comment #3 from Darren Tucker <dtucker at zip.com.au> ---
-oPort=N works on both.
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Jul-27 04:06 UTC
[Bug 2749] support -P and -p in ssh and sftp
https://bugzilla.mindrot.org/show_bug.cgi?id=2749 --- Comment #4 from jg at jguk.org --- Darren, would the standard help be updated to show that instead? -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Jul-27 04:24 UTC
[Bug 2749] support -P and -p in ssh and sftp
https://bugzilla.mindrot.org/show_bug.cgi?id=2749 --- Comment #5 from Darren Tucker <dtucker at zip.com.au> --- -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. -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Jul-27 04:40 UTC
[Bug 2749] support -P and -p in ssh and sftp
https://bugzilla.mindrot.org/show_bug.cgi?id=2749
--- Comment #6 from jg at jguk.org ---
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
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2017-Jul-27 04:54 UTC
[Bug 2749] support -P and -p in ssh and sftp
https://bugzilla.mindrot.org/show_bug.cgi?id=2749 --- Comment #7 from Darren Tucker <dtucker at zip.com.au> --- I don't think so, sorry. -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2021-Apr-23 04:53 UTC
[Bug 2749] support -P and -p in ssh and sftp
https://bugzilla.mindrot.org/show_bug.cgi?id=2749
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #8 from Damien Miller <djm at mindrot.org> ---
closing resolved bugs as of 8.6p1 release
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.