Thread View: alt.privacy.anon-server
44 messages
44 total messages
Started by Red John
Tue, 08 Jul 2014 23:08
Failed SSH Logins
Author: Red John
Date: Tue, 08 Jul 2014 23:08
Date: Tue, 08 Jul 2014 23:08
45 lines
3001 bytes
3001 bytes
I'm checking my /var/log/auth.log file periodically during the day to see who's banging on my server to gain access. Below is an example of what I see everyday from different offenders: Jul 8 03:06:11 redjohn sshd[25096]: Failed password for root from 61.174.50.224 port 3800 ssh2 Jul 8 03:06:11 redjohn sshd[25094]: Failed password for root from 61.174.50.224 port 3113 ssh2 Jul 8 03:06:13 redjohn sshd[25096]: Failed password for root from 61.174.50.224 port 3800 ssh2 Jul 8 03:06:13 redjohn sshd[25094]: Failed password for root from 61.174.50.224 port 3113 ssh2 Jul 8 03:06:16 redjohn sshd[25096]: Failed password for root from 61.174.50.224 port 3800 ssh2 Jul 8 03:06:16 redjohn sshd[25094]: Failed password for root from 61.174.50.224 port 3113 ssh2 Jul 8 03:06:19 redjohn sshd[25096]: Failed password for root from 61.174.50.224 port 3800 ssh2 Jul 8 03:06:19 redjohn sshd[25094]: Failed password for root from 61.174.50.224 port 3113 ssh2 Jul 8 03:06:25 redjohn sshd[25096]: Failed password for root from 61.174.50.224 port 3800 ssh2 Jul 8 03:06:27 redjohn sshd[25094]: Failed password for root from 61.174.50.224 port 3113 ssh2 I do a lookup of the ip at centralops.net to determine if I should block the single IP or block the entire ip range from this offender. I then add the information to my iptables file and this particular user(s) is history. My problem is that this is labor intensive. I reached out to Zax to see, if it was a good idea to change my SSH port from 22 to some random number that I only knew. He recommended that I not go down that path as other programs that rely on this port may no longer work. Zax recommended that I look into Public/Private keys for SSH authentication. I have read the documentation and I'm afraid that I will break my VPS and have to rebuild it. So, I'm back to where I started doing my due diligence to swat these knats as they are identified. I have disabled root access via SSH. Should I just ignore this traffic, due to the fact that root access login is not permitted or should I continue to add these offenders to my iptables file?
Re: Failed SSH Logins
Author: elvis-85503
Date: Tue, 08 Jul 2014 23:28
Date: Tue, 08 Jul 2014 23:28
6 lines
1244 bytes
1244 bytes
> look into Public/Private keys for SSH authentication. I have > read the documentation and I'm afraid that I will break my VPS > and have to rebuild it. Add and test the keys. If they work disable password authentication afterward.
Re: Failed SSH Logins
Author: Red John
Date: Wed, 09 Jul 2014 00:13
Date: Wed, 09 Jul 2014 00:13
7 lines
1011 bytes
1011 bytes
In my research on this subject I came across Fail2Ban at: http://www.thegeekstuff.com/2010/07/fail2ban-howto/ I am going to try this for awhile and I will report back on my progress. I hope this works.
Re: Failed SSH Logins
Author: Anonymous
Date: Wed, 09 Jul 2014 01:02
Date: Wed, 09 Jul 2014 01:02
9 lines
1402 bytes
1402 bytes
On Wed, 9 Jul 2014 00:08:11 +0100 (BST), Red John <redjohn@nym.mixmin.net> wrote: > Should I just ignore this traffic, due to the fact that >root access login is not permitted or should I continue to add >these offenders to my iptables file? Ignore it. You'll grow tired of building an ever-growing IP tables ruleset.
Re: Failed SSH Logins
Author: Anonymous
Date: Wed, 09 Jul 2014 01:03
Date: Wed, 09 Jul 2014 01:03
12 lines
1622 bytes
1622 bytes
On 08 Jul 2014 23:28:24 GMT, elvis-85503@notatla.org.uk wrote: >> look into Public/Private keys for SSH authentication. I have >> read the documentation and I'm afraid that I will break my VPS >> and have to rebuild it. > >Add and test the keys. >If they work disable password authentication afterward. Disabling password authentication doesn't prevent such attempts, even though it guarantees failure. They will still try, and only the messages in the log file will be different.
Re: Failed SSH Logins
Author: Anonymous
Date: Wed, 09 Jul 2014 05:24
Date: Wed, 09 Jul 2014 05:24
22 lines
1681 bytes
1681 bytes
In article <20140708230811.7FE79EAC24@snorky.mixmin.net> Red John <redjohn@nym.mixmin.net> wrote: > > I'm checking my /var/log/auth.log file periodically during the > day to see who's banging on my server to gain access. > So, I'm back to where I started doing my due diligence to swat > these knats as they are identified. I have disabled root access > via SSH. Should I just ignore this traffic, due to the fact that > root access login is not permitted or should I continue to add > these offenders to my iptables file? This has a point of diminishing returns depending on the skill and resources of the attacker. There are any number of VPN or socks hosts to launch new attacks from if the jerk is determined to hack on you. It's kind of like whack-a-mole. But it's better to so something than nothing.
Re: Failed SSH Logins
Author: elvis-85503
Date: Wed, 09 Jul 2014 07:13
Date: Wed, 09 Jul 2014 07:13
9 lines
1457 bytes
1457 bytes
>> Should I just ignore this traffic, due to the fact that >>root access login is not permitted or should I continue to add >>these offenders to my iptables file? > > Ignore it. You'll grow tired of building an ever-growing IP tables > ruleset. They may also be guessing non-root usernames and passwords which gives them a slight chance of success if passwords are allowed.
Re: Failed SSH Logins
Author: Zax
Date: Wed, 09 Jul 2014 09:21
Date: Wed, 09 Jul 2014 09:21
43 lines
2827 bytes
2827 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 08 Jul 2014 23:28:24 GMT, elvis-85503@notatla.org.uk wrote in
Message-Id: <slrnlrovko.b3t.elvis-85503@notatla.org.uk>:
>> look into Public/Private keys for SSH authentication. I have
>> read the documentation and I'm afraid that I will break my VPS
>> and have to rebuild it.
>
> Add and test the keys.
> If they work disable password authentication afterward.
I concur with that advice. There is no risk, up to the point where
password authentication is disabled and by then, certificate
authentication should have been thoroughly tested.
John, if you need help with this, I'm happy to walk you through it.
It's not as complicated as it may at first appear and it is a *very*
good security measure.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJTvQmkAAoJEIBmv8lxNqHoJTMQALjEVltkdU/Cnt3phzRQN1W8
xnHsJiEjiQ5hrDqYboXTiiHg20gXE/jGUdSnEoGcnFCFsFICX54e89w7NDdDlItH
baqKgY1tTTY6f223MQ/BrqDcjt+WztbizDXfEpxnTbmNCY4Zx/I3Ybs2+U406MQg
//fcXn1zaEVRRE0RLbCxKFBqTDBwJmeMClp239rj3aOuE/3+HDDO60FeyAklyWBj
zwEF8yJymCVtGKDl1abKkqaiG4o24HQKanue+h+4RaXDHTMQ5DMhcIAT1V0NH/zp
rhE0OjQZ75nifBkLb9RRZ73DObto/tq+XUfu2GlHjZWFK8u0OgzFeWpjd+gK91z7
mpexyytCdI0HN0hwzSNvONzjKEczeOkomQyZpVhumEWuC34dooLJTMxvXDgw8HGM
gv9pYBc+Z2f5oMXo0z0A5aZSxQiiokBikicfNLBFOua5j2No6r+aQnvmiO0QRx+/
S/dpL4scZisrVbXnwFbYO43S+0oRdSBXhRsD899hW9m5GffCDkZ5lVAfAqHEVzGR
z3vRbNsKRv6zasBJErx7OzTkEvtJ9CUF3ews6I3ON351yQFvBipu7njizrg61m0C
AMX9BiB2HpkOzOQHfGKIG1zGTIDfs31n3F3/3ATRvfkTEU0EmjhwHzyZ8biY4rag
aEaphV9tilnWq+dLuoCf
=lKWi
-----END PGP SIGNATURE-----
--
pub 1024D/228761E7 2003-06-04 Steven Crook <steve@mixmin.net>
Key fingerprint = 1CD9 95E1 E9CE 80D6 C885 B7EB B471 80D5 2287 61E7
sub 4096R/4ABF07E3 2012-02-11 [expires: 2013-02-10]
None
Author: Anonymous
Date: Wed, 09 Jul 2014 11:51
Date: Wed, 09 Jul 2014 11:51
37 lines
2358 bytes
2358 bytes
> I'm checking my /var/log/auth.log file periodically during the > day to see who's banging on my server to gain access. Below is > an example of what I see everyday from different offenders: > from 61.174.50.224 port 3800 ssh2 > from 61.174.50.224 port 3113 ssh2 > from 61.174.50.224 port 3800 ssh2 > from 61.174.50.224 port 3113 ssh2 > from 61.174.50.224 port 3800 ssh2 > from 61.174.50.224 port 3113 ssh2 > from 61.174.50.224 port 3800 ssh2 > from 61.174.50.224 port 3113 ssh2 > from 61.174.50.224 port 3800 ssh2 > from 61.174.50.224 port 3113 ssh2 > I do a lookup of the ip at centralops.net to determine if I > should block the single IP or block the entire ip range from > this offender. I then add the information to my iptables file > and this particular user(s) is history. My problem is that this > is labor intensive. > I reached out to Zax to see, if it was a good idea to change my > SSH port from 22 to some random number that I only knew. He > recommended that I not go down that path as other programs that > rely on this port may no longer work. Zax recommended that I > look into Public/Private keys for SSH authentication. I have > read the documentation and I'm afraid that I will break my VPS > and have to rebuild it. > So, I'm back to where I started doing my due diligence to swat > these knats as they are identified. I have disabled root access > via SSH. Should I just ignore this traffic, due to the fact that > root access login is not permitted or should I continue to add > these offenders to my iptables file? Remamber, you access your server on port 22 with putty and WinSCP. You will not be able to get in if you monkey with port 22.
Re: Failed SSH Logins
Author: Nomen Nescio
Date: Wed, 09 Jul 2014 12:17
Date: Wed, 09 Jul 2014 12:17
14 lines
1362 bytes
1362 bytes
> On Wed, 9 Jul 2014 00:08:11 +0100 (BST), Red John > <redjohn@nym.mixmin.net> wrote: > Should I just ignore this traffic, due to the fact that > root access login is not permitted or should I continue to add > these offenders to my iptables file? > Ignore it. You'll grow tired of building an ever-growing IP tables > ruleset. You shouldn't be getting all that many hits that it would be too difficult to keep up with manual banning.
Re: Failed SSH Logins
Author: Anonymous Remailer (austria)
Date: Wed, 09 Jul 2014 19:05
Date: Wed, 09 Jul 2014 19:05
28 lines
2012 bytes
2012 bytes
In article <slrnlrq2d4.a1l.admin@snorky.mixmin.net> Zax <admin@mixmin.net> wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > On 08 Jul 2014 23:28:24 GMT, elvis-85503@notatla.org.uk wrote in > Message-Id: <slrnlrovko.b3t.elvis-85503@notatla.org.uk>: > > >> look into Public/Private keys for SSH authentication. I have > >> read the documentation and I'm afraid that I will break my VPS > >> and have to rebuild it. > > > > Add and test the keys. > > If they work disable password authentication afterward. > > I concur with that advice. There is no risk, up to the point where > password authentication is disabled and by then, certificate > authentication should have been thoroughly tested. > > John, if you need help with this, I'm happy to walk you through it. > It's not as complicated as it may at first appear and it is a *very* > good security measure. One thing, doesn't that mess up other programs that use it? You already said it was a bad idea to change the port for that reason.
Re: Failed SSH Logins
Author: Anonymous
Date: Wed, 09 Jul 2014 20:04
Date: Wed, 09 Jul 2014 20:04
20 lines
1591 bytes
1591 bytes
In article <8e5a7659e322990520a6e78d9ad285e6@dizum.com> Nomen Nescio <nobody@dizum.com> wrote: > > > On Wed, 9 Jul 2014 00:08:11 +0100 (BST), Red John > > <redjohn@nym.mixmin.net> wrote: > > > > Should I just ignore this traffic, due to the fact that > > root access login is not permitted or should I continue to add > > these offenders to my iptables file? > > > Ignore it. You'll grow tired of building an ever-growing IP tables > > ruleset. > > You shouldn't be getting all that many hits that it would be too > difficult to keep up with manual banning. Over the 4-5th of July, a miscreant from China grew a 45MB log file hacking at one of my FTP servers.
Re: Failed SSH Logins
Author: John Kennerson
Date: Wed, 09 Jul 2014 20:23
Date: Wed, 09 Jul 2014 20:23
23 lines
1551 bytes
1551 bytes
> In article <8e5a7659e322990520a6e78d9ad285e6@dizum.com> > Nomen Nescio <nobody@dizum.com> wrote: > On Wed, 9 Jul 2014 00:08:11 +0100 (BST), Red John > <redjohn@nym.mixmin.net> wrote: > Should I just ignore this traffic, due to the fact that > root access login is not permitted or should I continue to add > these offenders to my iptables file? > Ignore it. You'll grow tired of building an ever-growing IP tables > ruleset. > You shouldn't be getting all that many hits that it would be too > difficult to keep up with manual banning. > Over the 4-5th of July, a miscreant from China grew a 45MB log > file hacking at one of my FTP servers. :รพ
Re: Failed SSH Logins
Author: Zax
Date: Wed, 09 Jul 2014 20:25
Date: Wed, 09 Jul 2014 20:25
55 lines
3535 bytes
3535 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Wed, 9 Jul 2014 21:05:10 +0200 (CEST), Anonymous Remailer (austria) wrote in
Message-Id: <20ac57cff054ab5ed955cfbc51ebe62c@remailer.privacy.at>:
>> I concur with that advice. There is no risk, up to the point where
>> password authentication is disabled and by then, certificate
>> authentication should have been thoroughly tested.
>>
>> John, if you need help with this, I'm happy to walk you through it.
>> It's not as complicated as it may at first appear and it is a *very*
>> good security measure.
>
> One thing, doesn't that mess up other programs that use it? You
> already said it was a bad idea to change the port for that reason.
SSH is built to support multiple authenticaion methods. In fact, key
authentication is always tried before password authentication. Other
programs that rely on SSH don't have to worry about how the
authentication happens because SSH takes care of it. On the other hand,
if SSH isn't where those programs expect to find it, they can't use it.
Another issue with changing the port number is that it's security by
obscurity. It's easy for an attacker to scan open ports and see which
one responds in an ssh-like fashion.
$ telnet localhost 22
Trying 127.0.0.1...
Connected to snorky.mixmin.net.
Escape character is '^]'.
SSH-2.0-OpenSSH_6.6.1p1 Debian-5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJTvaVKAAoJEIBmv8lxNqHopu0P/3ALvOiAv9frAfrIx2+nqoDf
bbfC7W2xIf0bbiObtPudy6dPcXolKBIXTCpBSmMn5v9OHGx2Lu1tqPbGItI7iy80
uhshrVobNhJbuMuXUpl4lNWQwg4feMM9ZosdR6/BlbnDr6xfIp8tf0J6Ojt1B30J
DZ4OCAk26JjsKcvyxFVbnmGpaw/azEm6jRN5YlFGZcObz51tdrQf9WxQ0VNTNHt2
vyew6J9i7cPgCJTZxbzSimiE21dvsJ2QluO5DpaqGmgbBMD0vqOUVzI5WQYyilfZ
Z4558Qb0yyUpJHn1E1siyX+hmCqrAYNjRZFyLtbw4nnA5RXfj0qpk3InE7R/4KJ3
4XdJbg8pSbA8gBZSIAYgip5FGD1Tu1yOrkNQcFKIMZBoZG7n1iOyPHcCwTNVEvog
KIVQsTYmGtoAdY70fq9pWskdQx0wtlB/nlgbfOeCLJ488LJP/kq4W31D4DvyiJYv
Vo1lo585blsdjpmeHBxDeamY82NQho+RNcedRSx//+kRFtmStCFJceSd2V1oC1Uo
HZb6wIpWecm5e2WKEgGDfk4Zi4JVgEMXvEp2c+lbch7AuwI0VjSvtmllloDh5xB8
j+pWl/VQDsT5usinTAGhikitkRoD1/i920s8bAYRNUW6DiY0EueOOiW9PI6rVeMm
mXfH+5zSVU3SFY6NJMm8
=5OUd
-----END PGP SIGNATURE-----
--
pub 1024D/228761E7 2003-06-04 Steven Crook <steve@mixmin.net>
Key fingerprint = 1CD9 95E1 E9CE 80D6 C885 B7EB B471 80D5 2287 61E7
sub 4096R/4ABF07E3 2012-02-11 [expires: 2013-02-10]
Re: Failed SSH Logins
Author: Nomen Nescio
Date: Wed, 09 Jul 2014 20:54
Date: Wed, 09 Jul 2014 20:54
26 lines
1651 bytes
1651 bytes
> In article <8e5a7659e322990520a6e78d9ad285e6@dizum.com> > Nomen Nescio <nobody@dizum.com> wrote: > On Wed, 9 Jul 2014 00:08:11 +0100 (BST), Red John > <redjohn@nym.mixmin.net> wrote: > Should I just ignore this traffic, due to the fact that > root access login is not permitted or should I continue to add > these offenders to my iptables file? > Ignore it. You'll grow tired of building an ever-growing IP tables > ruleset. > You shouldn't be getting all that many hits that it would be too > difficult to keep up with manual banning. > Over the 4-5th of July, a miscreant from China grew a 45MB log > file hacking at one of my FTP servers. if [[ $(grep -c " 404 " /var/log/apache/access_log) -gt 50 ]] then notify me with email - block evil Chink fi
Re: Failed SSH Logins
Author: Anonymous
Date: Wed, 09 Jul 2014 21:16
Date: Wed, 09 Jul 2014 21:16
17 lines
1885 bytes
1885 bytes
On Wed, 9 Jul 2014 20:25:46 +0000 (UTC), Zax <admin@mixmin.net> wrote: Snip.... >Another issue with changing the port number is that it's security by >obscurity. It's easy for an attacker to scan open ports and see which >one responds in an ssh-like fashion. Yes, that is security by obscurity. But if the objective is to significantly quite down your ssh logs it works, and cannot be argued against from that perspective. I know from having the better part of two decades experience with a nailed up net connection and an exposed ssh server on a non-standard port.
Re: Failed SSH Logins
Author: Red John
Date: Wed, 09 Jul 2014 21:30
Date: Wed, 09 Jul 2014 21:30
64 lines
3219 bytes
3219 bytes
On 7/9/2014 12:05 PM, Anonymous Remailer (austria) wrote:> In article <slrnlrq2d4.a1l.admin@snorky.mixmin.net> > Zax <admin@mixmin.net> wrote: >> >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA256 >> >> On 08 Jul 2014 23:28:24 GMT, elvis-85503@notatla.org.uk wrote in >> Message-Id: <slrnlrovko.b3t.elvis-85503@notatla.org.uk>: >> >>>> look into Public/Private keys for SSH authentication. I have >>>> read the documentation and I'm afraid that I will break my VPS >>>> and have to rebuild it. >>> >>> Add and test the keys. >>> If they work disable password authentication afterward. >> >> I concur with that advice. There is no risk, up to the point where >> password authentication is disabled and by then, certificate >> authentication should have been thoroughly tested. >> >> John, if you need help with this, I'm happy to walk you through it. >> It's not as complicated as it may at first appear and it is a *very* >> good security measure. > > One thing, doesn't that mess up other programs that use it? You > already said it was a bad idea to change the port for that reason. > Zax I appreciate the offer for help. I might take you up on that. I installed Fail2ban yesterday and my first impressions are that uninvited traffic has dropped precipitously based on my review of auth.log and my iptables file. I am currently just enabling ssh with these settings: [DEFAULT] # "ignoreip" can be an IP address, a CIDR mask or a DNS host ignoreip = 127.0.0.1/8 xxx.xxx.xxx.xxx (my ip address) bantime = 600 maxretry = 5 [ssh] enabled = true port = ssh filter = sshd logpath = /var/log/auth.log maxretry = 5 If I do a tail -1000 /var/log/auth.log I find just a couple of instances of rogue IP's trying to gain access via ssh. The endless strings of the same IP populating my auth.log file appear to be over. I have one entry that was added to my iptables file, which was good to see that this functionality works and did not corrupt the previous entries that were in my iptables file.
Re: Failed SSH Logins
Author: Alex de Joode
Date: Wed, 09 Jul 2014 21:56
Date: Wed, 09 Jul 2014 21:56
43 lines
2554 bytes
2554 bytes
Zax <admin@mixmin.net> wrote: : -----BEGIN PGP SIGNED MESSAGE----- : Hash: SHA256 : : On 08 Jul 2014 23:28:24 GMT, elvis-85503@notatla.org.uk wrote in : Message-Id: <slrnlrovko.b3t.elvis-85503@notatla.org.uk>: : :>> look into Public/Private keys for SSH authentication. I have :>> read the documentation and I'm afraid that I will break my VPS :>> and have to rebuild it. :> :> Add and test the keys. :> If they work disable password authentication afterward. : : I concur with that advice. There is no risk, up to the point where : password authentication is disabled and by then, certificate : authentication should have been thoroughly tested. : : John, if you need help with this, I'm happy to walk you through it. : It's not as complicated as it may at first appear and it is a *very* : good security measure. #1 setup ssh keys https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys--2 #2 set 'AllowUsers yourlogin' in sshd_config http://stackoverflow.com/questions/14761473/sshd-config-allowusers #3 set PermitRootLogin=No in sshd_config http://www.tecmint.com/disable-or-enable-ssh-root-login-and-limit-ssh-access-in$ #4 add geoip to ssh logins (no need for chinese and others checking your gates) http://ts1-en.blogspot.com/2009/06/ssh-access-control-with-geoip.html #5 add denyhosts or fail2ban Cheers! -- bitcoins:1QAthQz4LKHWZURTVax5F75mj6d5uY8shW
Re: Failed SSH Logins
Author: Anonymous Remailer (austria)
Date: Wed, 09 Jul 2014 23:12
Date: Wed, 09 Jul 2014 23:12
30 lines
2155 bytes
2155 bytes
In article <21crr912dguvn2i1hehmoua1updstt2j4h@news.stray.cat.edu> Anonymous wrote: > > On Wed, 9 Jul 2014 20:25:46 +0000 (UTC), Zax <admin@mixmin.net> wrote: > > Snip.... > > >Another issue with changing the port number is that it's security by > >obscurity. It's easy for an attacker to scan open ports and see which > >one responds in an ssh-like fashion. > > Yes, that is security by obscurity. > > But if the objective is to significantly quite down your ssh logs it > works, and cannot be argued against from that perspective. > > I know from having the better part of two decades experience with a > nailed up net connection and an exposed ssh server on a non-standard > port. Yep, me too! I use both--non-standard port and public key authentication. Password auth is not enabled. No root login. I pefer not seeing my log fill up with failed hacking attempts and I've never received notice of a port scan nor any hacking attempted on the non-standard port. Many years now and never any problems.
Re: Failed SSH Logins
Author: Red John
Date: Thu, 10 Jul 2014 02:40
Date: Thu, 10 Jul 2014 02:40
14 lines
1319 bytes
1319 bytes
I opened up my /etc/ssh/sshd_config file and noticed that this was pounded out. So I unpounded it and did a ssh restart command. AuthorizedKeysFile %h/.ssh/authorized_keys What is the %h at the beginning of the .ssh? I did this after rebuilding my authorized_keys file with my public key that was created with PuTTy_gen. I added my private key id_rsa to Pageant and made sure that "Attempt authentication using Pageant" was checked. Do I have to turn off PAM authentication in my sshd_config file?
Re: Failed SSH Logins
Author: Anonymous
Date: Thu, 10 Jul 2014 02:50
Date: Thu, 10 Jul 2014 02:50
7 lines
1313 bytes
1313 bytes
On Thu, 10 Jul 2014 03:40:09 +0100 (BST), Red John <redjohn@nym.mixmin.net> wrote: >What is the %h at the beginning of the .ssh? That is OpenSSH notation for the user's home directory.
Re: Failed SSH Logins
Author: Red John
Date: Thu, 10 Jul 2014 03:29
Date: Thu, 10 Jul 2014 03:29
34 lines
2303 bytes
2303 bytes
I loaded winscp and did Tools | Run PuttyGen and generated a public and private key. I saved these two files to my Laptop computer. I then copied my public key to my VPS server in a newly created file called /.ssh/authorized_keys. I then did /etc/init.d/ssh restart and then tried to log into my VPS from my laptop. I was prompted for a password, which my understanding was I should not have had to do. What do I specifically need to do in Putty to get this to work? Do I have to add my private key to Putty's configuration or is there something else that needs to be done with the sshd.conf file? Please note when my VPS was created I have many ssh keys that were created in etc/ssh When I restarted ssh I get this error message: Jul 9 16:49:35 redjohn sshd[30582]: error: Could not load host key: /etc/ssh/ssh_host_ecdsa_key So when I restart ssh it appears that it is looking for keys in ssh_host_ecdsa_key instead of /.ssh/authorized_keys. I did try to follow the instructions that were on digitalocean's website, but could not login to a user that I know worked previously with a password login. So I deleted the authorized_keys file and did another ssh restart and everything was okay again. If/when I get this working I am going write up my own FAQ for other users who may have the same issue as me.
Re: Failed SSH Logins
Author: Red John
Date: Thu, 10 Jul 2014 07:09
Date: Thu, 10 Jul 2014 07:09
22 lines
1821 bytes
1821 bytes
On 7/9/2014 7:50 PM, Anonymous wrote:> On Thu, 10 Jul 2014 03:40:09 +0100 (BST), Red John > <redjohn@nym.mixmin.net> wrote: > >> What is the %h at the beginning of the .ssh? > > That is OpenSSH notation for the user's home directory. > I think I'm getting a bit closer. I created a .ssh directory under my home directory as a user other than root. I then created authorized_keys in that directory and copied the public key to that file. I pointed my private key within Putty to file on my laptop. I then tried to login to my VPS and got this error message: Server refused our key It then allows me to login in with my password. I don't know what my next steps should be.
Re: Failed SSH Logins
Author: elvis-85503
Date: Thu, 10 Jul 2014 07:32
Date: Thu, 10 Jul 2014 07:32
17 lines
1571 bytes
1571 bytes
> created authorized_keys in that directory and copied the public > key to that file. > > I pointed my private key within Putty to file on my laptop. I > then tried to login to my VPS and got this error message: > > Server refused our key > > It then allows me to login in with my password. I don't know > what my next steps should be. Have you got the authorized_keys file in OpenSSH format and the private key in PuTTY format? Check owners/modes on the server. Check logs on the server. http://www.snailbook.com/faq/publickey-userauth.auto.html http://www.snailbook.com/faq/general-debugging.auto.html
Re: Failed SSH Logins
Author: elvis-85503
Date: Thu, 10 Jul 2014 07:49
Date: Thu, 10 Jul 2014 07:49
14 lines
1604 bytes
1604 bytes
> What do I specifically need to do in Putty to get this to work? > Do I have to add my private key to Putty's configuration Yes - and maybe also winscp (I don't use it often enough to remember and don't have Windows at home). > Jul 9 16:49:35 redjohn sshd[30582]: error: > Could not load host key: /etc/ssh/ssh_host_ecdsa_key > > So when I restart ssh it appears that it is looking for keys in > ssh_host_ecdsa_key instead of /.ssh/authorized_keys. No - sshd wants to read HOST keys at startup and wants to read USER keys at login attempts.
Re: Failed SSH Logins
Author: Anonymous
Date: Thu, 10 Jul 2014 12:38
Date: Thu, 10 Jul 2014 12:38
8 lines
1584 bytes
1584 bytes
One thing to keep in mind when using private/public keying for ssh connections (instead of server side user passwords) is that the private key is secured with a passphrase that must be entered on the client side to open the key for use. Although it is possible to configure a private key to not have a passphrase, it's a bad idea unless you are absolutely positive that the key will not fall into the wrong hands.
Re: Failed SSH Logins
Author: Dave U. Random
Date: Thu, 10 Jul 2014 14:29
Date: Thu, 10 Jul 2014 14:29
27 lines
1733 bytes
1733 bytes
> On 7/9/2014 7:50 PM, Anonymous wrote:> On Thu, 10 Jul 2014 > 03:40:09 +0100 (BST), Red John > <redjohn@nym.mixmin.net> wrote: > What is the %h at the beginning of the .ssh? > That is OpenSSH notation for the user's home directory. > I think I'm getting a bit closer. I created a .ssh directory > under my home directory as a user other than root. I then > created authorized_keys in that directory and copied the public > key to that file. > I pointed my private key within Putty to file on my laptop. I > then tried to login to my VPS and got this error message: > Server refused our key > It then allows me to login in with my password. I don't know > what my next steps should be. You may not be able to create and use an SSH key like that with DigitalOcean. https://cloud.digitalocean.com/ssh_keys
Re: Failed SSH Logins
Author: Red John
Date: Thu, 10 Jul 2014 16:34
Date: Thu, 10 Jul 2014 16:34
33 lines
2325 bytes
2325 bytes
On 7/10/2014 7:29 AM, Dave U. Random wrote:>> On 7/9/2014 7:50 PM, Anonymous wrote:> On Thu, 10 Jul 2014 >> 03:40:09 +0100 (BST), Red John > >> <redjohn@nym.mixmin.net> wrote: > >> What is the %h at the beginning of the .ssh? > >> That is OpenSSH notation for the user's home directory. > > >> I think I'm getting a bit closer. I created a .ssh directory >> under my home directory as a user other than root. I then >> created authorized_keys in that directory and copied the public >> key to that file. > >> I pointed my private key within Putty to file on my laptop. I >> then tried to login to my VPS and got this error message: > >> Server refused our key > >> It then allows me to login in with my password. I don't know >> what my next steps should be. > > You may not be able to create and use an SSH key like that with > DigitalOcean. > https://cloud.digitalocean.com/ssh_keys > I'm not on DigitalOcean, but I am using a VPS that is similar to DO.
Re: Failed SSH Logins
Author: Red John
Date: Thu, 10 Jul 2014 18:42
Date: Thu, 10 Jul 2014 18:42
37 lines
2653 bytes
2653 bytes
On 7/10/2014 12:32 AM, elvis-85503@notatla.org.uk wrote:>> created authorized_keys in that directory and copied the public >> key to that file. >> >> I pointed my private key within Putty to file on my laptop. I >> then tried to login to my VPS and got this error message: >> >> Server refused our key >> >> It then allows me to login in with my password. I don't know >> what my next steps should be. > > Have you got the authorized_keys file in OpenSSH format > and the private key in PuTTY format? > > Check owners/modes on the server. Check logs on the server. > http://www.snailbook.com/faq/publickey-userauth.auto.html > http://www.snailbook.com/faq/general-debugging.auto.html > elvis, I created both keys using PuTTygen. I copied my public key to the VPS server's authorized_keys file in /home/mix/.ssh/authorized_keys. I then pointed Putty to my Private key which resides on my Laptop. I then tried to login to my VPS via Putty from my Laptop and received the server error message. One thing I've come across in researching this, do I have to rename my authorized_keys file to authorized_keys2 ? Also when I copied my public key from Notepad to Nano even though the contents were copied on one line in Notepad, it was pasted into Nano on multiple lines. I carefully got rid of the line breaks in Nano without deleting any of the public key's contents until everything was on one line. I then saved the file. Was this necessary?
Re: Failed SSH Logins
Author: elvis-85503
Date: Thu, 10 Jul 2014 18:52
Date: Thu, 10 Jul 2014 18:52
18 lines
1883 bytes
1883 bytes
> elvis, I created both keys using PuTTygen. I copied my public > key to the VPS server's authorized_keys file in > /home/mix/.ssh/authorized_keys. Can you make another key pair in puttygen in the same way and show us the public key? > across in researching this, do I have to rename my > authorized_keys file to authorized_keys2 ? no > line breaks in Nano without deleting any of the public key's > contents until everything was on one line. I then saved the > file. Was this necessary? We'll try to advise on that after seeing the format of the key file you have.
Re: Failed SSH Logins
Author: Zax
Date: Thu, 10 Jul 2014 19:12
Date: Thu, 10 Jul 2014 19:12
62 lines
3953 bytes
3953 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Thu, 10 Jul 2014 19:42:14 +0100 (BST), Red John wrote in
Message-Id: <20140710184214.3D672EAB1F@snorky.mixmin.net>:
> elvis, I created both keys using PuTTygen. I copied my public
> key to the VPS server's authorized_keys file in
> /home/mix/.ssh/authorized_keys.
Check the permissions on this file and the directory. They need to be
read/write for only the owner. SSH is very strict about this.
chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys
> I then pointed Putty to my Private key which resides on my
> Laptop. I then tried to login to my VPS via Putty from my Laptop
> and received the server error message. One thing I've come
> across in researching this, do I have to rename my
> authorized_keys file to authorized_keys2 ?
In your Putty config, under Connection > Data, insert the Auto-login
Username. Sounds like you've already done the Connection > SSH > Auth
and told it where to find the key file.
>
> Also when I copied my public key from Notepad to Nano even
> though the contents were copied on one line in Notepad, it was
> pasted into Nano on multiple lines. I carefully got rid of the
> line breaks in Nano without deleting any of the public key's
> contents until everything was on one line. I then saved the
> file. Was this necessary?
It was necessary. SSH expects to find the key without line breaks in
it. Generally speaking Notepad is pretty evil when it comes to changing
things its not been asked to change. Wordpad is better and comes as
standard on most Windows flavors. Best of all for your purpose would be
pscp which is part of Putty. It copies files between machines without
risk of changing them.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJTvuW5AAoJEIBmv8lxNqHoykgP/3zhc2bfJbcILpJuewTanBsa
VY7MsDUgWeUHMr8J98OKd3VaIyD9YWtCuBCkCvSy/QmbF0b/yC480PaBsbpgEZs5
9X5XwRYmaAQYvtyyPDTul9DZTWBLhNFxfASwzSVoHBB/F1nJZHXWEJgJe4mnsV1I
mAQxCnsbcHlOhMkvIr2sT2wduht1INMDaVN/XEiURPrvXw3mBsqEYfH9oAaZgNld
vt8LvNI9Xv0oWuiWUGOODYXTKuRVGMQhZMHsHLEjEK9o3meX17E0zTdPfpOlyZJk
d928K72s1nDnRisH3KfDoPKVsDF36bnl+AQnTjmhkMjafeB0PSAMtLH+Ob1gmhW5
CWDjEZXo8G4d2xRwYXsoB3Jr9w1BFcTbC9R+vapHSn+hOegfLiTh0X2EWlHPh73e
8SYDfMmRTwG8NuSnMxGHZhXfjSDZksvUI8eVc7Xx+hgi+aDy0F2o8XzqOcGY8P+X
QS9Vp4q65TP4hRe5N/c9bFyIsndXTFkh0oOJZ6kwRKJzG0PL4tgyOzpu149H06nQ
QIbPP3l3CRo+Ym3s2X9lp5jLkSAIFZmfJnwRHfu2yXYi4CCHjxUeJzZL+zYnWKtt
GNs/5KDheZKuYst9jab6BQyJLsWeST+Z6EBZl4FPEKTOPQhoTyTEF+9dOLIavQKj
71IPghOUXQxdr1fSKbfA
=rOPk
-----END PGP SIGNATURE-----
--
pub 1024D/228761E7 2003-06-04 Steven Crook <steve@mixmin.net>
Key fingerprint = 1CD9 95E1 E9CE 80D6 C885 B7EB B471 80D5 2287 61E7
sub 4096R/4ABF07E3 2012-02-11 [expires: 2013-02-10]
Re: Failed SSH Logins
Author: Nomen Nescio
Date: Thu, 10 Jul 2014 19:19
Date: Thu, 10 Jul 2014 19:19
24 lines
1676 bytes
1676 bytes
> elvis, I created both keys using PuTTygen. I copied my public > key to the VPS server's authorized_keys file in > /home/mix/.ssh/authorized_keys. > Can you make another key pair in puttygen in the same way > and show us the public key? > across in researching this, do I have to rename my > authorized_keys file to authorized_keys2 ? > no > line breaks in Nano without deleting any of the public key's > contents until everything was on one line. I then saved the > file. Was this necessary? > We'll try to advise on that after seeing the format of the > key file you have. I had problems with. The problem was that it generated the key two formats. One was put in a file and the other I had to scoop up out of the gen window. The one in the gen window was the only one that worked.
Re: Failed SSH Logins
Author: Red John
Date: Thu, 10 Jul 2014 19:55
Date: Thu, 10 Jul 2014 19:55
48 lines
3267 bytes
3267 bytes
On 7/10/2014 12:12 PM, Zax wrote: > On Thu, 10 Jul 2014 19:42:14 +0100 (BST), Red John wrote in > Message-Id: <20140710184214.3D672EAB1F@snorky.mixmin.net>: > >> elvis, I created both keys using PuTTygen. I copied my public >> key to the VPS server's authorized_keys file in >> /home/mix/.ssh/authorized_keys. > > Check the permissions on this file and the directory. They need to be > read/write for only the owner. SSH is very strict about this. > > chmod 700 ~/.ssh > chmod 600 ~/.ssh/authorized_keys Done > >> I then pointed Putty to my Private key which resides on my >> Laptop. I then tried to login to my VPS via Putty from my Laptop >> and received the server error message. One thing I've come >> across in researching this, do I have to rename my >> authorized_keys file to authorized_keys2 ? > > In your Putty config, under Connection > Data, insert the Auto-login > Username. Sounds like you've already done the Connection > SSH > Auth > and told it where to find the key file. > > Yes I did this already. >> Also when I copied my public key from Notepad to Nano even >> though the contents were copied on one line in Notepad, it was >> pasted into Nano on multiple lines. I carefully got rid of the >> line breaks in Nano without deleting any of the public key's >> contents until everything was on one line. I then saved the >> file. Was this necessary? > It was necessary. SSH expects to find the key without line breaks in > it. Generally speaking Notepad is pretty evil when it comes to changing > things its not been asked to change. Wordpad is better and comes as > standard on most Windows flavors. Best of all for your purpose would be > pscp which is part of Putty. It copies files between machines without > risk of changing them. > I still cannot login using key authentication. I will table this effort for now. I'll reach out to one of the experts here and hopefully we can do a chat session to figure out what's going on.
Re: Failed SSH Logins
Author: John Kennerson
Date: Thu, 10 Jul 2014 20:05
Date: Thu, 10 Jul 2014 20:05
11 lines
1564 bytes
1564 bytes
<snip> > It was necessary. SSH expects to find the key without line breaks in > it. Generally speaking Notepad is pretty evil when it comes to changing > things its not been asked to change. Wordpad is better and comes as > standard on most Windows flavors. Best of all for your purpose would be > pscp which is part of Putty. It copies files between machines without > risk of changing them. I had this problem using Notepad, it somehow hosed the record. I think that one uses x0D and the other x0D0A for CR. When I used Wordpad, it put it out correctly.
Re: Failed SSH Logins - Resolved
Author: Red John
Date: Thu, 10 Jul 2014 21:30
Date: Thu, 10 Jul 2014 21:30
42 lines
2600 bytes
2600 bytes
On 7/10/2014 1:05 PM, John Kennerson wrote:> <snip>
>> It was necessary. SSH expects to find the key without line
breaks in
>> it. Generally speaking Notepad is pretty evil when it comes
to changing
>> things its not been asked to change. Wordpad is better and
comes as
>> standard on most Windows flavors. Best of all for your
purpose would be
>> pscp which is part of Putty. It copies files between
machines without
>> risk of changing them.
>
> I had this problem using Notepad, it somehow hosed the record. I
> think that one uses x0D and the other x0D0A for CR. When I used
> Wordpad, it put it out correctly.
>
Success -- I created a new key pair and copied the public key
directly from Puttygen's window into Nano using Nano -w
authorized_keys and it was automatically pasted on one line. I
logged in via Putty and was prompted for the passhphrase that
was assigned to my private key. After entering my passphrase, I
was then logged in as the non root user.
I am now going to create a new key for a second user and get
this configured. I will then turn off PAM authentication in
/etc/sshd_config and confirm that I cannot log in using my user
password. I already have root ssh login turned off.
Thanks for providing the tip to copy the contents of the public
key right out of PuTTygen window.
Here's the output from my auth.log file for this login attempt:
Jul 10 14:00:58 redjohn sshd[3314]: Accepted publickey for mix
from xx.xx.xx.xx
port 55726 ssh2
Jul 10 14:00:58 redjohn sshd[3314]: pam_unix(sshd:session):
session opened for u
ser mix by (uid=0)
Re: Failed SSH Logins - Resolved - Not
Author: Red John
Date: Thu, 10 Jul 2014 23:02
Date: Thu, 10 Jul 2014 23:02
64 lines
3525 bytes
3525 bytes
On 7/10/2014 2:30 PM, Red John wrote:> On 7/10/2014 1:05 PM, John Kennerson wrote:> <snip> >>> It was necessary. SSH expects to find the key without line > breaks in >>> it. Generally speaking Notepad is pretty evil when it comes > to changing >>> things its not been asked to change. Wordpad is better and > comes as >>> standard on most Windows flavors. Best of all for your > purpose would be >>> pscp which is part of Putty. It copies files between > machines without >>> risk of changing them. >> >> I had this problem using Notepad, it somehow hosed the record. I >> think that one uses x0D and the other x0D0A for CR. When I used >> Wordpad, it put it out correctly. >> > > Success -- I created a new key pair and copied the public key > directly from Puttygen's window into Nano using Nano -w > authorized_keys and it was automatically pasted on one line. I > logged in via Putty and was prompted for the passhphrase that > was assigned to my private key. After entering my passphrase, I > was then logged in as the non root user. > > I am now going to create a new key for a second user and get > this configured. I will then turn off PAM authentication in > /etc/sshd_config and confirm that I cannot log in using my user > password. I already have root ssh login turned off. > > Thanks for providing the tip to copy the contents of the public > key right out of PuTTygen window. > > Here's the output from my auth.log file for this login attempt: > > Jul 10 14:00:58 redjohn sshd[3314]: Accepted publickey for mix > from xx.xx.xx.xx > port 55726 ssh2 > Jul 10 14:00:58 redjohn sshd[3314]: pam_unix(sshd:session): > session opened for u > ser mix by (uid=0) > I may have spoken too soon. I added another key pair for a second user and now I'm getting the same server error message that I was running into previously. My mix key pair login no longer works. I think what might help me out is to get a copy of someone's working sshd_config file... of course without any proprietary information removed. How does one manage this line when you have more than one user with authorized_keys? AuthorizedKeysFile %h/.ssh/authorized_keys If my 1st public key is in user1/.ssh/authorized_keys and a different public key is in user2/.ssh/authorized_keys how do I manage the AuthorizedKeysFile line in sshd_config? So close but yet so far.
Re: Failed SSH Logins - Resolved
Author: Red John
Date: Fri, 11 Jul 2014 00:11
Date: Fri, 11 Jul 2014 00:11
10 lines
1533 bytes
1533 bytes
On 7/10/2014 2:30 PM, Red John wrote:> On 7/10/2014 1:05 PM, John Kennerson wrote:> <snip> <big snip> I was able to find a "virgin" copy of sshd_config. Okay, now two users have been validated via key pair authentication. What I can't figure out is how to turn off password authentication. Any help would be appreciated.
Re: Failed SSH Logins - Resolved
Author: John Kennerson
Date: Fri, 11 Jul 2014 00:55
Date: Fri, 11 Jul 2014 00:55
11 lines
1052 bytes
1052 bytes
> On 7/10/2014 2:30 PM, Red John wrote:> On 7/10/2014 1:05 PM, > John Kennerson wrote:> <snip> > <big snip> > I was able to find a "virgin" copy of sshd_config. > Okay, now two users have been validated via key pair > authentication. What I can't figure out is how to turn off > password authentication. Any help would be appreciated. Doing an rm * on your server will do that.
Re: Failed SSH Logins - Resolved Finally
Author: Red John
Date: Fri, 11 Jul 2014 01:06
Date: Fri, 11 Jul 2014 01:06
28 lines
2088 bytes
2088 bytes
On 7/10/2014 2:30 PM, Red John wrote:> On 7/10/2014 1:05 PM, John Kennerson wrote:> <snip> > I am now going to create a new key for a second user and get > this configured. I will then turn off PAM authentication in > /etc/sshd_config and confirm that I cannot log in using my user > password. I already have root ssh login turned off. > > Thanks for providing the tip to copy the contents of the public > key right out of PuTTygen window. > > Here's the output from my auth.log file for this login attempt: > > Jul 10 14:00:58 redjohn sshd[3314]: Accepted publickey for mix > from xx.xx.xx.xx > port 55726 ssh2 > Jul 10 14:00:58 redjohn sshd[3314]: pam_unix(sshd:session): > session opened for u > ser mix by (uid=0) > I have configured two users with key pair authentication and have turned off password authentication by enabling the settings below. So life is good. Thanks to all for your assistance. ChallengeResponseAuthentication no PasswordAuthentication no UsePAM no
Re: Failed SSH Logins - Resolved
Author: Anonymous
Date: Fri, 11 Jul 2014 01:18
Date: Fri, 11 Jul 2014 01:18
26 lines
1890 bytes
1890 bytes
On Fri, 11 Jul 2014 01:11:08 +0100 (BST), Red John <redjohn@nym.mixmin.net> wrote: >On 7/10/2014 2:30 PM, Red John wrote:> On 7/10/2014 1:05 PM, >John Kennerson wrote:> <snip> ><big snip> > >I was able to find a "virgin" copy of sshd_config. > >Okay, now two users have been validated via key pair >authentication. What I can't figure out is how to turn off >password authentication. Any help would be appreciated. >From the sshd_config man page: PasswordAuthentication Specifies whether password authentication is allowed. The default is ``yes''. So you would set: PasswordAuthentication no
Re: Failed SSH Logins - Resolved - Not
Author: Anonymous
Date: Fri, 11 Jul 2014 01:27
Date: Fri, 11 Jul 2014 01:27
22 lines
1930 bytes
1930 bytes
On Fri, 11 Jul 2014 00:02:39 +0100 (BST), Red John <redjohn@nym.mixmin.net> wrote: >How does one manage this line when you have more than one user >with authorized_keys? > >AuthorizedKeysFile %h/.ssh/authorized_keys This was explained previously. %h is an OpenSSH variable understood to be the connecting user's home directory. It covers all users and points to each user's home directory when they attempt to connect via ssh. So, for example, when usera connects via ssh %h is set to /home/usera and the key is sought in /home/usera/.ssh/authorized_keys When userb connects, %h is set to /home/userb and the key is sought in /home/userb/.ssh/authorized_keys
Re: Failed SSH Logins - Resolved - Not
Author: elvis-85503
Date: Fri, 11 Jul 2014 01:47
Date: Fri, 11 Jul 2014 01:47
10 lines
1534 bytes
1534 bytes
> How does one manage this line when you have more than one user > with authorized_keys? > > AuthorizedKeysFile %h/.ssh/authorized_keys > > If my 1st public key is in user1/.ssh/authorized_keys and a > different public key is in user2/.ssh/authorized_keys how do I > manage the AuthorizedKeysFile line in sshd_config? Leave it commented out for default behaviour.
Re: Failed SSH Logins - Resolved Finally
Author: Red John
Date: Fri, 11 Jul 2014 02:10
Date: Fri, 11 Jul 2014 02:10
18 lines
1700 bytes
1700 bytes
On 7/10/2014 6:06 PM, Red John wrote:> On 7/10/2014 2:30 PM, Red John wrote:> On 7/10/2014 1:05 PM, > > I have configured two users with key pair authentication and > have turned off password authentication by enabling the settings > below. So life is good. Thanks to all for your assistance. > > ChallengeResponseAuthentication no > PasswordAuthentication no > UsePAM no > Here's a PDF link on what I had to do to get things working. I hope this helps someone else. https://dl.dropboxusercontent.com/u/5659406/SSH%20Key%20Authenti cation.pdf
Re: Failed SSH Logins
Author: Dave U. Random
Date: Sat, 12 Jul 2014 12:11
Date: Sat, 12 Jul 2014 12:11
22 lines
1621 bytes
1621 bytes
> In article <8e5a7659e322990520a6e78d9ad285e6@dizum.com> > Nomen Nescio <nobody@dizum.com> wrote: > On Wed, 9 Jul 2014 00:08:11 +0100 (BST), Red John > <redjohn@nym.mixmin.net> wrote: > Should I just ignore this traffic, due to the fact that > root access login is not permitted or should I continue to add > these offenders to my iptables file? > Ignore it. You'll grow tired of building an ever-growing IP tables > ruleset. > You shouldn't be getting all that many hits that it would be too > difficult to keep up with manual banning. > Over the 4-5th of July, a miscreant from China grew a 45MB log > file hacking at one of my FTP servers. I would think that log rotation would prevent this.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads