Posts Tagged ‘key’

ssh copy key

August 30th, 2011 No comments

You can login to a remote Linux server without entering password in 3 simple steps using ssky-keygen and ssh-copy-id as explained in this article.
The magical 3 commands are:
ssh-keygen -t rsa
ssh-copy-id -i ~/.ssh/ remote-host
ssh remote-hostls /tmp

Read more…

Categories: HowTo, Linux Tags: , , , , ,


November 14th, 2008 5 comments




Problem with Nagios check_by_ssh plugin is that it requires also the nagios-plugins to be installed on the client server. At least part of the nagios-plugins, because in the end all we need is to perform the local checks using ssh remote cmds.
So I put in a file nagiosclient.tar with the check scripts including some perl.The focus hereis to check Disk,Memory,Cpu of Linux remote servers. Without using SNMP, NRPE just plain SSH. I think its a great solution mainly because NRPE is a pain to install in Linux, in Windows its quite easy and I always try to use it combined with SNMP. SNMP is nice but its limited in what it can monitor, and sometimes it can get really messy. So lets start configuring SSH.

Read more…