Getting rid of return message in ssh

Jai Rangi jprangi at aleks.com
Sat Nov 12 23:44:30 UTC 2005


is it also possible to ignore/disable the registry of key, so that you 
dont have to type "yes" for every new host you log on. And have to 
modify the key if the machine is reinstalled..
Thanks
-Jai


Mike Ault wrote:

>Thanks!
>
>-----Original Message-----
>From: redhat-list-bounces at redhat.com [mailto:redhat-list-bounces at redhat.com]
>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 at ault.cc> 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 at redhat.com?subject=unsubscribe
>>https://www.redhat.com/mailman/listinfo/redhat-list
>>
>>    
>>




More information about the redhat-list mailing list