Posted On April 1, 2019

Backup and Restore Prerequisites

kimconnect 0 comments
blog.KimConnect.com >> Linux >> Backup and Restore Prerequisites
1. Remote machine is Centos and Local machine is Windows, install Cygwin (including “Admin,” “Base,” “Devel,” and “Net”)
2.  Create SSH key
#local machine$  ssh-keygen -t dsa
#remote machine$ ssh-keygen -t dsa
#remote machine$ vim ~/.ssh/authorized_keys
run as root, and enter the copied key from C:\cygwin\home\[username]\.ssh\id_rsa.pub
Edit /etc/ssh/sshd_config and uncomment:
RSAAuthentication yes
PubkeyAuthentication yes3.

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

How to Upgrade Kubernetes Ingress Nginx Deployed via Helm

# How to upgrade ingress-nginx: helm upgrade --reuse-values ingress-nginx ingress-nginx/ingress-nginx -n ingress-nginx # Sample output of a failure scenario: brucelee@k8-controller:~$ helm…

Linux User and Group General Operations

# Add new useruseradd tomcruise# Create new groupgroupadd webadmins# Add user to groupusermod -a -G…

mysqldump & gunzip

Create SQL Dump: # Higher compression if bzip2 is installed on the system # mysqldump…