RE: Getting rid of return message in ssh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks!

-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx]
On Behalf Of Rhugga Harper
Sent: Friday, November 11, 2005 6:35 PM
To: General Red Hat Linux discussion list
Subject: Re: Getting rid of return message in ssh

In your sshd_config file on the target system, set these as follows:

PrintMotd no
PrintLastLog no

As a sidenote, there are ways to do what you want to do w/o changing these
options. (I prefer to have PrintLastLog enabled)

I use perl and the Net::SSH:Perl module to monitor my systems, and this
module gives you flexibility on how you handle stdout, stdin, exit status.
There are raw modes where you can read/write directly to the sshd socket
connection.

-rhugga


On 11/11/05, Mike Ault <mike@xxxxxxx> wrote:
>
> Hi All,
>
>
>
> I need to be able to go from one host to another via ssh and not get back
> any message other than the prompt for the second machine. If I get back
> anything at all the process I am trying to run will fail. How do I turn
> off
> the cute little "Last Login" message? I already have it transparent as far
> as passwords, just need to get rid of this last bit and I am ready!
>
>
>
> Mike
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
-- 
redhat-list mailing list
unsubscribe
mailto:redhat-list-request@xxxxxxxxxx?subjecthttps://www.redhat.com/mailman/
listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux