Re: How do I change the terminal access SSH port?

From: Paul Hink (email_at_p-hink.de)
Date: 03/03/04


Date: 3 Mar 2004 17:23:57 GMT

Aienthiwan <aienthiwan@mountaincable.net> wrote:

> Currently one can gain remote terminal access into my debian Linux
> server using SSH via the default port 22. I would like to change this
> to another port (but only for terminal access), lets say, 2222 - so
> my users need to set that parameter in their putTY settings on
> windows.
>
> Could anyone provide the steps for this, which config files to edit,
> or a linux HOWTO?

You need to edit /etc/ssh/sshd_config and add a 'Port' statement.
Details about the sshd configuration file can be found in
sshd_config(5) (`man sshd_config`).

Paul



Relevant Pages

  • Re: ipfw and nmap
    ... > even be correct but I have a bsd box that is simply providing me SSH ... add allow tcp from any to me 22 setup in via fxp0 keep-state ... Note too that there is nothing to prevent port scanners simply setting ... the 'SYN' flag in the probe packets they send to your server. ...
    (freebsd-questions)
  • Re: Remote Desktop directly to another computer on the network
    ... default port... ... And there is no reason for me to believe that ssh ... When I have a multibillion company I will use the key pair, ... WinSCP for that to access my home SSH server. ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: need help for setting SSH Server for Windows XP
    ... In my windows firewall proper ports are opened. ... Changing from port 22 to ports 80, 443 also doesn't give any results. ... static LAN IP of the server PC. ... It is *NOT* a valid test to call the SSH server PC from another ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: Port Forwarding -- Checking to be sure I understand it
    ... They run an ssh ... server and VNC service. ... If you want to run the tunnel over some port other than 22 (the ... restrictive firewalls that deny all incoming connections and block most ...
    (comp.security.ssh)
  • Re: Which shell / terminaltype for SSH Tectia for Windows?
    ... My remote Windows2003 server runs SSH Tectia 4.05 Server. ... That's the SMTP port, for email, not the port for SSH. ... the output from vim is not shown to me, ...
    (comp.security.ssh)

Quantcast