How to login another machine without password OR How to setup passwordless SSH login in Linux

On Local Machine, from where you will try to login another machine, we need to use ssh-keygen to create ssh public/private keys. ssh-keygen generates, manages and converts authentication keys for ssh. $ ssh-keygen Generating public/private rsa key pair.Enter file in which to save the key (/home/devbee/.ssh/id_rsa):Enter passphrase (empty for no passphrase):Enter same passphrase again:Your identification … Read more

How to mount remote directory / filesystem over ssh using sshfs for Ubuntu / Linux

$ sudo apt-get install sshfs check what is the current user and add this user to sshfs $ whoami $ sudo adduser my_username fuse Now make the local directory for mounting the remote folder as, $ mkdir my_localdirectory Mount the remote directory, using sshfs as, $ sshfs remote_username@remote_host_ip_or_domainname:/remote_direcory_path/remote_direcory my_localdirectory_path/my_localdirectory Now, we have mounted remote directory … Read more

How to encrypt directory / folder in Linux using Encfs – Ubuntu 16.04 ?

EncFS creates a virtual encrypted filesystem which stores encrypted data in the rootdir directory andmakes the unencrypted data visible at the mountPoint directory. The user must supply a password which isused to (indirectly) encrypt both filenames and file contents. $ sudo apt install encfs $ mkdir encfs $ cd encfs $ mkdir encrypted-rootdir $ mkdir … Read more