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

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

  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. How to generate rsa-sha2-256 keys using ssh-keygen utility?

    Feb 17, 2023 · I want to generate rsa-sha2-256 ssh key pair using ssh-keygen utility. Can you please share the command for the same? For ssh-rsa, it's ssh-keygen -t rsa

  6. How to automate starting the ssh agent and adding my key (s) in WSL2 ...

    Sep 15, 2023 · I often connect to a remote server through ssh key authentication. You don't necessarily mention how you are connecting, but if it's with the stock ssh command, then you can simply specify …

  7. ssh - Remove key from known_hosts - Super User

    In the .ssh/known_hosts file, however, I don't find the record related to the IP, only two bizarre, key-like strings and "ssh-rsa". Does anyone have any ideas about how to remove the old key from …

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

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