Contributed by jose on from the more-from-dru dept.
(Comments are closed)
OpenBSD Journal
Contributed by jose on from the more-from-dru dept.
(Comments are closed)
Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original deadly.org with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]
By Anonymous Coward () on
Comments
By Anonymous Coward () on
By Xenotrope () on
Comments
By Anonymous Coward () on
By Jeffrey () on
Primarily, refer to sshd(8) and sshd_config(5),
but in short something the following should get you started...
1) generate a host key and put it somewhere.
2) copy /etc/ssh/sshd_config somewhere and change (pick values that work for you):
# example
Port 2022
ListenAddress 192.168.0.1
HostKey /path/to/key/you/generated
# maybe add..?
AllowUsers
# remainder of defaults and other sensible options
...
3) invoke as: sshd -f
Note: privsep? i think you would have to disable it. who can connect? only the user who you run it as..? i think that's right. easy to test. try it and see. run it as you. see if anyone else can connect.
Comments
By Jeffrey () on
That should be:
AllowUsers user_running_sshd
and:
sshd -f your_config_file