Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 16th February 2011
MarinosK MarinosK is offline
New User
Join Date: Feb 2011
Posts: 2
Default ssh server on OpenBSD

Hello all,

first post for me in this forum !

I want to setup a file server mainly for private use at home - later I might add functionality for some friends.

my prior concern is to be able to ssh in this machine so I can up/down-load files and even change things - later I might add ftp, mail and other services

I am totally newbie to the unix world in general - I have some console and even programming experience from linux and macos machines though - so I read a lot of tutorials online, asked friends and did these:

- set up a dyndns acount and my router so that it updates my ip (I tested this and it works, everytime I reboot the server and ping my alias I get my new public ip)

- forwarded port 22 in my router. not sure if it' s as supposed, but when I nmap my public ip I can see it open.

- I messed around a bit with /etc/ssh/sshd_config file and tried some several other things I found online / I tried different configurations


on all configurations I tried,
ssh localhost
connects me and all is ok

ssh myalias.dyndns.org
asks for passwd and whatever I enter it says "not permited" or sth similar

worthnoticing is that on
I get a message that the files that hold the keys for the hosts (ssh_hosts_dsa_..sth like this) could not be opened - even when my configuration was for passwd only security


anybody could help me with a step by step guide for begginers or just a couple of advices of how to setup ssh in an OpenBSD machine ??

Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to build a OpenBSD server? fender0107401 OpenBSD Installation and Upgrading 6 15th October 2010 07:11 PM
Openbsd x terminal server wyginwys OpenBSD General 2 9th June 2010 12:11 PM
OpenBSD as a PPP Dialup Server jjjustjjjay OpenBSD General 2 20th April 2010 01:58 PM
OpenBSD Xterminal Server jjjustjjjay OpenBSD General 0 17th April 2010 12:46 PM
Caching-only DNS server on OpenBSD Oko OpenBSD General 1 13th September 2009 08:30 PM

All times are GMT. The time now is 12:13 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick