Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Mar 2005 13:54:10 +0000
From:      Daniel Bye <freebsd-questions@slightlystrange.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: sshd
Message-ID:  <20050302135409.GA98282@catflap.slightlystrange.org>
In-Reply-To: <20050302142929.U24624@mail.rot-1.de>
References:  <20050302075507.P23359@mail.rot-1.de> <20050302074659.GA22958@mccme.ru> <741ae773f75538beb9773fdba82dabb7@secure-computing.net> <20050302142929.U24624@mail.rot-1.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--EeQfGwPcQSOJBaQU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Mar 02, 2005 at 02:31:16PM +0100, Stevan Tiefert wrote:
> Hello Eric,
>=20
> that meens also to change the port at the ssh-client with "ssh -p ??",
> isn't it?

Alternatively, you can set up a Host section in your ~/.ssh/config file:

Host myhost
  Hostname FQDN.for.myhost
  Port 1221

Obviously, you would need to set this up on each client host you connect
from.

You can then just invoke ssh in the normal manner - it will pick up your
settings each time for you.

Dan

--=20
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
                                                                     _
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \

--EeQfGwPcQSOJBaQU
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCJcWBhvzwOpChvo8RAlC6AJ9/H98y3y6Dcem5ggLRK7akC2QWZgCbBd6R
j/LFyvS/LgvtCrQIRUN3rSo=
=b17Y
-----END PGP SIGNATURE-----

--EeQfGwPcQSOJBaQU--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050302135409.GA98282>