Skip to content
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

sshd on packet host #64

Open
hh opened this issue Dec 3, 2020 · 0 comments
Open

sshd on packet host #64

hh opened this issue Dec 3, 2020 · 0 comments
Assignees

Comments

@hh
Copy link
Contributor

hh commented Dec 3, 2020

From the IP address of the actual host, not the VIP as the listen address.
This will override the default of 0.0.0.0

echo ListenAddress 147.75.91.91 > /etc/ssh/sshd_config.d/listen_hostonly.conf

From /etc/ssh/sshd_config:

Include /etc/ssh/sshd_config.d/*.conf

#Port 22
#AddressFamily any
#ListenAddress 0.0.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants