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

  2. SSH- "Unable to negotiate ... no matching host key type found."

    Nov 27, 2022 · I have a shell server on an embedded system (It's a 32Bit ARMel system). When I go to login to it, I use: $ ssh root@ip Unable to negotiate with ip port 22: no matching host key type found. …

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

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

    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 option that I can use to …

  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 -L forward multiple ports - Stack Overflow

    Apr 29, 2015 · I'm currently running a bunch of: sudo ssh -L PORT:IP:PORT root@IP where IP is the target of a secured machine, and PORT represents the ports I'm forwarding. This is because I use a …

  7. SSH: Connection closed by remote server - Stack Overflow

    I am trying to ssh login to my remote server. But whenever i try to login through terminal using ssh command: ssh root@{ip_address} I get error: Connection closed by {ip_address} I checked hosts

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

  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. How does ssh -X function? - Unix & Linux Stack Exchange

    Aug 17, 2010 · When using ssh -X is the executable copied and run locally or is it run on the host machine. Since it is called X11 forwarding it makes me think that the window is drawn on my …