On 31/08/2012 14:00, Alejandro López wrote:
Hi,

In /etc/ssh/sshd_config**you can configure the port on which sshd will listen. Look for the Port keyword.

HTH,
Alejandro.

On Fri, Aug 31, 2012 at 1:41 PM, Anne Wilson <[email protected] <mailto:[email protected]>> wrote:

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    I need to set up ssh in such a way that it comes in on a high port,
    say 5122 which is forwarded to 22 - or otherwise to have ssh listen on
    5122.  I assume this is beyond MCC, and will entail editing iptables.
     This is not something I'm familiar with.  Can someone please
    advise me?

    Anne
    - --
    Need KDE help? Try
    http://userbase.kde.org or
    http://forum.kde.org
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.12 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

    iEYEARECAAYFAlBAotgACgkQj93fyh4cnBdvGQCfVekp2kR9mF1CRdKmTbFeGcce
    5U8An3o2acASf0DHzLLMvl9EHLyiHuD5
    =fGe5
    -----END PGP SIGNATURE-----



Make sure the port you want to use is not in use. Once you have set the port you want, save the config and run this command to restart the ssh server: /etc/init.d/sshd restart

Regards,
Rory Albertyn
Gripen

Reply via email to