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

  2. What is the difference between ssh proxycommand -W, nc, exec nc

    Apr 6, 2015 · ProxyCommand ssh proxyserver nc -q0 %h %p 2> /dev/null Before the -W option was available, we used the nc (or netcat) utility. nc allows you to forward TCP & UDP packets to specified …

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

    I have a machine running Ubuntu which I SSH to from my Fedora 14 machine. I want to forward X from the Ubuntu machine back to Fedora so I can run graphical programs remotely. Both machines are on …

  4. port forwarding - Differences between ssh -L to -D - Super User

    Apr 3, 2012 · I'm trying to understand the differences between ssh -L to -D. Is there anything else except for that -D is SOCKS only? Thanks!

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

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

  7. terminal - Why use -T with ssh - Stack Overflow

    To test ssh I read you need to use something like ssh -T [email protected]: According to man ssh: -T Disable pseudo-terminal allocation. -t Force pseudo-terminal allocation. This can be

  8. 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 then

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

  10. Can someone explain SSH tunnel in a simple way?

    Basically, a SSH Tunnel is a tunnel that can be used to pass (tunnel) data from one place to another, encrypted. It is also commonly used to route traffic (via a tunnel, think wormhole) to somewhere else, …