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

  2. How do I change the allowed host key algorithms for SSH?

    May 22, 2020 · What is interesting there is the line: Skipping ssh-dss key /root/.ssh/id_dsa - not in PubkeyAcceptedKeyTypes. This variable sounds like what I am looking for, but it is not …

  3. What is the difference between /etc/ssh/ and ~/.ssh?

    Apr 23, 2018 · When you connect to an SSH server, you identify yourself to the server (using either your login and password, or a key), and the server identifies itself to you, using its host …

  4. How to forward X over SSH to run graphics applications remotely?

    If you run ssh and DISPLAY is not set, it means ssh is not forwarding the X11 connection. To confirm that ssh is forwarding X11, check for a line containing Requesting X11 forwarding in …

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

    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 Server 1?

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

    Jan 2, 2018 · 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 …

  7. MySQL connection over SSH tunnel - Stack Overflow

    For example: SSH host at ssh.example.com MySQL host at mysql1.example.com I have managed to create the tunnel using autossh (web server running Debian), but I can't seem to …

  8. unix - .ssh directory not being created - Stack Overflow

    To fix your problem, you can either ssh to some other location: ssh [email protected] and accept new key - it will create directory ~/.ssh and known_hosts underneath, or simply create it …

  9. Run ssh and immediately execute command - Stack Overflow

    I'm trying to find UNIX or bash command to run a command after connecting to an ssh server. For example: ssh name@ip "tmux list-sessions" The above code works, it lists the sessions, but it …

  10. What is the proper way to sudo over SSH? - Stack Overflow

    Sep 12, 2023 · The best way is ssh -t user@server "sudo <scriptname>", for example ssh -t user@server "sudo reboot". It will prompt for password for user first and then root (since we …