SSH Public Key Based Authentication on a Linux/Unix server

Posted on in Categories CentOS, Debian Linux, FreeBSD, Gentoo Linux, Howto, Linux, Linux desktop, Linux laptop, OpenBSD, RedHat/Fedora Linux, Solaris, Suse Linux, Sys admin, Tips, Ubuntu Linux, UNIX last updated January 3, 2018

The SSH protocol recommended a method for remote login and remote file transfer which provides confidentiality and security for data exchanged between two server systems. The SSH depends upon the use of public key cryptography. The OpenSSH server offers this kind of setup under Linux or Unix-like system. This how-to covers generating and using ssh public keys for automated usage such as:

  1. Automated Login using the shell scripts
  2. Making backups
  3. Run commands from the shell prompt and more
  4. Login without password

How to configure cisco router using linux for (COM port) configuration

Posted on in Categories Hardware, Howto, Linux last updated May 2, 2004

If you would like to configure Cisco router using Linux or FreeBSD (connected to a local COM port). Use the following instruction to configure device:

1) Connect cisco router to com port using serial cable

2) Use program like minicom (type minicom at a shell prompt)
$ minicom

3) Select the port, speed and /dev/ttyS0 as com1 port and save configuration as dfl. Next select Exit

4) Continue with your router configuration…

5) For more information on minicom read man page here

6) Other links:

* Cisco Router Configuration Tutorial
* Accessing a Cisco Router using FreeBSD (command also works with linux)