Why should we deamonise a process in Linux?

  08/02/19 18:24, by , Categories: Uncategorized, Linux
Why should we deamonise a process in Linux?

I have never questioned daemonising a Linux program that is a service and has no console UI.

I have just done that as I usually do however now the question has been asked ...

Full story »

Leave a comment »

SSH to a server running on a non-standard port or different username

  08/02/19 18:23, by , Categories: Linux
SSH to a server running on a non-standard port or different username

Usually to SSH into a server we use the following command ...

ssh [hostname]

And then we log into the server.

However when the server isn't running on the default TCP port (22) or when our local username isn't the same as our account on the remote server we have to do something like this ...

ssh [username]@[hostname] -p [port]

If we regularly log-in to this server from the same machine there is a way to just use the 1st way even though the username and port is different.

Full story »

Leave a comment »

Linux Memory Technology Device mounting by label

  08/02/19 18:23, by , Categories: Uncategorized, Linux embedded
Linux Memory Technology Device mounting by label

Linux filesystems are usually configured by the /etc/fstab file.

Instead of mounting by block device name (eg. /dev/sda1) and having to remember which partition is which, we can also mount by Label name.

This is easy on a SATA hard-disk or even a USB memory-stick. But how does this work for a Memory Technology Device, like a NOR flash for example?

Full story »

Leave a comment »

Access a Linux host behind a firewall and / or NAT with reverse SSH

  08/02/19 18:20, by , Categories: Linux
Access a Linux host behind a firewall and / or NAT with reverse SSH

I have saved many hours of my own time and my colleagues time by having a tunnel to a host on a network we normally cannot connect remotely to.
No need for a VPN here, and as explained by this post if done right it is just as secure as a secure VPN.

https://hobo.house/2016/06/20/fun-and-profit-with-reverse-ssh-tunnels-and-autossh/

Leave a comment »
August 2019
Mon Tue Wed Thu Fri Sat Sun
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
 << <   > >>

Search

Random photo

Why should we deamonise a process in Linux?

  XML Feeds

Website builder
 

This collection ©2019 by Simon Gaynor

Contact | Help | Blog theme by Asevo | Photo gallery software