Tag Info

Hot answers tagged

1

ssh -L 5902:localhost:5902 user@host Where first 5902 is local port of the client, localhost is the server and second 5902 is the servers port which is vnc port. Then users(clients) can use vns from their local 5902


1

I'm pretty sure that the 2 connections in TIME_WAIT are from the server end of the connection, and if the servers are running as root, that makes sense. Note that the -L option doesn't create the actual tunnel, just the tunnel functionality. The act of connecting to the input IP/Port is what causes SSH to actually create the tunnel to the destination ...


1

You are using various ways to create log output, but do not mention the most important ones: The command ssh itself has a "verbose" option -v. And more interesting, it also has a "verry verbose" option -vv. Oh, and "verry verry verbose", -vvv, which may actually be too verbose! Does it give more insight to run ssh with options -v, -vv, or -vvv? Showing ...


1

If what you're trying to do is using your remote SSH server as a SOCKS proxy for your browser, the ssh command you're looking for is: ssh -N -D8080 <remote-sshd-machine> This will start a SOCKSv4/5 proxy on localhost TCP port 8080, which allow you to browse any website with the IP address of the remote SSH server. If, however, you are trying to ...


1

I believe you're getting confused by how SSH performs the proxying of the X11 connection via the tunnel it's established on the remote server side with how magic cookies typically works. From the SSH man page: excerpt The DISPLAY value set by ssh will point to the server machine, but with a display number greater than zero. This is normal, and happens ...



Only top voted, non community-wiki answers of a minimum length are eligible