From: cldavis@speakeasy.net
To: netfilter@lists.netfilter.org
Cc: Fajar Priyanto <fajarpri@arinet.org>
Subject: Re: I thought ssh is port #22 ?!!
Date: Thu, 01 Apr 2004 02:10:15 +0000 [thread overview]
Message-ID: <W848572655827551080785415@webmail1> (raw)
You should edit sshd_config with the port command and set it to 22. If the directive is not present, I've had some versions of ssh listen on everything, others only 22.
You may also want to use the PermitRootLogin no directive to disable root logins and use a regular user account to log in and then su to root if need be.
As far as the firewall, you may want to setup your firewall to drop all packets except packets sent to needed services.
Hope that helps
Chris
> -----Original Message-----
> From: Fajar Priyanto [mailto:fajarpri@arinet.org]
> Sent: Thursday, April 1, 2004 01:32 AM
> To: netfilter@lists.netfilter.org
> Subject: I thought ssh is port #22 ?!!
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi guys,
> I'm not really sure about this. I thought ssh is made in port #22?
> When I made a ssh session into my server, /var/log/messages showed this:
> Apr 1 09:20:20 server2 sshd[2711]: Accepted password for root from
> 192.168.0.234 port 32873 ssh2
>
> Why did it use port #32873?
> Is there something wrong with my ssh or firewall?
> TIA,
> - --
> Fajar Priyanto | Reg'd Linux User #327841 | http://linux.arinet.org
> 08:31:42 up 36 min, Mandrake Linux release 9.2 (FiveStar) for i586
> public key: https://www.arinet.org/fajar-pub.key
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
>
> iD8DBQFAa3EYkp5CsIXuxqURAluBAKCNiyg8+KXYDu/JuZghSVMXvfrjMgCdG7O2
> Bb4SQcbOiAqALl1o9yQ5H1k=
> =4uUZ
> -----END PGP SIGNATURE-----
>
>
>
next reply other threads:[~2004-04-01 2:10 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-01 2:10 cldavis [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-04-01 20:22 I thought ssh is port #22 ?!! T. Horsnell (tsh)
2004-04-01 20:39 ` Antony Stone
2004-04-01 19:41 Daniel Chemko
2004-04-01 19:55 ` Antony Stone
2004-04-01 17:20 Daniel Chemko
2004-04-01 18:27 ` Tony Earnshaw
2004-04-01 21:27 ` Cedric Blancher
2004-04-01 21:38 ` Antony Stone
2004-04-01 15:14 Martinez, Michael
2004-04-01 15:28 ` Antony Stone
2004-04-01 1:32 Fajar Priyanto
2004-04-01 1:57 ` Daniel Chemko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=W848572655827551080785415@webmail1 \
--to=cldavis@speakeasy.net \
--cc=fajarpri@arinet.org \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.