HPE Storage Users Group

A Storage Administrator Community




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Is there any non-interactive way to set the ssh banner?
PostPosted: Tue Feb 26, 2019 8:23 pm 

Joined: Mon Nov 06, 2017 12:53 pm
Posts: 13
Pretty much the topic. The setsshbanner command is well intentioned, but the implementation is really kinda half-baked.

I am working to deploy our entire 3par configuration using ansible. Our security division requires all SSH devices to provide an ssh banner message.

The problem is, the setsshbanner command only seems to run in interactive mode.

Is there any secret way to NOT have to hit enter 3 times to set the ssh banner?

WSAPI doesn't seem to provide any options, and I can't find anything else for CLI.


Top
 Profile  
Reply with quote  
 Post subject: Re: Is there any non-interactive way to set the ssh banner?
PostPosted: Wed Feb 27, 2019 5:51 pm 
User avatar

Joined: Wed Feb 17, 2016 8:46 pm
Posts: 16
I would script it with expect ...

_________________
3 x 3PAR 7200 / OS 3.2.1


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


Who is online

Users browsing this forum: No registered users and 38 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group | DVGFX2 by: Matt