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

Comments

Popular posts from this blog

Installing Firebird ODBC driver on Ubuntu

Installing OCI8 on Ubuntu

Batch file to connect to an FTP and put a file