Re: [CentOS] run firefox via an ssh tunnel

2020-11-12 Thread Jonathan Billings
On Thu, Nov 12, 2020 at 03:21:02PM -0500, Jonathan Billings wrote: > yum --setopt='proxy=socks5://localhost:8000' update It occurs to me that my private networks have working DNS, so if yours doesn't, you should use: yum --setopt='proxy=socks5h://localhost:8000' update (note the extra

Re: [CentOS] run firefox via an ssh tunnel

2020-11-12 Thread Jonathan Billings
On Thu, Nov 12, 2020 at 03:21:02PM -0500, Jonathan Billings wrote: > What part? For the first part, either define 'DynamicForward 8000' in > a Host section in ~/.ssh/config, or run 'ssh -D 8000 hostname' to set > it with command line options. Then just set your SOCKS5 proxy > settings in Firefox

Re: [CentOS] run firefox via an ssh tunnel

2020-11-12 Thread Jonathan Billings
On Thu, Nov 12, 2020 at 10:02:57AM -0700, S Bob wrote: > On 11/12/20 7:50 AM, Jonathan Billings wrote: > > If this is actually something you want to do with regularity, I > > suggest using the SSH SOCKS proxy (with the DynamicForward port), and > > configure Firefox to use the localhost:port as a

Re: [CentOS] run firefox via an ssh tunnel

2020-11-12 Thread S Bob
On 11/12/20 7:50 AM, Jonathan Billings wrote: On Thu, Nov 12, 2020 at 12:56:15PM +, Bernstein, Noam CIV USN NRL (6393) Washington DC (USA) via CentOS wrote: If the point is to access a specific web site only the remote machine can get to, you can also do it with port forwarding: ssh -L

Re: [CentOS] run firefox via an ssh tunnel

2020-11-12 Thread Jonathan Billings
On Thu, Nov 12, 2020 at 12:56:15PM +, Bernstein, Noam CIV USN NRL (6393) Washington DC (USA) via CentOS wrote: > > If the point is to access a specific web site only the remote > machine can get to, you can also do it with port forwarding: > ssh -L

Re: [CentOS] run firefox via an ssh tunnel

2020-11-12 Thread Leon Fauster via CentOS
Am 12.11.20 um 13:56 schrieb Bernstein, Noam CIV USN NRL (6393) Washington DC (USA) via CentOS: If the point is to access a specific web site only the remote machine can get to, you can also do it with port forwarding: ssh -L 8000:ip_of_web_site_to_access_from_remote:443 remote_machine and then

Re: [CentOS] run firefox via an ssh tunnel

2020-11-12 Thread Bernstein, Noam CIV USN NRL (6393) Washington DC (USA) via CentOS
If the point is to access a specific web site only the remote machine can get to, you can also do it with port forwarding: ssh -L 8000:ip_of_web_site_to_access_from_remote:443 remote_machine and then locally run any browser, and access https://localhost:443 (assuming it's https. If it's plain

Re: [CentOS] run firefox via an ssh tunnel

2020-11-11 Thread R C
yeah ..  it would need to run X11 On 11/11/20 4:04 PM, Stephen John Smoogen wrote: On Wed, 11 Nov 2020 at 17:45, R C wrote: I do it all the time. make sure you forward X11, on the ssh server side, and login with ssh -X me@myhost.whatever start firefox with: /usr/bin/firefox -no-remote

Re: [CentOS] run firefox via an ssh tunnel

2020-11-11 Thread Stephen John Smoogen
On Wed, 11 Nov 2020 at 17:45, R C wrote: > I do it all the time. > > > make sure you forward X11, on the ssh server side, and login with > ssh -X me@myhost.whatever > > start firefox with: > > /usr/bin/firefox -no-remoteif you don't want the remote pages ending > up in your local browser

Re: [CentOS] run firefox via an ssh tunnel

2020-11-11 Thread R C
you can't run it?  or can't find it? if it doesn't want to run, it probably is because you're not forwarding X11 in your server,  in this case your mac. the ssh server nees to do/allow that what about executing it remotely : ssh -X myuser@theremote-mac "open -a Firefox"  ? if that

Re: [CentOS] run firefox via an ssh tunnel

2020-11-11 Thread S Bob
I can ssh -X myuser@theremote-mac but I cannot run /usr/bin/firefox. I can run "open -a Firefox" on the mac but then it just opens firefox on the mac Thoughts? On 11/11/20 3:45 PM, R C wrote: I do it all the time. make sure you forward X11,  on the  ssh server side,  and login with 

Re: [CentOS] run firefox via an ssh tunnel

2020-11-11 Thread R C
I do it all the time. make sure you forward X11,  on the  ssh server side,  and login with  ssh -X me@myhost.whatever start firefox with: /usr/bin/firefox -no-remote    if you don't want the remote pages ending up in your local browser or if you don't care, just run firefox without

[CentOS] run firefox via an ssh tunnel

2020-11-11 Thread S Bob
Hi all; I'm trying to setup an ssh tunnel so I can run firefox on a remote laptop and have the display locally. I have 2 laptops local = CentOS 7 remote = mac OSX 10.15.7 I want to create an ssh tunnel on the local CentOS 7 laptop, then run firefox on the mac with the display showing