New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added source port feature #130
base: master
Are you sure you want to change the base?
Conversation
|
Note: this could be put in options. |
|
Added -Z portnum option in: |
|
IMO this is a very niche feature and not useful to the majority of users. I don't want to assign a scarce option letter for it. Perhaps it could be implemented by extending the existing BindAddress option, e.g. |
It can be useful for further firewall filtering, but I agree it's not common so extending |
|
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
code
{mso-style-priority:99;
font-family:"Courier New";}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--> I think that like most of shh options I hate that syntax… but the important is that it will be implemented. My patch to ssh/sct/sftp works perfectly in the meanwhile.
|
ssh is since a long time missing the feature to set an arbitrary source port for the connection.
thus forcing people to use "ProxyCommand" option and use nc or ncat to force the source port.
I added the feature in the client directly so (from root user if port <1024) you can use -Z portnum to specify
the source port.