View Single Post
  #7   (View Single Post)  
Old 25th September 2008
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

You do NOT need to compile or install OpenSSH. OpenSSH is already installed in OpenBSD. It comes with OpenBSD. It is included in OpenBSD. All you need to do is USE it.

To use the OpenSSH client, issue the "ssh" command, as shown above.

To manually start the OpenSSH server, from a root shell, issue:

# /usr/sbin/sshd

To have the OpenSSH server start automatically when OpenBSD is booted, from a root shell, add
Code:
sshd_flags=""
to /etc/rc.conf.local. If you do not know how to use an editor, you can type:

# echo sshd_flags=\"\" >> /etc/rc.conf.local

That's it. You do NOT need to download source, compile, or install OpenSSH. It is already in your OS.

If you wish to configure server or client settings, you must do that by editing /etc/ssh/sshd_config and /etc/ssh/ssh_config.
Reply With Quote