drone-scp
drone-scp copied to clipboard
feat: enhance plugin networking capabilities support IPV6
- Enable SSH server to listen on all interfaces by uncommenting relevant lines in
sshd_config
- Add new
protocol
andproxy.protocol
flags tomain.go
with usage information and default values - Change the
Port
field type fromstring
toint
inplugin.go
andplugin_test.go
- Refactor variable name from
host
toh
and addport
variable inplugin.go
loop - Remove commented-out code and refactor
hostPort
function inplugin.go
- Add import for
io
package inplugin_test.go
- Add new test function
TestPlugin_hostPort
with multiple test cases inplugin_test.go