How to disable banner displayed on ssh connect


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting How to disable banner displayed on ssh connect
# 1  
Old 07-11-2009
How to disable banner displayed on ssh connect

Is there away to disable a banner/motd when connecting to a server via ssh? The reason I want to do this is that I have a script that issues multiple SSH connection to remote machines so as to invoke a script on the remote machine. The script runs fine on the remote machine its just that I always get the banner back as stderr which is makes automation to detect a failure a bit more complicated. Anyone have any thoughts?
# 2  
Old 07-12-2009
Unless you can delete the /etc/motd and /etc/issue* files on the remote machines, there is no way that I know of to do what you want to do.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Ssh login with random qoute banner

I'll be honest here The one and only time I have done LDAP user and login configuration was for my RHCSA exam, and that was many years ago I have this interview coming up (for a linux admin position role), and while the other questions I have no problem answering I am stuck with this (image... (5 Replies)
Discussion started by: hedkandi
5 Replies

2. UNIX for Beginners Questions & Answers

How to disable ssh on server

This is the very simple and easy to understand. How to Disable SSH Logins on a Linux Box? Hello and Welcome to The UNIX and Linux Forums! DO NOT hijack others' threads; create a new one with a meaningful and adequate title. Please read the our FAQ on how to post new threads in the... (1 Reply)
Discussion started by: Bhargavice
1 Replies

3. UNIX for Advanced & Expert Users

Ssh disable strict checking

What are the different ways to disable ssh strict checking? I've seen this mentioned a few times but it doesn't seem to be working. $ ssh -o 'StrictHostKeyChecking no' admin@hostnamehttp://docs.oracle.com/cd/E35328_01/E35336/html/vmcli-ssh.html Is there a file somewhere in /etc that I could... (4 Replies)
Discussion started by: cokedude
4 Replies

4. Cybersecurity

Disable SSH 1.99 version?

Hello. My security audit reconise SSH 1.99 protocol version allowed. But in my sshd_config config is only: SSH version: How can I disable support for ssh protocol 1.99 version? (1 Reply)
Discussion started by: jabalv
1 Replies

5. Solaris

don't want banner displayed when using scp

:wall: Is there a way to prevent the banner from displaying from the remote host when using scp? I see from the man pages that the '-o' option passes args to ssh and I've tried several variations of: scp -o "-q" file remotehost: Anybody got this to work? Thanks in Advance (3 Replies)
Discussion started by: bluescreen
3 Replies

6. UNIX for Dummies Questions & Answers

How to disable root login (Not over SSH)?

I have already disabled root login over the ssh by modifying /etc/ssh/sshd_config. But how would i disable root login on a server itself. We have implemented LDAP in our environment and our security guide states that root login must be obtained by first logging into the host using his/her own... (2 Replies)
Discussion started by: pinga123
2 Replies

7. AIX

Disable Banner Printing AIX ?

Can someone help me disable the banner printing in AIX 6 I am using HPjetDirect Drivers. SO whenever i print anything from Oracle application, a banner is printed. like the one below ######### User: alices@hostname ##### Title: /etc/release ##### Date: Fri 17:23 Mar 27, 2009 ##### ... (2 Replies)
Discussion started by: filosophizer
2 Replies

8. Solaris

SSH enable, Telnet disable ...

Hi... How do I enable SSH and disable telnet.. Also - is there anything special I need to do to ensure that a new user can use ssh and su but not telnet? Adel (15 Replies)
Discussion started by: ArabOracle.com
15 Replies

9. Shell Programming and Scripting

Disable SSH key authentication

Hello Guys, I need your help. I am trying to create a script to change password for multipls servers but having problem when it comes to ssh key authentication. Does anyone have a sample script that will disable ssh key authentication for multiple servers?;) (3 Replies)
Discussion started by: youdexter
3 Replies

10. UNIX for Dummies Questions & Answers

Disable SSH w/ OS X Terminal

I want to shut down SSH, yet I'm unable to. Last login: Sun Dec 14 17:59:36 on console ryans-imac-2:~ Ryan$ service ssh stop service: failed to stop the 'ssh' service ryans-imac-2:~ Ryan$ Please advise. Thanks. (2 Replies)
Discussion started by: pianoman1976
2 Replies
Login or Register to Ask a Question