mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4319] frp ssh bindport #3408
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3408
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @micneu72 on GitHub (Jul 5, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4319
Bug Description
i have a frp server config for ssh
when i run my config, frp listen on 0.0.0.0:7000 my bind port ist 7001
and the server site and client side dont write a log file
frpc Version
0.58.1
frps Version
0.58.1
System Architecture
linux/aarch64
Configurations
`# frps-ssh.toml | ssh_server_ansible
[common]
trace, debug, info, warn, error
log.level = "info"
log.maxDays = 3
log.to = "/var/log/frp/frps_ssh_server_ansible.log"
bindPort = 7001
auth.method = "token"
auth.token = tokensetzennichtvergessen`
`# frpc-ssh.toml | ssh_client_ansible
[common]
serverAddr = "10.211.55.38"
serverPort = 7001
trace, debug, info, warn, error
log.level = "info"
log.maxDays = 3
log.to = "/var/log/frp"/frpc_ssh_client_ansible.log
auth.token = tokensetzennichtvergessen
proxies
name = "ssh"
type = "tcp"
localPort = 22
localIP = "127.0.0.1"
remotePort = 2222`
Logs
warning on server
WARNING: ini format is deprecated and the support will be removed in the future, please use yaml/json/toml format instead! 2024-07-05 18:40:59.914 [I] [frps/root.go:105] frps uses config file: frps_ssh_server_ansible.toml 2024-07-05 18:41:00.039 [I] [server/service.go:237] frps tcp listen on 0.0.0.0:7000 2024-07-05 18:41:00.039 [I] [frps/root.go:114] frps started successfullywarning on client
WARNING: ini format is deprecated and the support will be removed in the future, please use yaml/json/toml format instead! 2024-07-05 16:54:14.816 [I] [sub/root.go:142] start frpc service for config file [frpc_ssh_client_ansible.toml] 2024-07-05 16:54:14.816 [I] [client/service.go:294] try to connect to server... 2024-07-05 16:54:14.817 [W] [client/service.go:297] connect to server error: dial tcp 0.0.0.0:7000: connect: connection refused 2024-07-05 16:54:14.817 [I] [sub/root.go:160] frpc service for config file [frpc_ssh_client_ansible.toml] stopped login to the server failed: dial tcp 0.0.0.0:7000: connect: connection refused. With loginFailExit enabled, no additional retries will be attemptedSteps to reproduce
...
Affected area
@xqzr commented on GitHub (Jul 7, 2024):
[common]@github-actions[bot] commented on GitHub (Jul 29, 2024):
Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.