Ubuntu Installation :: Installing DenyHosts On 9.10 Server?
Mar 8, 2010
i am trying to install denyhost on ubuntu 9.10 server, to make it run as daemon.I am following steps from this linkI have downloaded version 2.5 of denyhosts, but i cannot find thi sfile/usr/bin/denyhosts.py
View 1 Replies
ADVERTISEMENT
Aug 31, 2010
So I installed denyhosts on my system and I ssh to it fine. Then all of a sudden I got an email saying my ip was added to the /etc/hosts.deny file.I have no clue why. I did not fail the login. So I had an open session and put it in the /etc/hosts.allow file and tried to ssh back in no problem.Then I logged out and all of a sudden I got the email saying my ip was added to the hosts.deny again. Now I am kicked out of the system..
I am guessing I cannot get back in until I get to the console and remove it. I can power on and off the system remotely but I enabled the chkconfig denyhosts on option so it starts on reboot. No remote console is setup.So it looks like I am hozed until I can get to the console, bummer as I was trying to set up a spacewalk server on it. I cannot get to the console for a few days so if anyone has ideas how I can get back in let me know. But denyhosts seems to be working as designed.
This was a default install I did not configure anything funky. Just changed the email to root and started it.I thought about changing my client IP but that wont work as I only have ssh passed on my router to that IP so if I change the client IP I wont get into my routing machine.I think i answered my own question but just thought I would askI guess my real question is why would denyhosts block my IP when the login did not fail and how do i configure it so this does not happen again.
View 8 Replies
View Related
May 3, 2010
I've been running denyhosts on Ubuntu 8.04 servers without any problems using the how-to found hereow that I have a new Ubuntu 10.04 server running, I thought I would just install denyhosts from the Ubuntu repository not realizing that the paths and filenames of the install are different from the how-to I am used to using.I figured out what the name of the new denyhosts config file is (at least new to me) and the new location, but I'm not sure about the "allowed-hosts" config file.Does anybody know where the new path for this file is and whether the filename is still the same?
View 2 Replies
View Related
Jan 29, 2011
how to install denyhosts on opensuse 11.3 having issues with to install python 2.5....
View 5 Replies
View Related
Mar 3, 2011
I'm using Ubuntu 10.04 LTS - the Lucid Lynx.
I have reinstalled mysql-server-5.1 using the command "sudo apt-get --reinstall install mysql-server-5.1".
But its giving error message at the end of installation when its trying to start the server.
The error message is as follows.
When i tried to start the server after the installation, i get this error message
Note : The file "/etc/mysql/my.cnf" is empty.
View 1 Replies
View Related
Oct 31, 2010
I've been using Deny Hosts for a couple of years now without trouble. My router forwards SSH calls to host tock on my LAN. My router's internet hostname is michigan. I keep an svn repository on tock and access it through michigan. In this way I can update my repository when I'm at home or away.Just today, however, whenever I try any ssh to michigan, I get a closed connection and find michigan in my hosts.deny file. I delete it, make a successful connection, but then on my next attempt - there I am in the hosts.deny file again.
I've worked around it by putting michigan into my hosts.allow file, but I would really like to know what's going on. I've configured Hosts Deny to lock out IPs after three failed attempts, but it is locking out michigan after one successful connection.
View 3 Replies
View Related
Jul 9, 2010
I've been using the denyhosts software for about 8 months to block IPs that are trying to connect to my network that shouldn't be. I'm having trouble with it today for the first time and I can't track down the issue.It is installed on the main server which is the outside IP for the network as well. This should allow me to SSH to the hostname/network IP, or the NAT IP as well. It worked fine up until this morning when I started to work on an ftp server, as far as I know I didn't make any changes that should cause problems.
hosts.deny starts with no 192.x.x.x addresses in it. In allowed-hosts for denyhosts I have entered 192.168.1.1 so that the router should never get blocked.I can SSH to the hostname perfectly fine, connection doesn't drop or anything.If I SSH to the NAT address the connection hangs there while the IP address gets added to hosts.denyI can confirm 100% that I was able to SSH to my NAT from within the network with no problem, now it seems to throw the router IP into hosts.deny if I try to connect from within the network using the NAT.Here is the error that I get in /var/log/securesshd[9272]:d not receive identification string from 192.168.1.1I did update my system recently which may have changed the way some files behave, I will try updating Denyhosts as well. It looked like the address being blocked was an IPv6 since it was showing as:sshd[9201]: refused connect from ::ffff:192.168.1.1 (::ffff:192.168.1.1)
View 1 Replies
View Related
Aug 12, 2010
I did a goole search and found several hits telling me about this error I am getting
service denyhosts start
starting DenyHosts: /usr/bin/env python2.4 /usr/bin/denyhosts.py --daemon --config=/etc/denyhosts.conf
[code]....
View 11 Replies
View Related
Jun 2, 2010
I am with a customer who has Suse 10.1 in production environment and connected to the internet.For now I want to install denyhosts on this machine since I see lots of failed login attempts outside office hours.However when I do: python setup.py install I get the message File "setup.py", line 4, in ?from distutils.core import setupmportError: No module named distutils.coreI don't know how to solve this. I have added a repository to install distutils.core but could not find it
View 1 Replies
View Related
Jul 12, 2010
I have recently installed denyhosts to help guard against bruteforce ssh attacks on my Fedora 12 server from the Fedora repositories. If I manually start denyhosts (as root) using: /usr/sbin/denyhosts.py --daemon
it works fine. The denyhosts log file is created and indeed the /etc/hosts.deny file is updated. However if I make attempts to start denyhosts automatically upon the server restart denyhost fails with a permission denied error for /etc/hosts.deny (error 13) I have tried using chkconfig to enable /etc/init.d/denyhosts on run levels 3, 4 and 5. I have also tried including the line:
/usr/sbin/denyhosts.py --daemon
in /etc/rc.local Both of these attepts report the same error. anyway to automatically start denyhosts or know why this problem might be happening?
View 1 Replies
View Related
Sep 9, 2010
I am having issues getting yum to work with the repos for fail2ban and denyhosts. I followed the centos link on installing/cfg repos. However every time i run yum install fail2ban or denyhosts it does not find the software. I read in several google searches that I should be able to install it using yum. Is that info wrong? These are the link I was s reading too from centos. [URL]. I know I can download the rpm or a tar file but I would like to keep it in sync with yum if possible. May be I have the wrong repo? CentOSPlus is enabled also.
View 3 Replies
View Related
Aug 10, 2010
I have setup Denyhosts to run on my server, and have been using it succesfully for the last few weeks, to allow me to ssh into my server from my home dev machine.
This morning, I accidentally typed my password incorrectly three times - and ended up being locked out of the system (tghat was ok, because that was what was supposed to happen). I logged into the server via another way and took the following actions (in the order given)
/etc/init.d/ssh stop
/etc/init.d/denyhosts stop
removed my IP address from /etc/hosts.deny
/etc/init.d/ssh start
[Code].....
View 1 Replies
View Related
May 16, 2011
I just set up denyhosts and it worked properly the first time adding lots of ips to the hosts.deny.I then set it to run every 12 hours noon and midnight.I wanted to see if ran properly and I got all this.Does it look like its working?
Code:
May 15 12:00:01 hyrule CRON[14286]: (root) CMD (python /usr/share/denyhosts/denyhosts_ctl.py -c /usr/share/denyhosts/denyhosts.cfg )
[code]...
View 4 Replies
View Related
Sep 20, 2010
There are no .exe files which you just click on and then follow the instructions like windows. I'm having troubles installing my sql server. I need to install mysql-5.1.50-linux-i686-glibc23.tar.gz. The website is [url]. I tried some commands in the terminal but it's of no help.
I also need to install earlier versions of firefox (at least before 3.6). So I downloaded 3.5.13 from the mozilla website but have no clue on how to install it.
View 2 Replies
View Related
Mar 24, 2010
i need to make a FTP server, i tried using the forums but well.... it was no good, i tried with svftpd but i still lack of knowledge and everything.
View 3 Replies
View Related
Jun 13, 2010
I'm about to install Ubuntu Server 10.04 on my home server. I have looked around, a lot, without finding a nice way to record or log all the steps of the installation.
I see two general paths of how my problem might be solved:
Is there any installation log file which I could look in to see which options I choose? It would be best if it included all steps, including partitioning and, in my case, setting up an encrypted volume with a KVM-volume inside it.
Are there any ways to record the installation or take screenshots of it? It's done using the console (with no X window system available). Maybe fbgrab could work, but I do not know how to make it available during the installation.
I could also use a pen and paper. But that is error prone as I do not have the patience to write everything down. It's my last resort though.
View 3 Replies
View Related
Aug 3, 2010
I'm installing ubuntu server 10.04 on HP Proliant DL140 G3, but in the partition part, HD doesn't appear.
two SATA disks are configured as RAID1, the card is HP Embedded SATA RAID, which came along with the server.
fdisk shows there're two disks, sda and sdb.
Ubuntu website says HP DL140 is certified.
is it because lack of drives?
View 2 Replies
View Related
Jan 29, 2011
I'm trying to install server 10.10. I shose my language, than i give the command to install the server. At that moment my screens gets black. A couple of minutes later i get te following screen..
View 7 Replies
View Related
May 21, 2010
I have a 64 bit Dell laptop happily running 10.04 32-bit and Windows 7 booting with GRUB. I want to also install Lucid server on a spare 20GB empty partition and I would like to have Lucid server available in the GRUB menu along with Lucid 10.04 and Windows 7.
I don't want to blow away what I already have working and last time I booted from the server CD to try to install it (9.10), it didn't look as easy as when I installed workstation. Will an install of Lucid server gracefully and safely allow itself to be put on a spare partition and install itself in GRUB or so I need to do this manually? If I lose my Lucid workstation install, I am in trouble.
View 3 Replies
View Related
May 27, 2010
I am having trouble installing Ubuntu Server 10.04LTS on an IBM x3650 server (Model 7945 K2G). The install CD cannot find the drives, so I cannot continue with the installation. Manually selecting mptsas as the storage driver doesn't work either.I have tried various permutations:
1. 64 / 32 bit Ubuntu Server
2. Using weBIOS to configure a RAID0 redundant virtual drive or not
3. Loading BIOS defaults or messing with most of the related settings
This particular server makes use of the ServeRAID M1015 controller (based on an LSI SAS2008 device).
View 5 Replies
View Related
Apr 30, 2011
I created a Ubuntu Server 11.04 32 bit USB installer with the Universal-USB-Installer-1.8.4.4. I booted it up and get to the ubuntu install menu, were my first choice is "English" as language. Then I get to an installation menu were I proceed to "Install Ubuntu Server", but when doing so the screen just go blank and nothing happens. I've searched around for a solution but can't seem to find one.(Note: I've installed Ubuntu Server on other computers without facing this issue, so I don't know what went wrong this time.)
View 2 Replies
View Related
Feb 5, 2010
How to installing ubuntu 9.10 server in command line mode?
View 1 Replies
View Related
Feb 1, 2011
I'm trying to make a fresh install of Ubuntu 10.10 Server 64bit but is stuck with the Partitioning Disk part and Ubuntu 10.04 LTS provides the same error. The installation wizard gives me a menu:
!! Partitioning disks
This menu allows you to configure iSCSI volumes
iSCSI configuration actions
[code].....
View 1 Replies
View Related
Mar 11, 2009
I've a rented dedicated server with (presumably) no window manager installed.How would I go on about installing Xfce? (the ultimate goal is being able to VNC into it)I checked but that seems to assume you already have a window manager, so I was a bit wary of just trying it.
View 1 Replies
View Related
Jan 31, 2010
I hope this is an easy question to answer, how do update my nVidia drivers? Can I add a repository so it automatically updates? I have downloaded the latest verson from the nvidia website. When I so a "sudo ./NVIDIA-Linux-x86_64-190.53-pkg2.run" I get "Error: You appear to be running an X server; please exit X before installing"
View 1 Replies
View Related
Sep 6, 2010
I cannot find dpkg directory in /usr/bin folder and while installing mysql server it gives the following error Errors were encountered while processing:
/var/cache/apt/archives/mysql-server-5.0_5.1.30really5.0.75-0ubuntu10.5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
View 1 Replies
View Related
Jan 4, 2011
I am trying to install a ubuntu server to serve sites. More than one, so Ill use Apache VirtualHost.When installing ubuntu server ask me about installing DNS Server? do i need it?
View 6 Replies
View Related
Oct 19, 2010
i am trying to get starting installing debian on my virtual server what is supported for IA64 and i have try'd this few different version(se bellow) and the img fail isin't boting?
debian-503-ia64-businesscard(notice diffrent version tryed to)
debian-503-ia64-CD-1(notice diffrent version tryed to)
debian-503-ia64-netinst(notice diffrent version tryed to)
I have used before virutal server and booted successfully a img file and installed a operating system sow what is wrong?
View 7 Replies
View Related
Feb 22, 2011
Perty self explanitory, I'm trying to boot up ubunto server edition 10.10 from a USB stick (pen drive) and it works fine until step 3 when it says "Your installation CD-ROM couldn't be mounted. This probably means that the CD-ROM was not put in the drive. If so you can insert it and try again
Try again to mount the CD-ROM? <Yes> <No>"
I don't have an installation cd-rom! I put the .iso file onto a memory stick, inserted it into my old computer (which i will turn into a server later) , restarted it and got past the first two slides and got this error? Do I have to put the iso on a cd-rom?
View 3 Replies
View Related
Apr 11, 2010
I am trying to do a https access with virtual hosting with apache.
But when I install mod_ssl rpm httpd server does not start again
I am stumped
httpd -t shows syntax is OK
View 5 Replies
View Related