Remote Host Accessibility

How to check port on remote host is accessible

Synopsis

This post shows how to validate remote host is accessible.

Motivation

There are many solutions out there on how to check that port on a remote host is accessible. But we needed a solution that would not hang up.

Checking …

more ...

SSH Pipe with Python's Subprocess and Multiprocessing

How to pass objects to remote system using SSH and Multiprocessing

Synopsis

Previous post on this subject used os.fork and os.pipe to issue SSH in a child process. Instead, this post uses multiprocessing Process and Pipe to make it more platform agnostic. Per audience request, this post will …

more ...

SSH Pipe with Python's Subprocess

How to pass objects to remote system using SSH

Synopsis

This post shows how to create pipe channel over SSH. In particular, it demonstrates how to instantiate pipeline channel over SSH. We use this channel to pass an object to a remote system. This post shows two methods. One using …

more ...

Python Lex and Yacc with PLY

Grammer Reusability

Synopsis

In many cases, grammar is used in a singular scope of actions. That is, any sentence in the grammar yields distinct action. In some cases, we want to produce different outcomes in different compiling passes of the same text. This post focuses on how to use Python …

more ...