Tag: Linux

Remote Login Linux

Remote login with GUI in Linux – VNC

Hey there! How’s it going? Today what we are going to do is remotely connect to a linux machine with a GUI. Better than ssh right? For that we’ll be using VNC.

So VNC?

Virtual Network Computing (VNC). VNC is a graphical desktop sharing system. It uses Remote Frame Buffer protocol (RFB) protocol for the communication. If you are curious about the operation,

“The VNC server is the program on the machine that shares its screen. The server passively allows the client to take control of it. The VNC client (or viewer) is the program that watches, controls, and interacts with the server. The client controls the server.” – Wikipedia

We are using x11vnc as the VNC tool. Package: x11vnc, VNC server to allow remote access to an existing X session. Below is the simplest way to get the job done. Let’s dive in. SSH should be configured before hand.
– Read More –

Soap Request Curl Linux

Let’s make a SOAP request from command line(curl)?

Hellow there folks! These days most of the web services are exposed as REST or SOAP. There could be a chance where you need to make a request from your command line rather than installing a tool such SOAPUI. Tools are really helpful but there are times where you can’t use tools. I’ll be using curl to make the request. if you don’t know about curl it can transfer data using various protocols. If you don’t have curl installed use the below command.

 

SOAP Request Flow

SOAP request

Image Courtesy : java-forums.org

– Read More –

How to SSH without a password

What’s SSH & SSH Keys

SSH A.K.A Secure Shell is used to make remote connections between computers to execute commands. A username and password is used for the authentication purpose when establishing the connection. If you have a very strong password, it’s almost 100% secure to use SSH since the data transmission is encrypted. But are you comfortable with typing the lengthy password every time you want to SSH? Also every time you type your password, you are sending your password over the network. So anyone who is eavesdropping on your connection will be able to intercept and crack your password. But if you switch to SSH keys you haven’t got anything to worry because your password is never transmitted over the network. Check out image below to get a vivid idea about the concept. So let’s get down to business(happy-face).

SSH Tunneling

Image Courtesy : addictivetips.com

– Read More –

Introduction to VIM editor : Tutorial in VIM editor

Hi there Linux people! Today we are going to talk about the VIM editor. The VIM is a text-editor but not just a text-editor when you get to know it. The VIM editor is Based on the vi editor common to Unix-like systems. The VIM editor is a more feature rich extension of the VI editor. Best part is that the VIM editor is free. In other words the VIM editor is open source. Since the VIM editor is a cross platform application, It does not matter whether If you are a linux user, a mac user or even windows user you will find the VIM editor really helpful in your day to day work. I don’t want to beat around the bush let’s get to it(happy-face).

Installation

Most of the unix-like systems contain VIM editor. But unfortunately if you haven’t got it, use the below command to get the VIM editor. You might need sudo for the below command.

Yeah it’s simple as that. Let’s move on to the basics.

– Read More –

Unix(Linux,Mac) Screen Command

Hey techies! How’s it going? I couldn’t share a blog post on unix for a while. So I thought of writing one for you guys and you are going to love it(wink-face). Do you know what we are going to talk about? Today we are going to talk about “Screen“(excited-face). The screen command works on both unix based operating systems such as linux, mac. Brace yourself mac/linux lovers. It’s a very useful command. I’m sure once you learn it, you are gonna use it everyday. We’ll start with the basics. Then we’ll dive into some command line examples as well. Are you ready? here we go(happy-face). – Read More –

Newer Posts