Assuming you’re using a Debian or Ubuntu based Linux.
While the SSH daemon is secure enough for most people, some may wish to further enhance their security by changing certain sshd settings. As there are tools out there (such as the ones found in Backtrack and ArchPwn Linux) that can attempt to guess your password, either doing damage by succeeding or starting a DoS attack (bombard your server so much that it stops doing its job as it becomes overwhelmed) All changes, unless otherwise stated, are made in the /etc/ssh/sshd_config file. Lines with a pound sign (#) are commented and not read.
To edit this file from a terminal:
sudo nano /etc/ssh/sshd_config
Please remember, after making any changes, sshd must be restarted, which can be done from the terminal with this command:
sudo /etc/init.d/ssh restart
Continue reading “Safer SSH…”
VNC is the method we can use to remotely control our Ubuntu computer (now also an SSH server) [see SSH Basics & Server Setup]. In the administration section of the Ubuntu computer you will find a GUI to help set up your VNC over your local network (ticking boxes and assigning a password).
Once you have that set up, you can then VNC to your server (now a SSH/VNC Server & Ubuntu Desktop) with a program such as Tight VNC on windows or Mac’s built in VNC client, simply point your program (VNC Client) to your Servers internal IP address (assuming your on the same network, 192.168.1.??) and choose the port number (a hole in your computers firewall to let data through) for example I would point my VNC client to 192.168.1.67:5900 as port 5900 is the default VNC port.
Continue reading “SSH & VNC…”
Have just managed to get to grips with ssh! (openssh-server & openssh-client) Now from my point of view I’m planning to set up a Ubuntu Desktop (Linux Mint) with SSH so we can VNC/FTP to it over the internet safely.
SSH allows you to set up a safe tunnel between two computers then pump pretty much anything you wan though it, whether that be files or services such as VNC. To use SSH you need a SSH Server on the computer you would like to connect to (im my case the ubuntu) and a SSH client on the computer you wish to connect from; iPhone, iPad, Windows, Mac, Linux etc.
Next, how to install and use SSH.
Continue reading “SSH Basics & Server Setup…”