About 50 results
Open links in new tab
  1. 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 …

  2. linux - Why am I getting “Connection closed by [preauth]” with SSH on ...

    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 …

  3. 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.

  4. How to specify password in ssh command - Super User

    Nov 26, 2020 · From the terminal I type: ssh user@ip and then it prompts for a password. Is there a way to specify the password in the ssh command itself?

  5. 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 …

  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. openssh - SSH connection reset on Windows - Super User

    Apr 17, 2023 · I'm struggling to setup the OpenSSH on my Windows system. I tried to follow both a system installation (like this) and a manual installation from the binaries. I copied the OpenSSH files …

  8. Alternative to ssh-copy-id on windows - Super User

    Oct 14, 2022 · I want to copy an SSH public key to a remote device on Windows. I'm not using PuTTYgen rather just OpenSSH through PowerShell. I ran ssh-keygen -t rsa And it gave me a public …

  9. git - SSH - How to add host to ssh/known_host file - Super User

    Dec 4, 2018 · To automatically add a key for a new host, just SSH to it. To manually add a key for a new host, 1) open the known_hosts file in your text editor and 2) add the key for a new host, following the …

  10. An SSH tunnel via multiple hops - Super User

    Tunneling data over SSH is pretty straight-forward: ssh -D9999 [email protected] sets up port 9999 on your localhost as a tunnel to example.com, but I have a more specific need: I am working lo...