A
A
Alexander2017-01-19 13:11:22
linux
Alexander, 2017-01-19 13:11:22

Can I access a page/website by IP or domain via SSH terminal?

Connected to the server via SSH (Putty). Is it possible to somehow go to a third-party site, but from the server to which I am connected via Putty? It is necessary to check what answer this third-party site gives when accessing it from my server (because of the IP so).
Not familiar with Linux commands)

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Andrey Nikolaev, 2017-01-19
@sanok_ps

If you need headers, then:
curl -X HEAD -i http://www.google.com

V
Vladimir, 2017-01-19
@Casufi

if I understand the question correctly
https://putty.org.ru/articles/putty-ssh-tunnels.html

A
Alexander Shelemetiev, 2017-01-19
@zoroda

You can create an ssh tunnel .
See example about

ssh -f -N -R 2080:10.11.12.14:80 [email protected]

Instead of 10.11.12.14 - the address of a third-party site. From the browser, you will need to go to localhost:2080
It seems that putty has a corresponding tab. But I don't know how to use it.

J
Janus74, 2017-01-19
@Janus74

text browser you can try

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question