About 50 results
Open links in new tab
  1. Why am I getting “Connection closed by [preauth]” with SSH on Ubuntu?

    Oct 18, 2022 · I have Ubuntu running on Windows (app) where I have created SSH key pair and added to Ubuntu server (Cloud) for the user. Whenever I try to SSH from Ubuntu sandbox (Windows) to …

  2. How to force ssh to use a specific private key? - Super User

    Mar 19, 2025 · With ssh -i <private key filename> you can instruct ssh to use an extra private key to try authentication. The documentation is not clear on how to explicitly use only that key.

  3. linux - SSH Port forwarding - Super User

    This machine is refered to by "remote". Local port forwarding with ssh means you connect from your client to your server and thereby open a tunnel so that another program on your client can connect …

  4. Trying to better understand SSH -n -N -f flags - Super User

    Nov 12, 2023 · The -f or -n options are backgrounding the ssh client to which they are given, ie. on your local laptop. (Option -f implies -n, so you actually only need one of the two.) Backgrounding is done …

  5. tcp - What does SSH use UDP for? - Super User

    The SSH protocol uses or has used 22/UDP for tunneling control through TCP. If decoded properly via Wireshark and you are tunneling a connection through via either ssh-agent or tunneling remotely or …

  6. ssh - How to tell git which private key to use? - Super User

    ssh has the -i option to tell which private key file to use when authenticating: -i identity_file Selects a file from which the identity (private key) for RSA or DSA authentication is read. The default is …

  7. ssh - How to tunnel a local port onto a remote server - Super User

    ssh -R 8080:localhost:80 -N username@your-server.dyndns.org This will open a listening socket on port 8080 of your-server.dyndns.org, and any connections that are made onto your …

  8. linux - ssh keys ssh-agent bash and ssh-add - Super User

    Sep 26, 2016 · I am new to ssh keys. Can anyone explain how the ssh-agent bash and ssh-add works? I need to understand its internals in future.

  9. Location of OpenSSH configuration file on Windows - Super User

    Apr 1, 2020 · How do I set the host name and port in a config file for Windows, using OpenSSH through PowerShell? As on Unix/Linux: Edit or create the file now by typing: nano ~/.ssh/config In here,...

  10. What exactly does ssh-add do? - Super User

    ssh does use the key in the ~/.ssh directory, but if the key is protected by a passphrase, this passphrase must be entered at some point. If you use ssh-agent and ssh-add, you type this passphrase once.