Tuesday, May 7, 2024
 Popular · Latest · Hot · Upcoming
33
rated 0 times [  33] [ 0]  / answers: 1 / hits: 84382  / 3 Years ago, mon, august 16, 2021, 6:54:20

I need to access the IEEE xplore, but I don't have right to download out of institute.



I can login into the server of institute via ssh,



so How can I access IEEE xplore through institute server via ssh?



I have searched solutions, some one answer:



ssh -L 8080:localhost:80 user@remoteserver


and then he says:



Now, point your local browser to localhost:8080. It should be forwarded to localhost:80 in the remote server.###
But I still don't know how to configure my laptop,Im using chrome.



I appreciate your help very much!


More From » ssh

 Answers
7

First Method:



Launch an SSH tunnel



To initiate your SSH tunnel, simply open terminal and connect to your remote server via SSH with the following flags:



ssh -D 8080 -C -N [email protected]


Browse the Web with Your SSH Tunnel (Chrome)



Now, let’s start browsing the web using our new SSH tunnel.




  • Open Google Chrome

  • Select the wrench icon on the top right

  • Select ‘Settings’

  • Select ‘Show advanced settings…’

  • Select ‘Change proxy settings…’

  • Select ‘SOCKS Proxy’

  • Enter ’127.0.0.1′

  • Enter port ’8080′

  • Save changes by selecting ‘OK’



Search Google for ‘my ip’ and take a look at what your IP address is now.



This will launch our SSH tunnel on port 8080 and route all traffic (securely) through the server at example.com.



Exiting the SSH Tunnel



To exit the SSH tunnel, simply disable the SOCKS proxy within your browser.



source



Second Method:



You can do it easily using Shellinabox



Ensure that you have checked Universe Repository



To install



 $ sudo apt-get install openssl shellinabox


Configuring Shellinabox



By default, shellinaboxd listens on TCP port 4200 on localhost.During installation a new self-signed SSL certificate automatically created under “/var/lib/shellinabox” to use HTTPS protocol.



$ sudo vi /etc/default/shellinabox

# specify the IP address of a destination SSH server
SHELLINABOX_ARGS="--o-beep -s /:SSH:172.16.25.125"

# if you want to restrict access to shellinaboxd from localhost only
SHELLINABOX_ARGS="--o-beep -s /:SSH:172.16.25.125 --localhost-only"


NB: replace the ip 172.16.25.125 with yours



Starting Shellinabox



Once you’ve done with the configuration, you can start the service



$ sudo service shellinaboxd start


Verify Shellinabox



Now let’s verify whether Shellinabox is running on port 4200 using “netstat” command.



$ sudo netstat -nap | grep shellinabox
or
# netstat -nap | grep shellinabox

tcp 0 0 0.0.0.0:4200 0.0.0.0:* LISTEN 12274/shellinaboxd


Now open up your web browser, and navigate to 'https://"Your-IP-Adress:6175"'. You should be able to see a web-based SSH terminal. Login using your username and password and you should be presented with your shell prompt.



enter image description here



source


[#27150] Tuesday, August 17, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
doredtness

Total Points: 153
Total Questions: 113
Total Answers: 106

Location: South Georgia
Member since Fri, Nov 13, 2020
4 Years ago
doredtness questions
Tue, Aug 2, 22, 15:45, 2 Years ago
Sat, May 21, 22, 05:26, 2 Years ago
Wed, Aug 24, 22, 11:09, 2 Years ago
;