|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
couple questions
just wanted to see if anyone could help me out with a couple of questions.
#1(FTP) trying to setup ftpd . I got it all done up, encrypted, chrooted and the whole nine yards.. but I need to move it to a port higher then 1053 .. ? how would I do that? #2 (FTP) I have 4 hard drives mounted to a users home directory. The ftp is chrooted to that users home dir. Is this the best way to set up a ftp site with a few drives? or is there a better way to allow more then 1 user to access those drives. IE: wd0 has all the normal partitions. So I made a directory called "uploads" in user A's home directory. Then I mounted wd2 as /home/userA/work and wd4 as /home/userA/finished What would be the best way to set up a user based ftp that will allow several users to access all 3 devices in a chrooted ftp site? #3 (ntpd) everything appears to be running and configured (as per Freebsd) but it just wont fetch the time. what would be the rule for pf to allow that to run? (I'm guessing thats the problem) #4 whats the best way to encrypt home directories? or how can i raise the length of the default encryption? Thanks |
|
|||
Quote:
that might be worth looking at. http://www.openntpd.org/ |
|
|||
Quote:
Thanks |
|
|||
sweet, thanks.
|
|
|||
Quote:
thanks |
|
||||
SFTP is supported by OpenSSH, which is built-in with OpenBSD.
The server is sshd(8), which is typically started via /etc/rc via the sshd_flags variable as set in /etc/rc.conf and overridden in /etc/rc.conf.local. You were asked about it when you installed OpenBSD; if you declined to have sshd run, it will be disabled in /etc/rc.conf.local. Delete the entry to enable it, as it is enabled by default in /etc/rc.conf. For a complete list of man pages for OpenSSH, please see http://openssh.org/manual.html -- you will want to read at least sftp(1), sshd(8), sshd_config(5), and perhaps the highly useful ssh(1). |
|
||||
Just to point you in the right direction .... by default, sshd will listen on port 22. You will want to change this. You can set the value of sshd_flags in /etc/rc.conf.local if you wish, but best practice would be to edit /etc/ssh/sshd_config and add a custom ListenAddress, along with other customizations you might make (such as disallowing root login, which is enabled at installation time only to make post-install provisioning easier remotely).
Here are some of my own changes to sshd_config in one of my servers: Code:
PermitRootLogin no PasswordAuthentication no ClientAliveInterval 15 ClientAliveCountMax 3 X11Forwarding yes AddressFamily inet KbdInteractiveAuthentication yes Last edited by jggimi; 21st September 2010 at 12:51 PM. |
|
|||
Thanks Jggimi
that code was exactly what I needed. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Two PF questions | sparker | OpenBSD Security | 5 | 9th November 2009 08:01 AM |
Some Questions ?? | ultranothing | OpenBSD Security | 6 | 4th September 2009 04:59 PM |
Silly questions about Mac OS X? | tutosun | Other BSD and UNIX/UNIX-like | 12 | 31st December 2008 03:45 PM |
Couple of network questions (NAT, firewalls) | ivanatora | FreeBSD General | 10 | 21st July 2008 05:26 PM |
A couple of errors, which I believe are associated with the BIOS | Johnny2Bad | FreeBSD Installation and Upgrading | 1 | 15th May 2008 03:58 AM |