The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Under Brute Force Attacks
My Host says im under a Brute Force SSH Attack.
They told me to set up firewall [iptables] Problem is i never used SSH and have no clue on the settings. I have had my VB site since 05 and never had any problems with attacks. So now it is time to learn SSH. When setting up SSH, what Bin should be used on the server? ( See Attachment ) Does this code look right: PHP Code:
Like Rebooting server, ect? Thanks Am-fs |
#2
|
||||
|
||||
Just disable Password Authentication and switch to Pubkey authentication to get rid of this
|
#3
|
|||
|
|||
Thanks for the response Angel-Wings
Is this what your talking about? http://wiki.joyent.com/accelerators:...ublic-key-only I have no experience with ssh so if you have a link that would be great. am-fs |
#4
|
|||
|
|||
nano /etc/hosts.allow
add this in the file and save the file (add a backup IP so you dont have to call your host): sshd:xx.xx.xx.xx, xx.xx.xx.xx.xx, xx.xx.xx.xx nano /etc/hosts.deny add this to the file and save: sshd:ALL This will stop ssh from answering to anyone except the IP's you list in hosts.allow You can also change ssh's port it answers on, this file depends on the OS your running, ill assume centcrapOS nano /etc/ssh/sshd_config Change this: # What ports, IPs and protocols we listen for Port 22 to post 2200 or 2222 etc and save the faile. /etc/rc.d/init.d/sshd restart ( You can restart it even when your logged in) |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|