openBSD 4.4 server stuff questions


 
Thread Tools Search this Thread
Operating Systems BSD openBSD 4.4 server stuff questions
# 1  
Old 02-16-2009
Error openBSD 4.4 server stuff questions

Hi! i have installed openBSD 4.4 on i386 and i use it as simple web server.
Apache 1.3 manages web server.
The problem is that i want to make safe file transfer via SFTP.
I know that it uses openSSH...
1) does i need to enable anything else than openSSH and SFTP?
2) where can i find openSSH tutorial for starter???
3)how must the sshd_config look like for password auth. ? i think its the simplies variant for me.
a)will SFTP work if openSSH is configured to make password auth. ?
4) what can i else use to safaly transfer files from windows pc to openBSD 4.4?
thank you.
# 2  
Old 05-01-2009
File transfers

Answers to questions
1) by default you will be able to use sftp to transfer files
2) it depends on what you want to know... try 'man ssh' first and if you find something that you're interested in google it Smilie
3) if I understand what you are asking correctly then openssh is already setup to authenticate system user's passwords
4) for windows sftp transfers I use filezilla. just enter the address of your server and set the port as 22 (or whatever port you may have set for ssh) and thats it!!!Smilie
# 3  
Old 06-18-2009
try this command:

sudo cat /var/log/authlog | grep Invalid

if you've had your server open for any length of time, a large number of attempted logins will scroll by. Here's how to protect against these attacks ever succeeding:

groupadd ssh
vi /etc/group (and add yourself to the ssh group)

vi /etc/ssh/sshd_config
AllowGroups: ssh
PasswordAuthentication no

now add your public key your ~/.ssh/authorized_keys file

restart the ssh server:

sudo su -
(hit return to accept the default terminal selection)
pkill sshd && /usr/sbin/sshd
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

The web server questions

Hi is it logically is better Mysql Have to be installed on the apache machine ? Or a separate machine to consider e for that separate if the machine is spearate has any effect to performance ? thank you for guidance :) (2 Replies)
Discussion started by: mnnn
2 Replies

2. Red Hat

Questions about running local YUM server

Im building a local yum server to update a handful of RHEL6 and RHEL7 servers, I'll be sharing out these updates via a local http webserver but I have a few questions. 1) it seem I am only able to download RHEL6 patches from a RHEL6 box and 7 patches from a 7 box which would mean I would have to... (1 Reply)
Discussion started by: dendenyc
1 Replies

3. Linux

Questions about the NTP time server sync

Hi folks, I have developed a Linux server for my customer. After migrating the server to my customer site, I was trying to sync its time to the NTP time servers at my customer site. Below is the ntp.conf: % vi /etc/ntp.conf # Permit time synchronization with our time source, but do not # permit... (2 Replies)
Discussion started by: kimurayuki
2 Replies

4. Solaris

Building new ldom server--many questions

Hi All, I am just starting to build T5240 servers with ldoms in the hope of consolidating some of my older hardware (280Rs, 220Rs, etc). These old servers are currently set up using disksuite mirroring to backup all root and data drives. I am new to Ldoms, zpools, zfs, raidctl, et al. ... (2 Replies)
Discussion started by: jimeeye
2 Replies

5. Solaris

Questions & helps regarding Netra 1280 server

Hello Everybody I want to that can we configure hardware domain on netra 1280 server as I could not able to find any document regarding this server. If yes could anyone send me link regarding this. I could not able find any proper document related to LOM. Could any provide me the link... (1 Reply)
Discussion started by: amity
1 Replies

6. UNIX for Dummies Questions & Answers

3 questions about NTP server

Folks; I'm setting up a new NTP server to sync time for our network. I have one Linux server that needs to point to that NTP server My 3 questions are: 1. I added the IP address for the NTP server to the "/etc/hosts" file on the Linux server. Is that all i need to do to make the Linux server... (5 Replies)
Discussion started by: Katkota
5 Replies

7. UNIX for Dummies Questions & Answers

ftp server on old home computer - a few questions

Hi! Very new to unix stuff, and this is my first post to the forum. I'm pretty sure I know enough to know I know nothing, so please be patient with me and don't laugh too hard. Ok, I've got an old computer and a laptop - the old computer was bought in the mid 90's it's still running windows... (1 Reply)
Discussion started by: boredbody
1 Replies

8. UNIX for Dummies Questions & Answers

Install neon-0.26.3. on a OpenBSD server

Hello, I'm a very basic beginning user of OpenBSD. I'd like to install neon-0.26.3. I placed it on our server but I don't know how to install it. The directory has the following contain: # ls .package AUTHORS ChangeLog.CVS NEWS TODO ... (1 Reply)
Discussion started by: syddy
1 Replies

9. Solaris

Sun server hardware questions

I have no experience with sun servers but for fun and experience I would like to buy a low-end server and play with things. I have a few questions that maybe some of you who use these things will be able to answer: - I believe they are also called PCI slots in the sun server, but are they the... (2 Replies)
Discussion started by: Synbios
2 Replies

10. UNIX for Dummies Questions & Answers

OpenBSD Questions

Hello Today I installed OpenBSD, and it went great (I hope) But I'm a little confused.. I've run ŽLinux slackware before, and when I recompiled the kernel there, I did it in /usr/src/linux-xxx But in OpenBSD the /usr/src dir is empty! And how do I get X-windows to work? I tried to... (2 Replies)
Discussion started by: Hamcha
2 Replies
Login or Register to Ask a Question

Featured Tech Videos