=========================
== Eduardo Robles Site ==
=========================
Hola Mundo 🌮

SSH Config File - Make SSH Easier

How do you stay organized with SSH connections? Most of us simply search our terminals history to find SSH connections. You may do history | grep "ssh" or even Ctrl+R and search SSH. While that may work for a few connections, there is a better way: SSH Config file. An SSH Config file simply tells OpenSSH how to open up connections. The benefit is that you can keep all your connections all in one place. Read more...

SSH on Extreme and Cisco Devices

Enable SSH on Extreme Devices A key will be generated. To upload a public key simply use sftp or scp to upload key. But be sure to change the extension to .ssh for example id_rsa.pub will be id_rsa.ssh on the switch. Also you can assign a key to a user by simply appending the username to the key file for example admin.id_rsa.pub. Extreme switches have a limitation of only being able to use RSA or DSA keys. Read more...

Adding SSH Key To Agent

Check if SSH Agent is running This is to add the keys to the SSH Agent eval "$(ssh-agent -s)" Add the Keys to SSH Agent ssh-add ~/.ssh/nameofkey Verify Keys Added to SSH Agent ssh-add -l Copy Key to Remote Server ssh-copy-id [email protected] Copy Server Key to Host ssh-copy-id [email protected]

Create SSH Key

Creating an SSH key is very easy. Below is an example of how to generate an SSH key with the ssh-keygen command. Create SSH Key ssh-keygen -t ed25519 -f ~/.ssh/nameofkey -N '' -C "comment goes here" ssh-keygen -t rsa -f ~/.ssh/nameofkey -N '' -C "comment goes here" -t option is for the type of keys to be created (ex. ed25519) -f option is the filename and location of the keys (ex. Read more...

256 Color In SSH Sessions

I found myself going a bit crazy over theme rendering in my SSH sessions. Especially when I wanted to use emacs -nw in an SSH session. Recently I’ve been using GNU Screen as my terminal multiplexer and it comes with 256 color support. But you need to set it up and thanks to the Arch Wiki it’s rather easy. All you have to do is put term xterm-256color somewhere in your . Read more...

Using GNU Screen

The Problem So it all started with a simple problem. How to I connect to the console port on my Extreme Summit X440 switch? Luckily in the past I remembered that I could use minicom. It a great application to connect to console sessions. I used it way back in the day to connect to Cisco switches. If it wasn’t for the fact that I had use an actual Cisco switch for a class I would have totally forgotten about it. Read more...

Accessing my homelab with Cloudflare

Cloudflare Access for my Homelab I decided to use Cloudflare to setup a Secure Web Gateway and establish some Zero Trust access for my homelab services. Cloudflare offers a great service called “Cloudflare Access”. Basically it leverages Cloudflare’s edge network to create secure web routing. Setting up this service is just a matter of running a simple daemon. Once configured you setup Cloudflare DNS to route traffic. Let’s discuss how I setup Cloudflare Access. Read more...

Starting a Homelab with Proxmox

The Beginning So if you hadn’t heard of the idea of a “homelab”, let me give you the quick run down of what is a “homelab”. Basically, a homelab is a collection of technologies (hardware and software) that you install, maintain, and configure in your home. Imagine a datacenter in your home or an electronics lab can also be a homelab. At the heart of the homelab movement is the idea of tinkering and learning. Read more...

Installation of Fog Project 1.5.8

Hi there! Follow along with me in this video as I install Fog Server. To learn more about Fog Project check out there website https://fogproject.org/. The installation is done with a simple script that you download from the project website. For this example I used Cent OS which you can get at the website here https://centos.org. You can use a Debian based OS as well but I chose Cent OS. Read more...

SSH Port Forward a VNC Connection

Recently I wanted to access a Virtual Machine I had created on my desktop from my laptop. I had access to the desktop via SSH but I wanted access to the virtual machine. To make things more interesting I wanted to access the VM(virtual machine) via a graphical interface. So I figured out that I could use SSH to “port forward” the VNC connection from the desktop to my laptop. It’s actually very easy and only requires a few basic SSH commands. Read more...
1 of 3 Next Page