<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 10/20/2010 5:24 PM, Tom H wrote:
    <blockquote
      cite="mid:AANLkTimVmiQehu6-bWUTBYWnK+ZyiWn0YA5t__6en6eC@mail.gmail.com"
      type="cite">
      <pre wrap="">On Wed, Oct 20, 2010 at 7:55 PM, Bill <a class="moz-txt-link-rfc2396E" href="mailto:beau@billbeau.net"><beau@billbeau.net></a> wrote:
</pre>
      <blockquote type="cite">
        <pre wrap=""> On 10/20/2010 3:29 PM, Peng Yu wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">
I always see the following banner when I log in to a linux machine. I
find the following webpage. I'm wondering what is the best way to
remove the banner.

<a class="moz-txt-link-freetext" href="http://www.howtogeek.com/howto/ubuntu/change-ssh-welcome-banner-on-ubuntu/">http://www.howtogeek.com/howto/ubuntu/change-ssh-welcome-banner-on-ubuntu/</a>

Linux xxx 2.6.24-27-xen #1 SMP Mon Feb 22 20:10:13 UTC 2010 x86_64

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

To access official Ubuntu documentation, please visit:
<a class="moz-txt-link-freetext" href="http://help.ubuntu.com/">http://help.ubuntu.com/</a>


</pre>
        </blockquote>
        <pre wrap="">Just follow the directions you see on that page. I use VI to edit files.
</pre>
      </blockquote>
      <pre wrap="">
The "/etc/motd" advice is old.
</pre>
    </blockquote>
    That may be but it still works and is easy to do.<br>
    <br>
    just do the following<br>
    <br>
    <i>sudo vi /etc/motd<br>
      <br>
    </i>enter your password.<br>
    <br>
    type <i>dd </i>to remove each line of text you want deleted.<br>
    <br>
    to save and close your file type <i>:wq</i><br>
    <br>
    Make sure you include the colon.<br>
    <br>
    Pretty darn easy!<br>
  </body>
</html>