image1 image2 image3

HELLO I'M FERNANDO|WELCOME TO MY PERSONAL BLOG|I LOVE TO DO CREATIVE THINGS|I'M PROFESSIONAL DEVELOPER

How access a remote machine via SSH behind a proxy?

If we want to access external server via SSH, it is possible that if we are behind a proxy we will not have access to port 22 used by SSH. As root, edit the file sshd_config:

sudo nano /etc/ssh/sshd_config

Edit the line which states 'Port 22' and changed it by 'Port 443'. This port is used by 'https' so it will not be closed in the proxy. Switch over to the new port by restarting SSH.

sudo /etc/init.d/ssh restart

Share this:

CONVERSATION

0 comentarios:

Post a Comment