>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
Author: sandipransing
Web Developer #ruby #rails #JS
Using hoptoad notifier as gem in rails 2.3
># in config/environment.rbconfig.gem 'hoptoad_notifier'# from your Rails root:$ rake gems:install$ rake gems:unpack GEM=hoptoad_notifier$ script/generate hoptoad --api-key your_key_here
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)
