Howtos / Articles

Generate SSH Public and Private Keys on Linux

SSH allows for both password based authentication, as well as public key authentication. Public key authentication is generally regarded as being more secure, as it isn’t as prone to brute force login attempts (if you disable password based authentication). The private key can also have a passphrase associated with it, which makes public key authentication even more secure if needed. Sometimes cloud servers will let you put a public key in as a authorized authentication key when the cloud server…

Read more [...]

adding persistent static routes on centos

When you need to access networks located on a different network segment, you need to have a route set up so the PC knows how to get to the other network segment. This generally just points to your main gateway, but you may want to set up additional static routes, where you don’t want the traffic going through your main default gateway. To set up a static route on CentOS so that it automatically gets created every time the PC…

Read more [...]

Combine several mount points into a single virtual one using mhddfs

The MHDDFS package (known as the Multi-hdd FUSE filesystem) provides a method of joining a number of filesystems, of varying size, to appear as one large volume. The benefit of using this over something like lvm, is that if one of the hard drives dies, you only loose the data on that specific hard drive. The remaining drives will remain usable. Mhddfs will automatically select which disk to write files to, based on the free space on the source drives.…

Read more [...]

Format partition with the ext4 file system

The ext4 filesystem is known as the forth extended filesystem, and is the default file system on many Linux distributions. To Format a partition with the ext4 filesystem run the following command: $ sudo mkfs.ext4 /dev/sdc1 Replace sdc1 with the relevent disk and partition that you want to format. In this example, the disk is /dev/sdc, and its the first partition on that disk. Make sure you get the drive and partition correct or you may wipe something that you…

Read more [...]

Enable SSH on Vyatta / vRouter / VyOS

One of the first things you will probably want to do when setting up a new Vyatta / vRouter / VyOS install, is to enable SSH so you can configure it from your desk. The secure shell (SSH) service allows you to securely administer the device from a remote location on the network. These steps below outline how to enable SSH. Enter configuration mode $ configure Enable the SSH service # set service ssh Commit the changes # commit Save…

Read more [...]



Page 2 of 4212345678910...2030...Last »