LinuxNepal

Search
Skip to content
  • Bash Shell

Daily Archives: March 5, 2011

Setting up public key authentication over SSH

March 5, 2011 admin Leave a comment

Generate key on local machine
ssh-keygen -t rsa

It will ask you for a password but you can leave it blank.

Note you could also pick -t dsa if you prefer.

Ensure that the remote server has a .ssh directory
Continue reading Setting up public key authentication over SSH →

Adding Swap File under Linux

March 5, 2011 admin Leave a comment

If you are adding more memory on your dedicated server, you will need to add more swap space. You have two choices: add or upgrade a swap partition or create a swap file. Because changing the size or create a new swap partition is not easy, the best solution is to create a new swap file. Since the 2.6 Linux kernel, the swap files are just as fast as swap partitions.
Continue reading Adding Swap File under Linux →

The only Linux site of Nepal

Calendar

March 2011
M T W T F S S
« Jan   May »
 123456
78910111213
14151617181920
21222324252627
28293031  

Tutorials

  • Bash Shell
Proudly powered by WordPress