Help with getting remote access via ssh working

Feel free to talk about anything and everything in this board. Just don't post offensive topics that are meant to cause trouble with other members or are derogatory towards people of different genders, race, color, minors (this includes nudity and sex), politics or religion. Let's try to keep peace among the community and for visitors.

No spam on this or any other forums please! If you post advertisements on these forums, your account may be deleted.

Do not copy and paste entire or even up to half of someone else's words or articles into posts. Post only a few sentences or a paragraph and make sure to include a link back to original words or article. Otherwise it's copyright infringement.

You can talk about other distros here, but no MEPIS bashing. You can email the developer of MEPIS if you just want to say you dislike or hate MEPIS.
Message
Author
User avatar
cgriffin
Forum Regular
Forum Regular
Posts: 221
Age: 46
Joined: Sun Mar 27, 2011 9:59 pm

Re: Help with getting remote access via ssh working

#11 Postby cgriffin » Sun Apr 22, 2012 5:15 pm

GoManutd wrote:i use ddwrt and had no problems getting ssh to work with port forwarding... just make sure you have the latest firmware from them.


Do you have your fail2ban working with mail? Is it useful without a mail server running?
--
Chris Griffin

User avatar
GoManutd
Forum Guide
Forum Guide
Posts: 2952
Joined: Mon Jun 30, 2008 8:06 pm

Re: Help with getting remote access via ssh working

#12 Postby GoManutd » Sun Apr 22, 2012 7:02 pm

to receive email notifications about blocked ips? no. you should be able to see these logged in /var/log/fail2ban.log. also, iptables -L -n will display all the iptables rules.

i think you'll find that getting mail notifications may be too much because you will notice addresses regularly being blocked by fail2ban.

open a konsole, run

sudo tail -f /var/log/fail2ban.log

OR

su -c ' tail -f /var/log/fail2ban.log'

if you don't have sudo enabled. you can leave the konsole open and this running and it will log and display data as it occurs....

the other added feature(s) of fail2ban is that it scans other log files for problems and can act upon them too. so it can help protect your system from attacks via httpd, etc.


Return to “General”

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests