About 2,080,000 results
Open links in new tab
  1. How to run the SSH server on a port other than 22 - Ask Ubuntu

    Mar 14, 2012 · However, I want to also forward port 26 to computer B, and SSH from outside the network by using the external IP for both, but specifying either port 22 or 26, to effectively …

  2. server - How to connect to a certain port on SSH - Ask Ubuntu

    Jan 16, 2019 · Closed 6 years ago. So, I am setting up an ssh server. I have installed the ssh-server program on my server. However, I didn't want to connect to it through port 22, because …

  3. How to change the SSH server port on Ubuntu?

    May 18, 2024 · I have changed the SSH server config file /etc/ssh/sshd_config: Port 2222 Then I restarted the SSH server service: systemctl restart ssh.service. However, the SSH server is …

  4. What are valid ports to use for SSH? - Server Fault

    I'd like to update my server to change the SSH port from something other than 22 so there are fewer hits for unauthorized access. (This is not my primary security measure. Just an …

  5. ssh -L forward multiple ports - Stack Overflow

    Apr 29, 2015 · I'm currently running a bunch of: sudo ssh -L PORT:IP:PORT root@IP where IP is the target of a secured machine, and PORT represents the ports I'm forwarding. This is …

  6. How to fix "ssh: connect to host github.com port 22: Connection …

    Host github.com Hostname ssh.github.com Port 443 Then, run the command ssh -T [email protected] to confirm if the issue is fixed. According to this Sometimes, firewalls refuse to …

  7. 24.04 - SSH connection refused - Ask Ubuntu

    Nov 16, 2024 · For security reason, we change the default SSH port (f.e. 5643). Since Ubuntu 24.04 uses ssh.socket, we found out that we have to do something like this to change the port: …

  8. containers - How to SSH into Docker? - Stack Overflow

    Jan 25, 2015 · Then, if ports 52022 and 53022 of host's are accessible from outside, you can directly ssh to the containers using the ip of the host (Remote Server) specifying the port in …

  9. SSH default port not changing (Ubuntu 22.10 and later)

    Nov 7, 2022 · I am on Ubuntu 22.10 and I cannot change SSH default port. I have tried the following: Edited /etc/ssh/sshd_config, left the default #Port 22 line but added Port 1234 below …

  10. How to forward an ssh port in vscode without the "ssh window"

    Nov 9, 2022 · After the SSH connection is configured, this is done by adding the port to the ports tab as shown below: An alternative, described in the Remote - SSH docs, is to add the port to …