Mailing List Archive

[Bug 3136] ssh RemoteForward show me "Missing target argument"
https://bugzilla.mindrot.org/show_bug.cgi?id=3136

Darren Tucker <dtucker@dtucker.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |dtucker@dtucker.net

--- Comment #1 from Darren Tucker <dtucker@dtucker.net> ---
When you're testing from the command (In reply to pyygames from comment
#0)
> CentOS Linux release 7.4.1708 (Core)
> OpenSSH_8.2p1, OpenSSL 1.0.2k-fips 26 Jan 2017

From what I can tell CenOS 7.4 has OpenSSH 7.4:
http://vault.centos.org/7.4.1708/updates/x86_64/drpms/

> RemoteForward 8888

Reverse dynamic forwarding was added in 7.6:
https://www.openssh.com/txt/release-7.6

> xxxxxx omit unit session xxxxxx
> [Service]
> ExecStart=/usr/bin/ssh -F /etc/default/st2c2.config -NT centos2

The service is explicitly running the one in the system path.

> /etc/default/st2c2.config line 5: Missing target argument.

This is the error you'd get if you're using a version prior to when
remote dynamic forwarding was added.

> Step5 if I connect host in bellow way, it works well
> ssh -F /etc/default/st2c2.config centos2

Are you sure you're using the same ssh binary version?

--
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.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 3136] ssh RemoteForward show me "Missing target argument" [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=3136

--- Comment #2 from pyygames@gmail.com ---
Hello,
Thanks , you are correct. They are different version binary.

[root@CentOS-vm ~]# ssh -V
OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017
[root@CentOS-vm ~]# which ssh
/usr/bin/ssh

[root@CentOS-vm ~]# ssh -V
OpenSSH_8.2p1, OpenSSL 1.0.2k-fips 26 Jan 2017
[root@CentOS-vm ~]# which ssh
/usr/local/bin/ssh

Thank you again!

--
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.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 3136] ssh RemoteForward show me "Missing target argument" [ In reply to ]
https://bugzilla.mindrot.org/show_bug.cgi?id=3136

Darren Tucker <dtucker@dtucker.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|NEW |RESOLVED

--- Comment #3 from Darren Tucker <dtucker@dtucker.net> ---
You're welcome.

--
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.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs