ssh trick – ssh to remote host with bastion host

Lot of times, you have to ssh to a server with bastion host. If you dont know what is bastion host then see this:

bastion host

 

Now, in such cases, either you add an entry in “~/.ssh/config” to route the ssh through the bastion host or do ssh to bastion host and then ssh from there to the actual host. But wait, there is always a better way:

 

ssh -t <bastion host> ssh -t <actual host>

You can use the usernames as required for the 2 hosts and then you will have to enter passwords, first for the bastion host and then the actual host.

BTW, you can use tunneling options as well with the above command.

terminal.sexy for URxvt

Sometime back I posted about terminal.sexy &#8211; make your teminal sexy. I personally use URxvt terminal and hence need the xrdb files to apply the theme. It’s pain to go to the website everytime I want to change my theme and hence I wrote a python script that can use the github repo and convert the files to xrdb files. Here is the link to the script:
terminal.sexy script for xrdb

Color schemes for your terminal

Color Scheme for Gnome Terminal and Pantheon Terminal – here is the github page

https://github.com/Mayccoll/Gogh/