Encrypt Sessions with SSH

Refer: LifeHacker

Ubuntu 8.10
sudo apt-get install ssh

Stop the server
sudo /etc/init.d/ssh stop

Start the server
sudo /etc/init.d/ssh start

Restart the server
sudo /etc/init.d/ssh restart

You probably want to change security for users allowed SSH login and disable root from SSH login

Edit this file:
vi /etc/ssh/sshd_config

Un-comment the following line:
PermitRootLogin no

Now restart the SSH server
/etc/init.d/sshd restart

SSH with Public Key

Refer: Cyberciti

Idea: Install Ubuntu in Virtual PC hang outside firewall and use for SSH uninstall samba and perhaps a whole bunch of other stuff too.

Use GuardDog to install a firewall, and lockdown everything except SSH. Tested inside proxy, and it was necessary to enable Internet, HTTP, HTTPS and also Network, Windows Networking (NETBIOS). This seemed to do a good job of locking down pretty much everything.

Leave a Reply