public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Jesper Fruergaard Andersen <gentoo@j-f.dk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] OpenSSH security
Date: Wed, 8 Nov 2006 11:56:37 +0800	[thread overview]
Message-ID: <200611081156.37321.gentoo@j-f.dk> (raw)
In-Reply-To: <200611072152.44359.michaelkintzios@gmail.com>

On Wednesday 08 November 2006 05:52, Mick wrote:
> I use this as it is trivial to edit the sshd port No on
> /etc/ssh/sshd_config and /etc/ssh/ssh_config on the client.  However,
> you need to change the ssh client port back to 22 (or specify it on the
> command line) next time you connect to a production server.

I use different ports for sshd on all my server. You can just add them to 
~/.ssh/config once. It work like /etc/ssh/ssh_config. You can add per 
host settings by doing something like this:
----
Host <<Hostname>>
Port <<Port>>
----

read:
$ man 5 ssh_config

-- 
Jesper
 11:47:46 up 1 day,  3:59,  5 users,  load average: 0.51, 0.66, 0.60
-- 
gentoo-user@gentoo.org mailing list



      reply	other threads:[~2006-11-08  4:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-07 19:51 [gentoo-user] OpenSSH security James Colby
2006-11-07 19:55 ` fire-eyes
2006-11-07 20:04   ` Brian Davis
2006-11-07 21:40     ` Pavel Sanda
2006-11-07 21:44       ` fire-eyes
2006-11-07 22:13         ` Mick
2006-11-07 21:52     ` Mick
2006-11-08  3:56       ` Jesper Fruergaard Andersen [this message]

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=200611081156.37321.gentoo@j-f.dk \
    --to=gentoo@j-f.dk \
    --cc=gentoo-user@lists.gentoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox