0
1
I scp and ssh a zillion times a day, and because of our corporate policy I can't get rid of /etc/issue or /etc/motd on the destination machines. So whereas I just want to see the results of my scp or ssh, all I ever end up seeing is thousands of copies of the motd. .hushlogin doesn't seem to be honored. Any other ideas on how to get rid of the message display? Is there some sshd config setting I don't know about (though I probably couldn't change that either)? Is there some curiously sunos/solaris specific way to achieve the goal?
Do you know if this is displayed using 'Banner /etc/issue' in sshd_config? This text may be displayed using different components of of the login process: 'Banner' is displayed by SSHD, /etc/motd is displayed after you login, /etc/issue is displayed by ...something else. If we know this, then we might be able to help you better. – Stefan Lasiewski – 2010-06-10T17:38:56.180