Gentoo Archives: gentoo-user

From: Jesper Fruergaard Andersen <gentoo@×××.dk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] OpenSSH security
Date: Wed, 08 Nov 2006 04:10:41
Message-Id: 200611081156.37321.gentoo@j-f.dk
In Reply to: Re: [gentoo-user] OpenSSH security by Mick
1 On Wednesday 08 November 2006 05:52, Mick wrote:
2 > I use this as it is trivial to edit the sshd port No on
3 > /etc/ssh/sshd_config and /etc/ssh/ssh_config on the client. However,
4 > you need to change the ssh client port back to 22 (or specify it on the
5 > command line) next time you connect to a production server.
6
7 I use different ports for sshd on all my server. You can just add them to
8 ~/.ssh/config once. It work like /etc/ssh/ssh_config. You can add per
9 host settings by doing something like this:
10 ----
11 Host <<Hostname>>
12 Port <<Port>>
13 ----
14
15 read:
16 $ man 5 ssh_config
17
18 --
19 Jesper
20 11:47:46 up 1 day, 3:59, 5 users, load average: 0.51, 0.66, 0.60
21 --
22 gentoo-user@g.o mailing list