SSH is an encrypted CLI protocol, much like telnet, except encrypted.

Port forward Edit

You can forward a port on an SSH client through an SSH connection:

ssh -L 1234:localhost:5678 username@host

Here it forwards port 1234 on the client to port 5678 to "localhost" from the SSH server. This means that you could replace localhost with anything the SSH server can reach and effectively forward to anything on the SSH servers network.

SSH key Edit

For details see the SSH Key Authentication article.

Generate Edit


Transfer Edit

cat ~/.ssh/ | ssh $HOST "cat >> ~/.ssh/authorized_keys"

Server port Edit

You can change the server port by changing the 22 in /etc/ssh/sshd_config on the line that says:

Port 22

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.