Auto login remote server by copying ssh public key to authorized keys

>While working on remote machine we often get headache of entering password for ssh login, scp files from one server to another server. Adding public key as authorized_keys on remote server solves this problem. Copying from my system to remote server cat ~/.ssh/id_rsa.pub | ssh sandip@server 'cat >> ~/.ssh/authorized_keys'Copying from remote server to my system … Continue reading Auto login remote server by copying ssh public key to authorized keys

Installing and running cronjob (crontab basics)

>Basic commands to open/Edit crontab fileEditing crontab filecrontab -eDisplaying crontab filecrontab -lRemove crontabcrontab -rcrontab syntaxcron command basically takes 6 input parameters of which each input can take multiple argumentsfor that one can make use of comma or pipe separator# min hour dom mon dow command* * * * * (command)Here * means for every. Above … Continue reading Installing and running cronjob (crontab basics)