Most Unix flavors I've ever seen allow you to create a ".hushlogin" file in 
that particular user's home directory to suppress printing of the motd for that 
particular user at login time.

touch ~/.hushlogin

for that user and that user will never see the motd.

Mark


-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Nelson Serafica
Sent: Wed 1/31/2007 2:26 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] How to bypass motd in check_by_ssh
 
HI to all,

Is there a way I can bypass motd of ssh? I cannot execute plugins if there's a 
motd in my ssh. However, when I disable it, I can execute the plugins. But the 
thing is, I do not want to disable  mthe motd in the server. I tried the option 
"-S 500" in check_by_ssh but still problem occurs. Please help
  



 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to