I want to download a pdf file which is hidden inside of website. In my home, I can not access the pdf file but if I connect to school network, I can access the the document.
The thing I want to do is that I will connect to the school server via ssh and download the file. Any ideas?
Attempt 1 (on Server)
$ wget https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.45.963
--2020-08-26 14:30:23-- https://journals.aps.org/prl/pdf/10.1103/PhysRevLett.45.963
Resolving journals.aps.org (journals.aps.org)... 34.237.199.134, 23.22.209.44, 52.3.158.173, ...
Connecting to journals.aps.org (journals.aps.org)|34.237.199.134|:443...
Freeze
Attempt 2 (on Server)
$ firefox https://journals.aps.org/prl/pdf/10.1103/PhysRevLett.45.963
Failed to open connection to "session" message bus: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
Running without a11y support!
Error: no DISPLAY environment variable specified
Attempt 3 (on local)
$ ssh -g -f -N -D 22 ...@...
bind [::]:22: Permission denied
channel_setup_fwd_listener_tcpip: cannot listen to port: 22
Could not request local forwarding.