HPE Storage Users Group
https://3parug.net/

Is there any non-interactive way to set the ssh banner?
https://3parug.net/viewtopic.php?f=18&t=3110
Page 1 of 1

Author:  msarro [ Tue Feb 26, 2019 8:23 pm ]
Post subject:  Is there any non-interactive way to set the ssh banner?

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.

Author:  dominix [ Wed Feb 27, 2019 5:51 pm ]
Post subject:  Re: Is there any non-interactive way to set the ssh banner?

I would script it with expect ...

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/