Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
So, its time you got served, again!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Brayshakes
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2006
Posts: 129

PostPosted: Sat Jun 10, 2006 5:21 am    Post subject: So, its time you got served, again! Reply with quote

Hey folks. I'm relatively new to this server setup business, so I do need some help and a push in the right direction. Here is what I want to do. I am looking to setup SSH on my gentoo box and be able to remote to my box from school,home,and where ever. My boss has given me permission to use his T1 line to house my box, but I will also be on an exposed line to the internet. No router protection, anything! So, I have to make sure I do this right, which is why I will need some help.

So, I wanna login using SSH but I want to make sure that its secure since I am on an unguarded internet connection. I also want to have a journal that I keep on my computer that I can easily edit from the SSH client. Will I need Samba? Should I setup an FTP? Should I used DNS to make resolving my server all the easier and if so, how?
Back to top
View user's profile Send private message
brims
Guru
Guru


Joined: 19 Apr 2004
Posts: 492
Location: Arizona

PostPosted: Sat Jun 10, 2006 5:31 am    Post subject: Reply with quote

You can ssh in and use vim, nano, emacs, or whatever your favorite text editor is to edit the journal.

You can setup sshd to only let in your user with "AllowUsers <user names>" in /etc/ssh/sshd_config, set PermitRootLogin to no in the same file, only allow Protocol 2. You can setup DenyHosts to block machines that attempt to log in to many times. If you want, you can change the port sshd listens on to something other than 22, that to is in that fore mentioned config file.

I use all of those to help keep my system secure. I also use public key authentication and disabled password logins to my machine. I just set that up, so I will be carrying a usb flash drive with me that has my key on it to allow me to get in from other machines.

You don't need FTP, I wouldn't recommend it. DNS resolution, I don't know much about it, so I won't comment on it. I only have sshd running on the machine that is connected to the internet.

These have worked well for me since I put my machine online and haven't had any problems. Good luck with whichever route you choose to take.
_________________
Adopt an Unanswered Post
Report violations, duplicates, misplaced, etc
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum