About 2,470,000 results
Open links in new tab
  1. linux - ssh script returns 255 error - Stack Overflow

    Mar 18, 2016 · ssh: connect to host HOSTNAME port 22: Connection refused Check-list: What happens if you run the ssh command directly from the command line? Are you able to ping …

  2. How to access `/.ssh` directory in windows? - Stack Overflow

    Jun 28, 2022 · In my case, ssh-keygen generated the keys inside the current directory, not into the path it claimed to generate them in. I was also following these instructions and was quite …

  3. openssh - How to ssh to remote server using a private key? - Unix ...

    Oct 25, 2011 · However, I would be creating a bash script from server 1 that will execute some commands on server 2 via SSH. How do I SSH to Server 2 using my private key file from …

  4. ssh tunneling - How do I use the ssh -i option to specify a ssh …

    Jan 2, 2018 · 6 I need to connect to a SSH proxy server using a ssh keypair that I created specifically for it (not my default id_rsa keypair). I see from the ssh manual that there is a -i …

  5. How to modify ~/.ssh folder & files in windows? - Stack Overflow

    Apr 14, 2014 · So how do I get the same functionality of the ~/.ssh folder in windows so I can update/add/modify ssh settings and use it to automatically connect to remote hosts that have …

  6. How do I force SSH to use password instead of key?

    Nov 17, 2018 · The ssh command will attempt all ssh keys before asking for a password as one can see when using the -v flag. Anyway, after playing enough with SSH, I figured that you can …

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

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

    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.

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

    So I tried using an SSH connection made over the HTTPS port by editing the config file ~/.ssh/config but to no avail. Host github.com Hostname ssh.github.com Port 443 Finally, I …

  10. ssh: connect to host port 22: Connection timed out

    Feb 16, 2022 · After installing git on my new work computer, generating my ssh key and adding it on gitlab, I'm trying to clone a project but I get the following error: ssh: connect to host <private …